Skip to content

Instantly share code, notes, and snippets.

View RWOverdijk's full-sized avatar
🤠
What's going on!?

Roberto Wesley Overdijk RWOverdijk

🤠
What's going on!?
View GitHub Profile
let messageQueue = require('./messageQueue');
function saySomething() {
messageQueue.publish('sync', {hello: process.argv[2] || 'world', when: Date.now()});
setTimeout(saySomething, 1000);
}
saySomething();
@Ocramius
Ocramius / User.php
Last active February 16, 2024 14:57
Doctrine 2 ManyToMany - the correct way
<?php
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
/**
* @ORM\Entity()
* @ORM\Table(name="user")
*/
class User
@RWOverdijk
RWOverdijk / gittyup.sh
Created February 9, 2012 20:07 — forked from EvanDotPro/gittyup.sh
Easily keep master in sync with upstream.
####################################################################################
## ##
## gittyup() - Easily keep master in sync with upstream. ##
## ##
## Author: Evan Coury, http://blog.evan.pro/ ##
## URL: https://gist.github.com/1506822 ##
## ##
## This bash function is a simple shortcut for keeping your local (and public ##
## fork / origin remote) master branch up to date and in sync with the upstream ##
## master. To use gittyup(), simply drop this in your ~/.bashrc. ##
@vasilisvg
vasilisvg / HTML-presentation-tools.md
Created January 14, 2012 13:53
HTML presentation tools

#HTML presentation tools

There are many HTML presentation tools and they are all created for slightly different reasons. Here's an overview. Please let me know if I forgot any.

##CSSS

CSS-based SlideShow System