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
place holder. |
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 "export LC_ALL=en_US.UTF-8" >> ~/.bashrc | |
export LC_ALL=en_US.UTF-8 | |
apt-get update | |
apt-get install -y supervisor git subversion mercurial tmux | |
if [ ! -e ~/golang ]; then | |
mkdir ~/golang | |
fi | |
echo "export GOPATH=~/golang" >> ~/.bashrc |
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
{-# LANGUAGE OverloadedStrings, TypeFamilies, QuasiQuotes, | |
TemplateHaskell, GADTs, FlexibleContexts, | |
MultiParamTypeClasses, DeriveDataTypeable #-} | |
import Yesod | |
import Yesod.Auth | |
import Yesod.Form.Nic (YesodNic, nicHtmlField) | |
import Yesod.Auth.BrowserId (authBrowserId) | |
import Data.Text (Text) | |
import Network.HTTP.Conduit (Manager, newManager, def) | |
import Database.Persist.Sqlite |
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! MyGetProjectPath(path) | |
python << EOF | |
import os | |
import vim | |
def get_project_dir(path): | |
find_project_file = False | |
while not find_project_file: | |
files = os.listdir(path) | |
if ".vimproj" in files: | |
find_project_file = True |
NewerOlder