-
Open your .oh-my-zsh file in Sublime:
subl ~/.oh-my-zsh
-
Find lib/aliases.zsh
-
Add aliases in the following manner:
alias [shortcut]='[what you would type into terminal]'
alias ohmyzsh='subl ~/.oh-my-zsh'
alias programs='cd ~/dropbox/programs'
Open your .oh-my-zsh file in Sublime: subl ~/.oh-my-zsh
Find lib/aliases.zsh
Add aliases in the following manner: alias [shortcut]='[what you would type into terminal]'
alias ohmyzsh='subl ~/.oh-my-zsh'
alias programs='cd ~/dropbox/programs'
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
actions: { | |
derp() { | |
console.log('ha'); | |
} | |
}); |
Goldman's list: | |
a sure {bet}|{thing} | |
adjust your account|losses|profits | |
against my expressed[?] wishes | |
answer {your}|{the} %ANY%[0\,3] phone |
module Helpers | |
module CompareJSON | |
def self.returning(value) | |
yield(value) | |
value | |
end | |
def self.order_and_sort_json(object, deep = true) | |
if object.is_a?(Hash) | |
# recursively sort the hash |
Taken and modified from: https://gist.github.com/joakimk/48ed80f1a7adb5f5ea27 | |
* line 4 and 13 of circle.yml reference a script/ci structure. Modify to suit. |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
http://pgexercises.com/questions/basic/selectall.html | |
http://pgexercises.com/questions/basic/selectspecific.html | |
http://pgexercises.com/questions/basic/where.html | |
http://pgexercises.com/questions/basic/where2.html | |
http://pgexercises.com/questions/basic/where3.html | |
http://pgexercises.com/questions/basic/where4.html |
--color |
class PigLatinTranslation | |
def initialize(phrase) | |
@phrase = phrase | |
end | |
#provide the pig latin translation | |
def translate | |
@words = words | |
@words.collect! do |word| | |
if starts_with_vowel?(word) |