This application will require the use of PHP, a MySQL database, a webserver such as Apache. If these are not already installed, please install them with the following command line inputs.
This file contains hidden or 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
let list = ['1','10','2'] | |
let fn = { } | |
function fn.compare(a,b) dict | |
return str2nr(a:a) > str2nr(a:b) | |
endfunction | |
echo sort(list,fn.compare,fn) |
This file contains hidden or 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 | |
filetype off | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
Bundle 'gmarik/vundle' | |
Bundle 'guns/ultisnips.git' | |
Bundle 'Shougo/neocomplcache.git' | |
Bundle 'JazzCore/neocomplcache-ultisnips' | |
" to keep vim from complaining about ~/.vim/after... |
This file contains hidden or 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
diff --git a/Makefile.am b/Makefile.am | |
index aa481f8..d632fa5 100644 | |
--- a/Makefile.am | |
+++ b/Makefile.am | |
@@ -4,7 +4,7 @@ doc_DATA = README.markdown | |
docdir = ${prefix}/share/doc/watchman-$(VERSION) | |
THIRDPARTY_CPPFLAGS = -I$(top_srcdir)/thirdparty/jansson -I$(top_builddir)/thirdparty/jansson | |
-JSON_LIB = -L. -lwmanjson | |
+JSON_LIB = -L. libwmanjson.a |
This file contains hidden or 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
diff --git a/Makefile.am b/Makefile.am | |
index aa481f8..d632fa5 100644 | |
--- a/Makefile.am | |
+++ b/Makefile.am | |
@@ -4,7 +4,7 @@ doc_DATA = README.markdown | |
docdir = ${prefix}/share/doc/watchman-$(VERSION) | |
THIRDPARTY_CPPFLAGS = -Ithirdparty/jansson | |
-JSON_LIB = -L. -lwmanjson | |
+JSON_LIB = -L. libwmanjson.a |
This file contains hidden or 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
four spaces | |
two spaces and a tab | |
four spaces |
This file contains hidden or 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
tab | |
space | |
tab |
This file contains hidden or 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
space | |
tab | |
space |
This file contains hidden or 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
# ==== Required configuration settings for Huginn ==== | |
# Replace the following with the output from "rake secret" | |
# (unnecessary, since we'll be using the OpenShift-provided secret) | |
# APP_SECRET_TOKEN=REPLACE_ME_NOW! | |
# This is the domain where your Huginn instance will be running. The default should work | |
# for development, but it needs to be changed to your Huginn domain when you deploy to a | |
# production environment (e.g., yourdomain.com, possibly including a port). | |
DOMAIN=$OPENSHIFT_APP_DNS |
This file contains hidden or 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
" delete all buffers function | |
function! DeleteHiddenBuffers() | |
let tpbl=[] | |
call map(range(1, tabpagenr('$')), 'extend(tpbl, tabpagebuflist(v:val))') | |
for buf in filter(range(1, bufnr('$')), 'bufexists(v:val) && index(tpbl, v:val)==-1') | |
silent execute 'bwipeout' buf | |
endfor | |
endfunction | |
cabbrev bda call DeleteHiddenBuffers() |