Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block laapsaap

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View xf86-input-synaptics-
diff -ru xf86-input-synaptics- xf86-input-synaptics-
--- xf86-input-synaptics- 2015-11-25 07:28:43.000000000 +0100
+++ xf86-input-synaptics- 2016-06-15 14:54:09.961917509 +0200
@@ -1190,7 +1190,8 @@
InputInfoPtr pInfo = dev->public.devicePrivate;
SynapticsPrivate *priv = (SynapticsPrivate *) (pInfo->private);
+ int i;

The fastest remote directory rsync over ssh archival I can muster (40MB/s over 1gb NICs)

This creates an archive that does the following:

rsync (Everyone seems to like -z, but it is much slower for me)

  • a: archive mode - rescursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
  • H: preserves hard-links
  • A: preserves ACLs
# Downloads and installs the startssl CA certs into the global java keystore
# Author: Klaus Reimer <>
# Check if JAVA_HOME is set
if [ "$JAVA_HOME" = "" ]
echo "ERROR: JAVA_HOME must be set."

The introduction to Reactive Programming you've been missing

(by @andrestaltz)

So you're curious in learning this new thing called Reactive Programming, particularly its variant comprising of Rx, Bacon.js, RAC, and others.

Learning it is hard, even harder by the lack of good material. When I started, I tried looking for tutorials. I found only a handful of practical guides, but they just scratched the surface and never tackled the challenge of building the whole architecture around it. Library documentations often don't help when you're trying to understand some function. I mean, honestly, look at this:

Rx.Observable.prototype.flatMapLatest(selector, [thisArg])

Projects each element of an observable sequence into a new sequence of observable sequences by incorporating the element's index and then transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence.

You can’t perform that action at this time.