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
" Tell vim to remember certain things when we exit | |
" '10 : marks will be remembered for up to 10 previously edited files | |
" "100 : will save up to 100 lines for each register | |
" :20 : up to 20 lines of command-line history will be remembered | |
" % : saves and restores the buffer list | |
" n... : where to save the viminfo files | |
set viminfo='10,\"100,:20,%,n~/.viminfo | |
function! ResCur() | |
if line("'\"") <= line("$") |
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
++++++++++++oooooooooooosyyyyyyyhyyshhyyyyyyysssssssosso++++oo+++///////////:::---..`````````..- | |
+++++++++++++ooooooosssyyosssys+yys+ssyhyssssshysoyyooooooo++oo++++/////////:::--..```` ```.- | |
+++++++++++++oooossysoo+oosyo++/oy++yyoosoosooosysoysosoo++oosso++o+++/////::::--..```` ```..- | |
+++++++++++++oosyyyysssosshhso+syso/ydysso+y/os+oyysysoyyysooosyoo+o+o++///::::--..``````````.-- | |
++++++++++++osyyhhhyyysyyyddhsyhdyhyhdhyyoohs/so+syhyhyyyhhyssosso+osoooo+///:::--...``````..--- | |
++++++++++ooshhddhhdddysdyydhhshdddddddhyyyydsyysoyhhhdhsyhhsyyyyssssysoso+/:::::---.......----: | |
.....````+oohdhhdhhddhyyyhhhhhhyyddddmmdhyyhdmhhhyyhhhddhhhdhyhdhhhyyyyssso+/::::::----------::: | |
.:ooysdddyhddyddhhyyddyhhhyyyddmmmddhhdmmdddhhhhhhddhhddddddhhyyyyysso+//::::::::::::::::: | |
..--:+shhyysddddhdddhddddhydddhyhhyhdmmmmmdhhdmmdhhhhhhdhddddddddddddhhyyyyss+//:::::::::::::::/ | |
---:+oshhhysyddhdhhddhddddhhhdddhhhhhddmmmmmdhhmmdddddhdhdhdddddhdddhdhhhyhyyso////::::::::://// |
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
call pathogen#infect() | |
syntax on | |
set autoindent | |
set smartindent | |
set tabstop=2 | |
set shiftwidth=2 | |
set expandtab | |
set ruler | |
set hlsearch | |
set incsearch |
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 | |
# Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs) | |
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3 | |
# Enable the 2D Dock | |
#defaults write com.apple.dock no-glass -bool true | |
# Disable menu bar transparency | |
#defaults write -g AppleEnableMenuBarTransparency -bool false |
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
C:\Users\eric\Documents\node_service>.\nssm.exe install thebus "C:\Program Files (x86)\nodejs\node.exe" "C:\Users\eric\Documents\static\server.js" "80" "C:\Users\eric\Documents\public\" | |
Service "thebus" installed successfully! | |
C:\Users\eric\Documents\node_service>net start thebus | |
The thebus service is starting. | |
The thebus service was started successfully. | |
C:\Users\eric\Documents\node_service>curl localhost |
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
servers = ( | |
{ | |
address = "irc.mikezauner.com"; | |
chatnet = "zl4u"; | |
port = "6697"; | |
autoconnect = "yes"; | |
use_ssl = "yes"; | |
}, | |
{ | |
address = "irc.freenode.net"; |
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 sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2266791/hack.sh | sh | |
# |
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
echo "Show all filename extensions in Finder" | |
defaults write NSGlobalDomain AppleShowAllExtensions -bool true | |
echo "Use current directory as default search scope in Finder" | |
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf" | |
echo "Show Path bar in Finder" | |
defaults write com.apple.finder ShowPathbar -bool true | |
echo "Show Status bar in Finder" |
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
(function() { | |
"use strict"; | |
var http = require('http') | |
, url = require('url') | |
, cached = {} | |
; | |
function server(req, res) { | |
var now = Date.now() | |
, twitter = url.parse(req.url).pathname.slice(1) |
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
call pathogen#infect() | |
syntax on | |
set autoindent | |
set smartindent | |
set tabstop=2 | |
set shiftwidth=2 | |
set expandtab | |
set ruler | |
set hlsearch | |
set incsearch |
OlderNewer