I hereby claim:
- I am jturmel on github.
- I am jturmel (https://keybase.io/jturmel) on keybase.
- I have a public key whose fingerprint is 3F77 9400 A4BA F1CB B6CA CE1B 5457 5787 8D28 A5EE
To claim this, I am signing this object:
| #!/bin/bash | |
| INSTALL_FOLDER=~/.macos-setup | |
| mkdir -p $INSTALL_FOLDER | |
| MACOS_SETUP_PROFILE=$INSTALL_FOLDER/macos-setup_profile | |
| # sudo rm -rf /Library/Developer/CommandLineTools | |
| sudo xcode-select --install | |
| if ! hash brew |
| { | |
| "definitions": { | |
| "accoladeBadge": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string" | |
| }, | |
| "parent": { | |
| "#ref": "#/definitions/badge" |
| pip install --no-index -f http://effbot.org/downloads/ -U PIL --trusted-host effbot.org |
| <html> | |
| <head> | |
| <style> | |
| div.foo { | |
| color: red; | |
| } | |
| div:not([id="bar"]) { | |
| color: green; | |
| } | |
| </style> |
I hereby claim:
To claim this, I am signing this object:
What does this do? Good question. What you will end up with is essentially Chrome OS and Ubuntu (with KDE) running side by side.
Hold down ESC + REFRESH + POWER, when it reboots hit CTRL + D, and ENTER to confirm.
(You will have to hit CTRL + D at ever boot when you see the scary dev mode OS screen.)
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
| git config --global alias.rebase-last-ten '!b="$(git branch --no-color | cut -c3-)" ; h="$(git rev-parse $b)" ; echo "Current branch: $b $h" ; c="$(git rev-parse $b~9)" ; echo "Recreating $b branch with initial commit $c ..." ; git checkout --orphan new-start $c ; git commit -C $c ; git rebase --onto new-start $c $b ; git branch -d new-start ; git gc' |
| # TODO: Explain what some of this does.. | |
| bindkey -e | |
| bindkey '\ew' kill-region | |
| bindkey -s '\el' "ls\n" | |
| bindkey '^r' history-incremental-search-backward | |
| bindkey "^[[5~" up-line-or-history | |
| bindkey "^[[6~" down-line-or-history | |
| # make search up and down work, so partially type and hit up/down to find relevant stuff |
| autoload up-line-or-beginning-search | |
| autoload down-line-or-beginning-search | |
| zle -N up-line-or-beginning-search | |
| zle -N down-line-or-beginning-search | |
| bindkey -v # set vim bindings | |
| #http://zshwiki.org/home/zle/bindkeys | |
| typeset -A key |