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
| socat -v UNIX-LISTEN:listener,fork UNIX:/var/run/docker.sock |
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
| # | |
| # Method of upgrading bash on Debian 5.0, in order to fix | |
| # the vulnerability "shellshock", officially known as: | |
| # | |
| # CVE-2014-6271 | |
| # CVE-2014-7169 | |
| # | |
| # The credit for this belongs to user "cft" on Hacker News, | |
| # for upgrading Ubuntu 8.04: https://news.ycombinator.com/item?id=8371438 | |
| # |
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
| template = ERB.new(File.read('templates/UI/httpd.conf.erb')) | |
| result = template.result(binding) | |
| put(result, "/etc/httpd/httpd.conf") |
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
| # Built from a couple of comments at https://github.com/atom/vim-mode/issues/334 | |
| # In ~/.atom/init.coffee | |
| atom.workspaceView.command 'insert-incomplete-keybinding', (e)-> | |
| if oe = e.originalEvent && e.originalEvent.originalEvent | |
| char = String.fromCharCode(oe.which) | |
| char = char.toLowerCase() unless oe.shift | |
| atom.workspace.activePaneItem.insertText(char) | |
| # In ~/.atom/keymap.cson | |
| '.editor.vim-mode.insert-mode': |
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
| 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 |
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
| 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 |
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
| # 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] |
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
| Link to results: http://serverbear.com/benchmark/2015/08/05/8UqD6Mj04RlXNWOZ | |
| # # # # # # # ##### ###### # # #### # # | |
| # # ## # # # # # # # ## # # # # # | |
| # # # # # # ## ##### ##### # # # # ###### | |
| # # # # # # ## # # # # # # # # # | |
| # # # ## # # # # # # # ## # # # # | |
| #### # # # # # ##### ###### # # #### # # | |
| Version 5.1.3 Based on the Byte Magazine Unix Benchmark |
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
| {{-- 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'; |
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
| ## | |
| ## 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' |
OlderNewer