I hereby claim:
- I am aaronmoodie on github.
- I am aaronmoodie (https://keybase.io/aaronmoodie) on keybase.
- I have a public key whose fingerprint is 09BE 3685 A583 684F 5776 FB2B 88EE 7158 C521 01D2
To claim this, I am signing this object:
create_table "product", :force => true do |t| | |
t.string "name" | |
t.enum "type" # booklet, tutorial etc | |
end | |
create_table "physical_product", :force => true do |t| | |
t.integer "product_id" | |
# unique attrs | |
end |
> function Element() {} | |
undefined | |
> Element.prototype.render = function() {}; | |
[Function] | |
> var e = new Element(); | |
undefined | |
> e.render(); | |
undefined | |
> e.toString(); | |
'[object Object]' |
int main(int argc, const char * argv[]) | |
{ | |
int x = 0; | |
int *pointer_to_x = &x; // * is used to do declaration (use & to get the address of x in memory) | |
*pointer_to_x = 1; // * is a dereference operator | |
//x is now equal to 1 | |
printf("*pointer_to_x points to the value %i\n", *pointer_to_x); | |
printf("pointer_to_x is located at the address %p\n\n", pointer_to_x); |
<script> | |
var meta_tag = document.createElement('meta'); | |
meta_tag.setAttribute('name', 'last-modified') | |
meta_tag.setAttribute('content', document.lastModified) | |
document.getElementsByTagName('head')[0].appendChild(meta_tag) | |
</script> |
I hereby claim:
To claim this, I am signing this object:
$ git log #show commit history | |
$ git revert <hash> # reverts changes in that commit | |
$ git show <hash> | gist -t diff # create diff of commit and pipe to gist | |
$ git diff —staged # show diff of added (staged files) | |
$ git rebase -i # interactive rebase | |
$ git rebase —abort # undo a rebase | |
$ git cherrypick <hash> # moves a commit from one branch to another | |
$ git push origin <branch> # push review/branch to github | |
$ git commit —amend # add changes to the last commit | |
$ git stash show <stash name> # view changes in stash |