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
// css-constant-reload.js | |
// adapted from https://github.com/bgrins/devtools-snippets | |
// Removes then reloads all the CSS files in the current page every 5 seconds | |
(function () { | |
function insertAfter(newElement, targetElement) { | |
var parent = targetElement.parentNode; | |
if (parent.lastChild == targetElement) { | |
parent.appendChild(newElement); |
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
(?<date>\d*-\d*-\d* \d*:\d*:\d*,\d*) (?<machine>\S*) \[(?<severity>.*)\] \[(?<logger>.*)\] \[(?<id>.*)\] \[(?<requestid>.*)\] (?<message>.*) |
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 nocompatible " be iMproved | |
filetype off " must be off before Vundle has run | |
if !isdirectory(expand("~/.vim/bundle/Vundle.vim/.git")) | |
!git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim | |
endif | |
set runtimepath+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() |
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
{ | |
"version": "0.1.0", | |
"command": "go", | |
"args": ["build"], | |
"isShellCommand": true, | |
"showOutput": "silent", | |
"problemMatcher": { | |
"owner": "go", |
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
# Linux | |
# execute sudo <something> first before running this script | |
# https://github.com/aspnet/Home/blob/dev/GettingStartedDeb.md | |
# also http://docs.asp.net/en/latest/ | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF | |
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list | |
#if ubuntu 12.04 - http://www.mono-project.com/docs/getting-started/install/linux/#older-ubuntu-releases-ubuntu-1210-and-1204 |
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
colorscheme:go | |
cs_re:green:.*\[DEBUG\].* | |
cs_re:yellow:.*\[WARNING\].* | |
cs_re:white:.*\[INFO\].* | |
cs_re:cyan:.*\[NOTICE\].* | |
cs_re:red:.*\[ERROR\].* |
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
#!/bin/bash | |
set -e | |
# Check for nsenter. If not found, install it | |
boot2docker ssh '[ -f /var/lib/boot2docker/nsenter ] || docker run --rm -v /var/lib/boot2docker/:/target jpetazzo/nsenter' | |
# Use bash if no command is specified | |
args=$@ | |
if [[ $# = 1 ]]; then | |
args+=(/bin/bash) |
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-ExplorerOptions -showHiddenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
Enable-RemoteDesktop | |
Update-ExecutionPolicy RemoteSigned | |
#cinst visualstudio2015community | |
cinst sublimetext3 | |
cinst poshgit | |
cinst git.install | |
cinst 7zip.install | |
cinst nodejs.install |
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
0 info it worked if it ends with ok | |
1 verbose cli [ 'node', '/usr/local/bin/npm', 'publish' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 verbose node symlink /usr/local/bin/node | |
5 verbose publish [ '.' ] | |
6 silly cache add args [ '.', null ] | |
7 verbose cache add spec . | |
8 silly cache add parsed spec { raw: '.', | |
8 silly cache add scope: null, |
OlderNewer