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
| diff --git a/lib/rvm/shell/shell_wrapper.sh b/lib/rvm/shell/shell_wrapper.sh | |
| index dd7fb06..6e90d47 100644 | |
| --- a/lib/rvm/shell/shell_wrapper.sh | |
| +++ b/lib/rvm/shell/shell_wrapper.sh | |
| @@ -2,12 +2,10 @@ | |
| __rvm_show_command_epilog() { | |
| local last_command_result="$?" | |
| echo "---------------RVM-RESULTS-START---------------" | |
| - echo "---" | |
| - echo " exit_status: \"$last_command_result\"" |
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 MailchimpDeliveryMethod | |
| attr_accessor :settings | |
| def initialize(values = {}) | |
| self.settings = {:track_opens => true, | |
| :track_clicks => true | |
| }.merge!(values) | |
| end | |
| def deliver!(mail) |
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
| { | |
| "tags": [ | |
| "CDT", | |
| "language_en", | |
| "iPad", | |
| "country_US" | |
| ] | |
| } |
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
| So, on 10/13 I bought this theme on themeforest: | |
| http://themeforest.net/item/sparkling-landing-page-32-variations/204623?ref=An1ken | |
| I bought it because I wanted to customize the iPhone screen and app icon tags for our new app launch. The theme clearly states that layered PSD is included, but when I open the PSD all of the iPhone related work is flattened into one layer, so it's pretty much useless for my purposes. All I want is either a refund (and the language on the template page to be clarified) or the resources on multiple layers so I can do the work I intended. | |
| So I left a comment for the theme creator: |
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
| OFFER = 'We have an app available in the App Store! Download now?' | |
| ITUNES_URL = '<Your iTunes URL Here>' | |
| createCookie = (name,value,days) -> | |
| if days | |
| date = new Date() | |
| date.setTime(date.getTime() + (days * 24 * 60 * 60 * 365)) | |
| expires = '; expires=' + date.toGMTString() | |
| else | |
| expires = '' |
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
| require 'builder' | |
| builder = Builder::XmlMarkup.new | |
| xml = builder.transaction time: Time.now, merchant_code: 179001795 do |transaction| | |
| transaction.price '$27.50' | |
| transaction.billing do |billing| | |
| billing.name 'John Doe' | |
| billing.address1 '123 Any St' | |
| billing.country 'Mongolia' | |
| 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
| gem list | cut -d" " -f1 | xargs gem uninstall -aIx |
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
| http://upstre.am/blog/2011/07/sublime-text-2-with-rvm-on-osx/ | |
| It's even easier as rvm already ships with a wrapper located in ~/.rvm/bin/rvm-auto-ruby. So you just need to edit the Ruby.sublime-build to this: | |
| { "cmd": ["~/.rvm/bin/rvm-auto-ruby", "$file"], "file_regex": "^(...*?):([0-9]*):?([0-9]*)", "selector": "source.ruby"} |
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
| require 'yaml' | |
| require 'httparty' | |
| settings = YAML::load_file(File.dirname(File.expand_path(__FILE__)) + '/namecheap.yml') | |
| username = settings['namecheap']['user'] | |
| api_key = settings['namecheap']['api_key'] | |
| request_string = "https://api.namecheap.com/xml.response" |
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
| map \rs :RunSpec<cr> | |
| map \rsl :RunSpecLine<cr> | |
| map \t :CommandT<cr> | |
| set hidden | |
| let g:RspecBin="bundle exec rspec" | |
| inoremap <c-p> <esc>ka | |
| inoremap <c-n> <esc>ja | |
| inoremap <c-b> <esc>ha | |
| inoremap <c-f> <esc>la | |
| inoremap <c-a> <esc>0i |