- login to the aws console: https://flippa.signin.aws.amazon.com/console
- go to the ec2 section
- on the ec2 dashboard, click
instances - start by checking key apps, including proxy, rails, search, mfe and workers. Use this search terms to find the desired instances:
proxy-production-v1(proxy)marketplace-webapp-production-v3(flippa rails)search-production-v17(search)
frontend-marketplace-production-v10(marketplace frontend)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| parse_git_branch() { | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
| } | |
| export PS1="\[\033[94m\]\w\[\033[31m\]\$(parse_git_branch)\[\033[00m\] $ " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "data":{ | |
| "id":"1", | |
| "type":"anonymUserData", | |
| "attributes":{ | |
| "currentLocation":{ | |
| "id":1, | |
| "countryCode":null, | |
| "currency":"EUR", | |
| "legalJurisdiction":null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [114, 150, 156].map.with_index { |elem, ind| a.slice(0..ind) } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Dir.glob('/usr/local/lib/pry/gems/*').each do |p| | |
| $LOAD_PATH << File.join(p, 'lib') | |
| end | |
| require 'pry' | |
| require 'awesome_print' | |
| AwesomePrint.pry! | |
| if defined?(Rails) | |
| require 'pry-rails' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Merda | |
| def dar_merda | |
| raise 'deu merda' | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # color and syntax reference: | |
| # http://misc.flogisoft.com/bash/tip_colors_and_formatting | |
| if defined?(Rails) | |
| colors = HashWithIndifferentAccess.new({ | |
| development: 32, # green | |
| test: 33, # yellow | |
| production: 31 # red | |
| }) |