I hereby claim:
- I am drbraden on github.
- I am dbraden (https://keybase.io/dbraden) on keybase.
- I have a public key ASDuvqLRRrVdhB-hNwksd2gvipRmuwobd7yk3MnQu1oXEAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| // Original gist from https://alisdair.mcdiarmid.org/kill-sticky-headers/ (thank you!) | |
| // My only addition is re-enabling scrolling since some sites disable it while | |
| // their pop-up is active. | |
| // Just copy the below and paste it at http://mrcoles.com/bookmarklet/ to | |
| // properly escape the string and create a convenient "this link" that can | |
| // be dragged to the bookmark bar. A more advanced version, also written | |
| // by Mr. Coles, is available on npm: npm -g install bookmarklet | |
| var i, elements = document.querySelectorAll('body *'); | |
| for (i = 0; i < elements.length; i++) { | 
| namespace :go do | |
| task :upload do | |
| on release_roles :all do | |
| upload! "#{repo_path}/#{fetch(:application)}", release_path | |
| end | |
| end | |
| task :build do | |
| run_locally do | |
| within repo_path do | 
| module LocalGitStrategy | |
| def test | |
| run_locally do | |
| test " [ -f #{repo_path}/.git/HEAD ] " | |
| end | |
| end | |
| def check | |
| run_locally do | |
| execute :git, :'ls-remote --heads', repo_url | 
| ## | |
| ## Email configuration. | |
| ## | |
| # IMAP Connection | |
| set imap_user = '[email protected]' | |
| set imap_pass = 'youwish' | |
| set spoolfile = 'imaps://imap.mail.me.com:993/INBOX' | |
| set folder = 'imaps://imap.gmail.com:993' | 
| {{-- Define all our servers --}} | |
| @servers(['staging' => '', 'production' => '']) | |
| @setup | |
| {{-- The timezone your servers run in --}} | |
| $timezone = 'Europe/Amsterdam'; | |
| {{-- The base path where your deployments are sitting --}} | |
| $path = '/var/www/site.com/htdocs'; | 
| Link to results: http://serverbear.com/benchmark/2015/08/05/8UqD6Mj04RlXNWOZ | |
| # # # # # # # ##### ###### # # #### # # | |
| # # ## # # # # # # # ## # # # # # | |
| # # # # # # ## ##### ##### # # # # ###### | |
| # # # # # # ## # # # # # # # # # | |
| # # # ## # # # # # # # ## # # # # | |
| #### # # # # # ##### ###### # # #### # # | |
| Version 5.1.3 Based on the Byte Magazine Unix Benchmark | 
| # Slightly modified version created by rdlugosz at https://github.com/atom/vim-mode/issues/334#issuecomment-85603175 | |
| #keymap.cson | |
| 'atom-text-editor.vim-mode.insert-mode': | |
| 'j': 'exit-insert-mode-if-preceded-by-j' | |
| #init.coffee | |
| atom.commands.add 'atom-text-editor', 'exit-insert-mode-if-preceded-by-j': (e) -> | |
| editor = @getModel() | |
| pos = editor.getCursorBufferPosition() | |
| range = [pos.traverse([0,-1]), pos] | 
| source: https://github.com/dokku-alt/dokku-alt/issues/234 | |
| This assumes a fresh install, so no data migration to complicate things. | |
| From a comment by ayufan on 4/6/2015: | |
| Ok. You have to add to /home/dokku/.dokkurc: | |
| export POSTGRESQL_IMAGE=ayufan/dokku-alt-postgresql:9.3 | 
| dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge |