This file contains 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
set et | |
set ts=2 | |
set sw=2 | |
set syntax=on | |
filetype plugin on | |
call plug#begin('~/.vim/plugged') | |
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } | |
Plug 'junegunn/fzf.vim' |
This file contains 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://rubygems.org" | |
gem "minitest" | |
gem "rake" | |
gem "capybara" | |
gem "selenium-webdriver" | |
gem "webdrivers" |
This file contains 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
<html> | |
<body style="background:blue;"> | |
<style> | |
@keyframes spinner { | |
to { transform: rotate(360deg); } | |
} | |
.spinner { | |
background: no-repeat center center; | |
background-size: 100%; |
This file contains 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
pwd | wc -c | |
fswatch -0 ./ | xargs -0 -n 1 -I {} sh -c 'echo {} | cut -c 28- | awk "!/\//"' |
This file contains 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
import UIKit | |
class ViewController: UIViewController { | |
@IBOutlet weak var myWebView: UIWebView! | |
@IBOutlet weak var btnSwitch: UIButton! | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
// Do any additional setup after loading the view, typically from a nib. |
This file contains 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
gzip -dc access.log.1.gz | head -c 200 | head -n 1 | awk '{print $4}' | xargs -I {} date -jf "[%d/%b/%Y" \{} +%Y-%m-%d |
This file contains 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
execute pathogen#infect() | |
syntax on | |
filetype plugin indent on | |
set et | |
set sw=2 | |
set ts=2 | |
set hlsearch | |
au FileType python setl sw=2 sts=2 et |
This file contains 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
cd libxml2-2.9.0 | |
./configure CC='gcc -static-libgcc' --without-iconv && make && make install | |
cd openssl-1.0.0d | |
CC='gcc -static-libgcc' ./Configure mingw --prefix=/usr/local shared | |
make && make install | |
cd pcre-8.37 | |
CC='gcc -static-libgcc' ./configure --disable-cpp --disable-shared --enable-newline-is-anycrlf --enable-utf8 --enable-unicode-properties | |
make && make install |