Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@eltonvs
eltonvs / arch_installation.md
Last active March 13, 2024 17:51
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
@SaltwaterC
SaltwaterC / README.md
Last active March 3, 2024 23:21
OpenWrt support for Netgear WNR1000v2

Install

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: 1.1.2.58. 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 192.168.1.1, although the responses may be malformed.

@mpasternacki
mpasternacki / freebsd_on_mbp.md
Created January 23, 2015 17:12
FreeBSD on a MacBook Pro

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

@takeshixx
takeshixx / ubuntu-xenial-armfh-qemu.md
Last active October 22, 2023 12:14
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

@VivaCaligula
VivaCaligula / ArchInstallSetup.md
Last active February 1, 2022 16:40
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.


PRE-INSTALL

DL ISO, Burn/Mount, option "Boot Arch Linux (x86_64)": https://www.archlinux.org/download/ 
@oumu
oumu / soundcloud-mp3.js
Created March 31, 2012 00:49 — forked from rsvp/soundcloud-mp3.js
SoundCloud bookmarklet that generates link to download MP3
/**
2012-03-26 Forked from duncanbeevers' sc-dl.js : https://gist.github.com/2157987
**/
(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";
@peterc
peterc / cable3.c
Created January 4, 2014 19:39
running cable3.c through gcc -E - see http://ioccc.org/2013/cable3/hint.html for original authors
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;
unsigned*localtime(),f,S,kb=0,h,W,U,c,g,d,V,A;
N,O,P=983040,j[5];
SDL_Surface*k=0;
K(o) {
return P+(L?2*o:2*o+o/4&7);
}
D(o) {
return r[*(unsigned*)&E[259+4*o]+O];
function bind(a, b) {
return function () {
b.apply(a, arguments)
}
}
function loadJSON(a, b) {
var c = new XMLHttpRequest;
c.open("GET", a), c.onreadystatechange = function () {
4 == c.readyState && b.call(null, JSON.parse(c.responseText))
@Thermionix
Thermionix / wine-1.7.24-d3dadapter.patch
Created August 11, 2014 23:56
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
with_openal
with_opencl
with_opengl
+with_d3dadapter
with_osmesa