Skip to content

Instantly share code, notes, and snippets.

Avatar

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) {
console.log(data);
socket.emit('message', data);
});
});
View Testing Gist
- (void)testingGistAsSharedCode:(BOOL)param
{
if (param) {
NSLog(@"Yes, it is");
} else {
NSLog(@"It's useless");
}
}
@hebbian
hebbian / brdc.py
Created Aug 26, 2015
brdc.py for weechat
View brdc.py
# Copyright (C) 2013 - Hebbian <idiotiquehebb@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
You can’t perform that action at this time.