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
module.exports = function (grunt) { | |
"use strict"; | |
// Project configuration. | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
// AUTOPREFIXER //////////////////////////////////////////////////////////////// | |
autoprefixer: { | |
options: { |
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
/*jshint jquery:true, browser:true*//*global navigator:true, console:true */ | |
/** | |
* Survey Modal JavaScript | |
* | |
* Depends on jQuery 1.7.1+ | |
* Replace $.on with $.delegate if need to backport | |
* | |
* Usage: | |
* Call with surveyModal.init(); | |
* |
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
## | |
# creepy messages on afk | |
# http://www.reddit.com/r/apple/comments/1s902t/type_this_into_your_terminal_to_have_funannoy/cdvcgsv | |
afk() { | |
words=('please help me' 'i am so alone' 'i am lonely' 'let me out' 'i must feed' 'it puts the lotion' 'my precious'); | |
while [ 1 = 1 ]; do | |
say "${words[$[ $[ RANDOM % ${#words[@]} ]]]}" -v Whisper -r 2 | |
sleep 100 | |
done | |
} |
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
#!/usr/bin/env bash | |
_vimup() { | |
vim -N -u ~/.vimrc -c "try | \ | |
NeoBundleClean! | \ | |
NeoBundleCheck | \ | |
NeoBundleUpdate! | \ | |
NeoBundleUpdatesLog $* | \ | |
finally | qall! | endtry" \ | |
-U NONE -i NONE -V1 -e -s |
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
Section "Device" | |
Identifier "Device0" | |
Driver "nvidia" | |
VendorName "NVIDIA Corporation" | |
BoardName "Quadro FX 880M" | |
Option "RegistryDwords" "EnableBrightnessControl=1" | |
EndSection |
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
//////////////////////////////////////////////////////////////////////////////// | |
$breakpoints: ( | |
iphone-portrait: 320px, | |
iphone-landscape: 480px, | |
iphone-retina-portrait: 640px, | |
iphone-retina-landscape: 960px, | |
ipad-portrait: 768px, | |
ipad-landscape: 1024px, | |
container-large: 42em, | |
container-medium: 48em, |
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
Section "Monitor" | |
Identifier "Monitor0" | |
VendorName "Unknown" | |
ModelName "Unknown" | |
HorizSync 28.0 - 33.0 | |
VertRefresh 43.0 - 72.0 | |
Option "DPMS" | |
EndSection | |
Section "Device" |
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
<!-- requires xsel, xvkbd, and xdotool --> | |
<!-- OSX style copy Super-c --> | |
<keybind key="W-c"> | |
<action name="Execute"> | |
<command>xdotool key XF86Copy</command> | |
</action> | |
</keybind> | |
<!-- OSX style paste Super-v --> |
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
module['exports'] = function echoHttp (hook) { | |
var link = 'https://tools.timeinc.net/jira/browse/TIM-' + hook.params.text; | |
var body = [ | |
'<' + link + '>' | |
].join(''); | |
hook.res.writeHead(200, { | |
'Content-Length': body.length, | |
'Content-Type': 'text/html' | |
}); | |
hook.res.end(body); |
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
if &compatible | set nocompatible | endif | |
set number | |
" whitespace | |
set nowrap | |
set autoindent | |
set preserveindent " stay indented when press enter | |
set expandtab " spaces instead of tabs | |
set tabstop=2 |