by Ossi Hanhinen, @ohanhi
with the support of Futurice 💚.
Licensed under CC BY 4.0.
I'm still holding out for this being a hoax, a big joke, and that they're going to cancel the kickstarter any minute. It'd be quite the cute "lessons learned" about anonymity scams. However, I will be treating it from here on out as a genuine scam. (As of May 2nd, the kickstarter has been cancelled, after the strangest attempt to reply to this imaginable. Good riddance.)
This absolutely ridiculous thing was brought to my attention by a friend and since it was late at night I thought I must be delirious in how absurdly over the top fake it seemed. So I slept on it, woke up, and found that it had gotten a thousand dollars more funding and was every bit as flabbergasting as I thought it was.
Since I realize that not everyone has spent their entire lives studying computers – and such people are the targets of such scams –
| # Set variables in .bashrc file | |
| # don't forget to change your path correctly! | |
| export GOPATH=$HOME/golang | |
| export GOROOT=/usr/local/opt/go/libexec | |
| export PATH=$PATH:$GOPATH/bin | |
| export PATH=$PATH:$GOROOT/bin |
Following is a translation of a post by Kenta Cho (@abagames) about what he learned making 50 minigames in 2014. The original post is here:
http://d.hatena.ne.jp/ABA/20141223#p1
This translation is by Paul McCann (@polm23); please feel free to contact me with any comments or corrections.
... is that there isn't one.
| public static class Callbackr | |
| { | |
| private static Dictionary<object, Action> callbacks = new Dictionary<object, Action>(); | |
| /// <summary> | |
| /// Adds the specified callback with the specified identifier. | |
| /// </summary> | |
| /// <param name="token">The callbacks specified identifier.</param> | |
| /// <param name="callback">The callback to be added.</param> | |
| public static void Add(object token, Action callback) |
| # vim style tmux config | |
| # use C-a, since it's on the home row and easier to hit than C-b | |
| set-option -g prefix C-a | |
| unbind-key C-a | |
| bind-key C-a send-prefix | |
| set -g base-index 1 | |
| # Easy config reload | |
| bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded." |
| using System; | |
| using System.Threading; | |
| public sealed class IntervalTimer | |
| { | |
| private Timer timer; | |
| private Random rand; | |
| private int min, max; | |
| public event Action Interval; |
| public static class UnixTime | |
| { | |
| public static int Get() | |
| { | |
| return (int)(DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)).TotalSeconds; | |
| } | |
| public static DateTime ToDateTime(int timestamp) | |
| { | |
| var epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); |
| # USAGE INSTRUCTIONS | |
| # It's an interactive shell, where you have the following options... | |
| # - Just type in an assembly instruction in Intel syntax, and it'll spit out the bytecode | |
| # - Change the syntax to AT&T with the att command | |
| # - Change the syntax back to Intel with the intel command | |
| # - Quit with the q command | |
| import os | |
| import sys | |
| import tempfile | |
| import subprocess |
| using System.Runtime.Serialization.Json; | |
| using System.IO; | |
| using System.Text; | |
| public static class JsonUtil | |
| { | |
| /// <summary> | |
| /// Serializes an object to the respectable JSON string. | |
| /// </summary> | |
| public static string Serialize<T>(T o) |