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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Your page title</title> | |
| <meta name="description" content="Your page description"> | |
| </head> | |
| <body> | |
| <!-- Put Embed Code Here --> | |
| </body> |
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
| map('P', 'cc'); | |
| map('gi', 'i'); | |
| map('F', 'gf'); | |
| map('gf', 'w'); | |
| map('`', '\''); | |
| // save default key `t` to temp key `>_t` | |
| map('>_t', 't'); | |
| // create a new key `t` for default key `on` | |
| map('t', 'on'); | |
| // create a new key `o` for saved temp key `>_t` |
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
| # 1) Create your private key (any password will do, we remove it below) | |
| $ cd ~/.ssh | |
| $ openssl genrsa -des3 -out server.orig.key 2048 | |
| # 2) Remove the password | |
| $ openssl rsa -in server.orig.key -out server.key |
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
| #!/bin/env ruby | |
| # lazy hack from Robert Klemme | |
| module Memory | |
| # sizes are guessed, I was too lazy to look | |
| # them up and then they are also platform | |
| # dependent | |
| REF_SIZE = 4 # ? | |
| OBJ_OVERHEAD = 4 # ? |
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
| function! ShowOnGithub() | |
| let u = system("echo ${${${$(git --git-dir=.git config --get remote.origin.url)#[email protected]:}%.git}#https://github.com/} | xargs echo -n") | |
| silent exec "!open "."https://github.com/".u."/blob/master/".@%.'\#L'.line(".") | |
| endfunction | |
| command! -nargs=0 ShowOnGithub call ShowOnGithub() | |
| nnoremap <Leader>gh :ShowOnGithub<CR> |
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
| #cVim-link-container, .cVim-link-hint, #cVim-command-bar, #cVim-command-bar-mode, #cVim-command-bar-input, #cVim-command-bar-search-results, .cVim-completion-item, .cVim-completion-item .cVim-full, .cVim-completion-item .cVim-left, .cVim-completion-item .cVim-right, #cVim-hud, #cVim-status-bar { | |
| font-family: "Lucida Console", Monaco, monospace; | |
| font-size: 11pt !important; | |
| -webkit-font-smoothing: antialiased !important; | |
| } | |
| #cVim-link-container { | |
| position: absolute; | |
| pointer-events: none; | |
| width: 100%; left: 0; |
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
| " Settings | |
| set nosmoothscroll | |
| set noautofocus | |
| let mapleader = " " | |
| let barposition = "bottom" | |
| let scrollstep = 70 | |
| let searchlimit = 50 | |
| let blacklists = ["https://mail.google.com/*"] | |
| " let autofocus = false | |
| let hintcharacters = "uiopjklmn" |
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
| @app = express(); | |
| @app.use(bodyParser()) | |
| @app.all '/*', (req, res, next) -> | |
| res.header("Access-Control-Allow-Origin", "*"); | |
| res.header("Access-Control-Allow-Headers", "X-Requested-With"); | |
| next(); | |
| server = @app.listen 51932, () -> | |
| console.log('Listening on port %d', server.address().port); | |