Skip to content

Instantly share code, notes, and snippets.

eltonvs /
Last active Jul 19, 2021
Arch Linux step to step installation guide

Arch Linux Installation Guide

This guide will show step-by-step how to Install Arch Linux on UEFI mode.

Table of Contents

  • Bootable Flash Drive
  • BIOS
  • Pre installation
    • Set Keyboard Layout
    • Check boot mode
    • Update System Clock
VivaCaligula /
Last active May 7, 2021
A quick install guide for Arch.

First time Arch installation and setup.

This should only take 10-20 minutes.

This entire process can be circumvented by installing a graphical variant of Arch like Manjaro or Antergos.


DL ISO, Burn/Mount, option "Boot Arch Linux (x86_64)": 
takeshixx /
Last active Jul 17, 2021
Running Ubuntu 16.04.1 armhf on Qemu

Running Ubuntu 16.04.1 armhf on Qemu

This is a writeup about how to install Ubuntu 16.04.1 Xenial Xerus for the 32-bit hard-float ARMv7 (armhf) architecture on a Qemu VM via Ubuntu netboot.

The setup will create a Ubuntu VM with LPAE extensions (generic-lpae) enabled. However, this writeup should also work for non-LPAE (generic) kernels.

The performance of the resulting VM is quite good, and it allows VMs with >1G ram (compared to 256M on versatilepb and 1G on versatile-a9/versatile-a15). It also supports virtio disks whereas versatile-a9/versatile-a15 only support SD cards via the -sd argument.

Get netboot files

gregf /
Last active Aug 29, 2015 — forked from lubosz/
Weather radar in your terminal
set -e
SCRIPT_NAME=$(basename $0)
FONTH=14 # Size of one terminal row
FONTW=8 # Size of one terminal column
DOWNLOAD_DIR=$(mktemp -d)
DATE=$(date +"%m%d%y%H%M")

FreeBSD on a MacBook Pro

Since 2008 or 2009 I work on Apple hardware and OS: back then I grew tired of Linux desktop (which is going to be MASSIVE NEXT YEAR, at least since 2001), and switched to something that Just Works. Six years later, it less and less Just Works, started turning into spyware and nagware, and doesn't need much less maintenance than Linux desktop — at least for my work, which is system administration and software development, probably it is better for the mythical End User person. Work needed to get software I need running is not less obscure than work I'd need to do on Linux or othe Unix-like system. I am finding myself turning away from GUI programs that I used to appreciate, and most of the time I use OSX to just run a terminal, Firefox, and Emacs. GUI that used to be nice and unintrusive, got annoying. Either I came full circle in the last 15 years of my computer usage, or the OSX experience degraded in last 5 years. Again, this is from a sysadmin/developer ki

SaltwaterC /
Last active Jan 1, 2021
OpenWrt support for Netgear WNR1000v2


As usual, use it at your own risk. I am not to be held responsible for your actions.

Supported devices: WNR1000v2 (tested by me), WNR1000v2-VC (provided by Comcast for free; tested by Douglas Fraser)

Notice: Upgrade WNR1000v2 to the latest factory firmware: Otherwise, the power LED may not behave properly.

You need to place the device into failsafe mode. For booting into failsafe mode, you need to power up the device while holding the reset button with a pin. The power LED should have an amber colour. Hold the button until it is starting to flash green. It starts to flash green after it flashes the amber LED for six times. After that, the device is in failsafe mode, accepting a firmware via its TFTP server. The device should respond to pings at, although the responses may be malformed.

Thermionix / wine-1.7.24-d3dadapter.patch
Created Aug 11, 2014
wine-1.7.24 d3dadapter patch
View wine-1.7.24-d3dadapter.patch
diff --git a/configure b/configure
index 40cadd2..6f563de 100755
--- a/configure
+++ b/configure
@@ -821,6 +821,7 @@ with_netapi
peterc / cable3.c
Created Jan 4, 2014
running cable3.c through gcc -E - see for original authors
View cable3.c
unsigned char t,e,l[80186],*E,m,u,L,a,T,o,r[1<<21],X,*Y,b,Q=0,R=0;
unsigned short*i,M,p,q=3;
K(o) {
return P+(L?2*o:2*o+o/4&7);
D(o) {
return r[*(unsigned*)&E[259+4*o]+O];
View hellorun.min.js
function bind(a, b) {
return function () {
b.apply(a, arguments)
function loadJSON(a, b) {
var c = new XMLHttpRequest;"GET", a), c.onreadystatechange = function () {
4 == c.readyState &&, JSON.parse(c.responseText))
oumu / soundcloud-mp3.js
Created Mar 31, 2012 — forked from rsvp/soundcloud-mp3.js
SoundCloud bookmarklet that generates link to download MP3
View soundcloud-mp3.js
2012-03-26 Forked from duncanbeevers' sc-dl.js :
(function(document) {
var link = document.createElement("a"),
span = document.createElement("span"),
slug = document.querySelector("#main-content-inner img[class=waveform]").src.match(/\.com\/(.+)\_/)[1],
mp3 = document.querySelector("em").innerText + ".mp3";