Skip to content

Instantly share code, notes, and snippets.

View vadim-job-hg's full-sized avatar

Vadim Kuznetsov vadim-job-hg

View GitHub Profile
@vadim-job-hg
vadim-job-hg / hackingtime.java
Created August 4, 2016 08:07 — forked from L1fescape/hackingtime.java
Time hack code snippet from the movie Kung Fury
DateTime warp = new DateTime(12, 33.9, 15);
warp.accessDimension(4);
for (int i = 0; i < warp.getGoal(); i++) {
double v = Math.power(m*c, 2);
warp.hackTime();
warp.advance(i.toTimeInterval());
}
if (past.currentDate() == warp.currentDate()) {
System.out.println("Time Hacked successfully.");
}
@vadim-job-hg
vadim-job-hg / gource-multiple-repositories.sh
Created April 9, 2016 17:12 — forked from derEremit/gource-multiple-repositories.sh
Generates gource video out of multiple repositories.
#!/usr/bin/env bash
# Generates gource video (h.264) out of multiple repositories.
# Pass the repositories in command line arguments.
# Example:
# <this.sh> /path/to/repo1 /path/to/repo2
RESOLUTION="1600x1080"
outfile="gource.mp4"
i=0