THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| #!/usr/bin/env python | |
| import random | |
| import struct | |
| import sys | |
| # Most of the Fat32 class was cribbed from https://gist.github.com/jonte/4577833 | |
| def ppNum(num): | |
| return "%s (%s)" % (hex(num), num) |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| # **************** READ THIS FIRST ****************** | |
| # | |
| # This is not a script for you to run. I repeat, do not download and run this! | |
| # | |
| # This is only a guide to show the required steps for successful UEFI + GRUB2 installation | |
| # Many of the choices are examples or assumptions; don't blindly type shit into your machine | |
| # until/unless you at least read the comments around each command | |
| # | |
| # These steps assume you've booted in UEFI mode by preparing your USB stick per these instructions: | |
| # https://wiki.archlinux.org/index.php/UEFI#Archiso |
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
| CC = gcc | |
| CFLAGS = -Wall -pedantic -std=gnu99 -g | |
| LDFLAGS = -lasound | |
| OBJ = wavereader.o alsa.o main.o | |
| all: ademo | |
| ademo: ${OBJ} | |
| @echo CC -o $@ |
| {-# OPTIONS_GHC -fcontext-stack=32 #-} | |
| import XMonad hiding ( (|||) ) | |
| import qualified XMonad.StackSet as W | |
| import Control.OldException(catchDyn,try) | |
| import Data.Char (toLower) | |
| import Data.List (intercalate, intersperse, isSuffixOf, isPrefixOf) | |
| import qualified Data.Map as M (fromList) |