Skip to content

Instantly share code, notes, and snippets.

View svetomirm's full-sized avatar

Svetomir svetomirm

View GitHub Profile
package com.mirth.stevek.rxtest;
import rx.Observable;
import rx.functions.Action1;
import rx.functions.Func1;
import rx.functions.Func3;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.*;
@frontmesh
frontmesh / git-merge
Last active December 17, 2015 06:48
Git-merge as a bash script, requires nodejs for execution. Make this script executable chmod +x git-merge, than do a copy/move to /usr/bin "git-merge [branch]"
#!/usr/bin/node
var sys = require('sys')
, exec = require('child_process').exec
, current_branch
, target_branch = process.argv[2];
function puts (error, stdout, stderr){
sys.print('stdout: ' + stdout);
sys.print('stderr: ' + stderr);
@cowboy
cowboy / HEY-YOU.md
Last active July 1, 2024 08:37
jQuery Tiny Pub/Sub: A really, really, REALLY tiny pub/sub implementation for jQuery.