- Generate CSR from Keychain
Keychain Access > Certificate Assistant > Request a Certificate from Certificate Authority...
Email: <user@email.com>
Common Name: <Project>
Select Saved to disk
set nocompatible " be iMproved, required | |
filetype off " required | |
set rtp+=~/.vim/bundle/Vundle.vim " set the runtime path to include Vundle | |
call vundle#begin() " and initialize | |
" Keep Plugin commands between vundle#begin/end. | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'kien/ctrlp.vim' |
{ | |
"terminal.integrated.fontFamily": "'Ubuntu Mono','PowerlineSymbols'", | |
"go.useLanguageServer": true, | |
"go.formatTool": "goimports", | |
"[ruby]": { | |
"editor.insertSpaces": true, | |
"editor.tabSize": 2 | |
} | |
} |
gw = `ip route show`[/default.*/][/\d+\.\d+\.\d+\.\d+/] |
Live Table: https://diafygi.github.io/webcrypto-examples/
I couldn't find anywhere that had clear examples of WebCryptoAPI, so I wrote examples and made a live table with them. Pull requests welcome!
Vimtutor:
Tips & Tricks
:source $MYVIMRC Reload .vimrc without restart vim, after reload run :e
:e Reload buffer and trigger FileType event
Modes:
#!/bin/sh | |
IP="" | |
OS=`uname` | |
case "${OS}" in | |
Linux) | |
IP=`ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'` | |
;; | |
FreeBSD|OpenBSD) |
function http-ping { | |
SLEEP=${2:-5} | |
while true; do echo "$(date +'%Y-%m-%d %H:%M:%S') - GET $1 - $(curl -sL -w "%{http_code}" -o /dev/null $1)"; sleep $SLEEP; done | |
} |
#!/usr/bin/env ruby | |
require 'fileutils' | |
prefix_input = ARGV[0] | |
prefix_output = ARGV[1] | |
suffixes = [".png", "@1.5x.png", "@2x.png", "@3x.png", "@4x.png"] | |
output_dirs = { |
------------------------------------------------------------------------------ | |
2.3. NERD tree Mappings *NERDTreeMappings* | |
Default Description~ help-tag~ | |
Key~ | |
o.......Open files, directories and bookmarks....................|NERDTree-o| | |
go......Open selected file, but leave cursor in the NERDTree.....|NERDTree-go| | |
t.......Open selected node/bookmark in a new tab.................|NERDTree-t| | |
T.......Same as 't' but keep the focus on the current tab........|NERDTree-T| |