Skip to content

Instantly share code, notes, and snippets.

@marekr
marekr / bq20z80.py
Created August 9, 2014 03:39
IDA processor module. Creator: Charlie Miller
----------------------------------------------------------------------
# Processor module template script
# (c) Hex-Rays
import sys
import idaapi
from idaapi import *
# define RAM starting at 18000h of size 100h
# define ROM starting at 0 of size 12100h
@marekr
marekr / scotty
Created May 20, 2015 12:21
scotty is upset
<?xml version='1.0' encoding='UTF-8'?>
<eveapi version="2">
<currentTime>2015-05-20 03:05:44</currentTime>
<error code="0">General Error: Scotty the docking manager heard you were talking shit about him behind his back and refuses to service your request.</error>
<cachedUntil>2015-05-20 04:05:44</cachedUntil>
</eveapi>
@marekr
marekr / gist:cfa7079245e1fa8dee2e1f0441367e7d
Created June 25, 2016 22:29 — forked from ralph-tice/gist:c2943aa672aaa65ecb59
PostgreSQL settings to aggressively vacuum, this config was used for an 18000 TPS steadystate workload on i2.xlarge
#------------------------------------------------------------------------------
# AUTOVACUUM PARAMETERS
#------------------------------------------------------------------------------
#autovacuum = on # Enable autovacuum subprocess? 'on'
# requires track_counts to also be on.
log_autovacuum_min_duration = 0 # -1 disables, 0 logs all actions and
# their durations, > 0 logs only
# actions running at least this number
# of milliseconds.
#!/bin/bash
# author: Maciej Suminski <maciej.suminski@cern.ch>
# contributors: madworm
SNAPSHOT_REV="99a20162d5038a328d335d11da69c9eee0549fdc"
SNAPSHOT_GIT="git://git.code.sf.net/p/ngspice/ngspice"
BUILD_DIR="/tmp/libngspice_so"
SRC_DIR="${BUILD_DIR}/ngspice"
#!/bin/bash
# author: Maciej Suminski <maciej.suminski@cern.ch>
# contributors: madworm
SNAPSHOT_REV="99a20162d5038a328d335d11da69c9eee0549fdc"
SNAPSHOT_GIT="git://git.code.sf.net/p/ngspice/ngspice"
BUILD_DIR="/tmp/libngspice_so"
SRC_DIR="${BUILD_DIR}/ngspice"