Skip to content

Instantly share code, notes, and snippets.


hebbian hebbian

View GitHub Profile
View gist:aa88da1930ba17786cf1
io.on("connection", function(socket) {
console.log('A user connected');
socket.emit('message', { message: 'welcome to the chat' });
socket.on('send:message', function(data) {
socket.emit('message', data);
View .vimrc
" Run git clone ~/.vim/bundle/Vundle.vim
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin() " required
" core plugins
Plugin 'gmarik/Vundle.vim'
Plugin 'flazz/vim-colorschemes'
View Testing Gist
- (void)testingGistAsSharedCode:(BOOL)param
if (param) {
NSLog(@"Yes, it is");
} else {
NSLog(@"It's useless");
You can’t perform that action at this time.