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
/* ---------------------------------------------------------------------------- | |
JavaScript Easy Date Function Similar to PHP but with JS Function Names minus 'get' | |
"Today is Thursday the 7th in January 2010. The time is 5:28pm and 46 Seconds." | |
jsdate( | |
'Today is {Day} the {Date}{DateSuffix} in {Month} {FullYear}. ' + | |
'The time is {HalfHours}:{Minutes}{AMPM} and {Seconds} Seconds.' | |
); |
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
// config file: nodejuice.js | |
// Example StaticMatic configuration. | |
// -> http://localhost:3010 | |
exports.sidekick = { | |
host : null, // Leave 'null' to listen on all hosts. | |
port : 3010, // access your server from this port. | |
fetch : { // point to your web server. | |
host : 'localhost', | |
port : 3000 |
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 t_Co=256 | |
set background=dark | |
"colorscheme moria | |
colorscheme darkspectrum | |
syntax enable | |
set hlsearch | |
set et | |
set sw=4 | |
set smarttab | |
set autoindent |
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
startup_message off | |
vbell off | |
msgwait 1 | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[ %{G}%H ]%{g}[%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m/%d %{W}%c %{g}]' | |
# terminfo and termcap for nice 256 color terminal | |
# allow bold colors - necessary for some reason | |
attrcolor b ".I" |
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
## MacVim Good Terminal Only Installation Guide | |
## http://www.pubnub.com/ | |
## http://twitter.com/pubnub | |
## USAGE - Copy+Paste this One-liner: | |
## | |
## bash <(curl https://raw.github.com/gist/1858026/macvim-install.sh) | |
## | |
## OR - Download this file and execute |
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
// Use PubNub Objective-C iOS API with Two API Keys | |
// Combination of PubNub Pulse an Galaxy | |
// JOIN PUBNUB PULSE WITH GALAXY | |
// PUBNUB PULSE | |
pubnub_pulse = [[CEPubnub alloc] | |
publishKey: @"PULSE_PUBLISH_KEY" | |
subscribeKey: @"PULSE_SUBSCRIBE_KEY" | |
secretKey: @"PULSE_SECRET_KEY" | |
sslOn: NO |
- PubNub Messenger: http://bit.ly/11EwgL3
- PubNub FileShare: http://bit.ly/15BWsUm
- PubNub Mouse Speak (Non-RTC): http://bit.ly/18dzEQW
- PubNub Phone Ring: http://bit.ly/11XW3t3
POST https://admin.pubnub.com/api/me
[email protected]
password=password
Step 1 will return authentication details including a TOKEN and APP_ID. You will need both of these values for all following requests.
OlderNewer