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
| 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
| # | |
| # 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
| socat -v UNIX-LISTEN:listener,fork UNIX:/var/run/docker.sock |
NewerOlder