Skip to content

Instantly share code, notes, and snippets.

View meh's full-sized avatar

meh. meh

View GitHub Profile
@meh
meh / logs
Created April 21, 2016 17:45
Frame (128 bytes):
0000 00 5c 5d d5 00 88 ff ff 53 02 00 08 07 00 00 00 .\].....S.......
0010 1f 01 19 57 00 00 00 00 26 f6 04 00 8d ff ff ff ...W....&.......
0020 40 00 00 00 40 00 00 00 21 09 00 03 02 00 40 00 @...@...!.....@.
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0040 8f 08 00 00 00 00 00 00 00 02 00 00 00 00 00 00 ................
0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
USB Control (71 bytes):
@meh
meh / logs
Created April 21, 2016 17:40
Frame (128 bytes):
0000 00 5c 5d d5 00 88 ff ff 53 02 00 08 07 00 00 00 .\].....S.......
0010 1f 01 19 57 00 00 00 00 26 f6 04 00 8d ff ff ff ...W....&.......
0020 40 00 00 00 40 00 00 00 21 09 00 03 02 00 40 00 @...@...!.....@.
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0040 8f 08 00 00 00 00 00 00 00 02 00 00 00 00 00 00 ................
0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
USB Control (71 bytes):
@meh
meh / logs
Created April 21, 2016 16:16
Frame 61: 128 bytes on wire (1024 bits), 128 bytes captured (1024 bits) on interface 0
Interface id: 0 (usbmon7)
Encapsulation type: USB packets with Linux header and padding (115)
Arrival Time: Apr 21, 2016 17:41:24.720499000 CEST
[Time shift for this packet: 0.000000000 seconds]
Epoch Time: 1461253284.720499000 seconds
[Time delta from previous captured frame: 0.575350000 seconds]
[Time delta from previous displayed frame: 28.002889000 seconds]
[Time since reference or first frame: 28.004772000 seconds]
Frame Number: 61
--- /tmp/vim_mode.pl 2016-04-20 16:12:37.719292523 +0200
+++ vim_mode.pl 2016-03-22 23:18:39.047939911 +0100
@@ -2740,7 +2746,7 @@
_stop();
return;
- } elsif ($key == 10) { # enter.
+ } elsif ($key == 10 || $key == 13) { # enter.
_commit_line();

Keybase proof

I hereby claim:

  • I am meh on github.
  • I am meh99 (https://keybase.io/meh99) on keybase.
  • I have a public key whose fingerprint is 5186 D046 764C E14E 14A6 F778 D533 CFE4 5063 85BF

To claim this, I am signing this object:

// ==UserScript==
// @name tumblrizzami
// @version 0.0.1
// @namespace http://meh.schizofreni.co
// @description Remove sponsored posts.
// @include http://tumblr.com/*
// @include https://tumblr.com/*
// @include http://*.tumblr.com/*
// @include https://*.tumblr.com/*
// @grant GM_addStyle
@meh
meh / dexter.ex
Created August 21, 2014 01:03 — forked from mattdeboard/dexter.ex
defmodule Dexter do
use Application
@port 7400
def start(_, port \\ @port) do
import Supervisor.Spec, warn: false
children = [
worker(Reagent, [Dexter.Server, [port: port]], [])
start = Time.now
# 0.000
=begin
%x{
var a = 0;
var b = 10000;
var x = [0, 1, 2, 3];
while (a < b) {

Kernel keywords

  • apply/2
  • apply/3
  • cond/1
  • destructure/2
  • exit/1
  • if/2
  • in/2
  • match?/2
@meh
meh / lol.exs
Created December 16, 2013 17:29
defmodule Fun do
def arity(fun) do
case :erlang.fun_info(fun, :arity) do
{ :arity, arity } ->
arity
end
end
def adapt!(fun, 0) do
fn -> fun.([]) end