Skip to content

Instantly share code, notes, and snippets.

View danberindei's full-sized avatar

Dan Berindei danberindei

  • DemandLane
  • Cluj-Napoca, Romania
View GitHub Profile
@MattPD
MattPD / analysis.draft.md
Last active November 4, 2024 20:43
Program Analysis Resources (WIP draft)
@forax
forax / Interpreter.java
Last active May 19, 2024 18:23
Threaded like interpreter in Java
import static java.lang.invoke.MethodHandles.lookup;
import static java.lang.invoke.MethodType.methodType;
import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodHandles;
import java.lang.invoke.MethodHandles.Lookup;
import java.lang.invoke.MethodType;
import java.lang.invoke.MutableCallSite;
import java.util.Arrays;
@imjasonh
imjasonh / markdown.css
Last active November 6, 2024 14:26
Render Markdown as unrendered Markdown (see http://jsbin.com/huwosomawo)
* {
font-size: 12pt;
font-family: monospace;
font-weight: normal;
font-style: normal;
text-decoration: none;
color: black;
cursor: default;
}
@tfg13
tfg13 / touchpadconf.sh
Created November 24, 2013 15:50
script to set synaptics configuration for Thinkpad T440p
#!/bin/sh
# this script sets some parameters to get a useable configuration
# these changes are not persistent, you may want to include this in your autostart
# 1 finger = left click, 2 finger = right click, 3 finger = middle click
synclient TapButton2=3
synclient TapButton3=2
synclient ClickFinger2=3
synclient ClickFinger3=2
#!/usr/bin/python
import itertools
# A script that greps log file for failed tests and
# creates individual files for individual failed tests.
#
# It needs a lot of polishing but for the time being works :)
# TODO: Make get lines return a single list, and make it include start and end lines
@Sanne
Sanne / build.sh
Last active February 11, 2021 09:04 — forked from emmanuelbernard/build.sh
Build script
#!/bin/bash
# run ./build.sh
# it will clone your existing repo and run the maven tests off this clone
# the branch tests are run from is the current branch at the time of cloning
#
# Note that you can work on the next bug while this is going on
#
# ./build.sh
# runs maven clean install
#