Skip to content

Instantly share code, notes, and snippets.

View crashcoredump's full-sized avatar

This is a private repo used to bookmark other repos for further use. crashcoredump

View GitHub Profile

Business Models

Advertising

Models Examples
Display ads Yahoo!
Search ads Google
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
green='\033[0;32m'
;; -*- mode: lisp -*-
;;
;; A quick and dirty tree shaker for SBCL. Basically, it destroys the
;; package system and does a gc before saving the lisp image. Gives
;; about a 40% reduction in image size on a basic hello world test.
;; Would like to hear how it works on larger projects.
;;
;; Original idea from: https://groups.google.com/d/msg/comp.lang.lisp/6zpZsWFFW18/WMy4PyA9B4kJ
;;
;; Burton Samograd
#*Step By Step Instruction*
##Set Apple TV to Aux Keys
--
Press Aux (Device) Button
Hold Setup Key until Aux Button Blinks Twice
Type in code 31115 (Aux Button will blink twice, if it is a long blink try last three steps again)
##Fix Play and Pause Keys
--

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

#!/bin/sh -x
START_DIR=$CWD
SHARE_DIR=/backup001/chem/home/chem/src/mfsbsd
KEYBOARD=dvorak
WANT_PHORONIX_TEST_SUITE=4.4.1 # set it to no to disable
# catch error from my own error function even in subshell.
err_handler ()
{
rc=$?
@crashcoredump
crashcoredump / README.md
Created August 21, 2017 04:57
Eggdrop scripts

Eggdrop 1.8 SASL script:

  1. For convenience, download this entire gist with git clone https://gist.github.com/4455067.git

  2. Get Eggdrop 1.8 [from Git][egggit] or [from CVS][eggcvs]. Compile and install.

    The preinit-server patch was [merged into Eggdrop 1.8][commit] recently, so you do not need to patch it manually anymore.

  3. From your Eggdrop config, source the scripts and set the SASL information.

@crashcoredump
crashcoredump / zfs
Created November 16, 2017 03:36 — forked from kiela/zfs
HOWTO: Hetzner + FreeBSD 10.3 + mirrored root ZFS mountpoint optimized for 4K drives
[root@rescue ~]# kldload zfs
[root@rescue ~]# sysctl kern.geom.label.gptid.enable=0
kern.geom.label.gptid.enable: 1 -> 0
[root@rescue ~]# gpart destroy -F nvd0
nvd0 destroyed
[root@rescue ~]# gpart destroy -F nvd1
nvd1 destroyed
# Getting "gpart: arg0 'nvdN': Invalid argument" is alright as it means that there was no partition table on the disk anyway.
[root@rescue ~]# gpart create -s gpt nvd0
@crashcoredump
crashcoredump / ca.md
Created November 22, 2017 23:06 — forked from soarez/ca.md
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.

@crashcoredump
crashcoredump / xhyve-freebsd-tutorial-1.md
Created December 6, 2017 01:58 — forked from tanb/xhyve-freebsd-tutorial-1.md
FreeBSD running on xhyve tutorial. (Appendix: Resize image with qemu. Create FreeBSD VM with qemu).

TL;DR

  • Create 5GB FreeBSD image.
  • Install FreeBSD on xhyve.
  • Mount host directory.

Requisites