-
Boot into OS X
-
In Disk Utility, make space for Arch partition
-
Boot Arch Linux install with 'nomodeset' boot option
-
Install gptfdisk (provides cgdisk)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# enable PHP error logging | |
php_flag log_errors on | |
php_value error_log ./PHP_errors.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header("Location: http://www.yoursite.com/new_page.html"); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
background: -webkit-gradient(linear, left top, left bottom, from(#254080), to(#1d3366)); | |
background: -moz-linear-gradient(top, #254080,#1d3366); | |
background: filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#254080', endColorstr='#1d3366'); | |
/* with color stops.. */ | |
background: -webkit-gradient(linear, left top, left bottom, from(#7F87C6), color-stop(20%, #2239A1)); | |
background: -moz-linear-gradient(left top, left bottom, from(#7F87C6), color-stop(20%, #2239A1)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:nnoremap ZZ :silent w !xclip<enter> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
const CRC32_IEEE: u32 = 0xedb88320; | |
fn crc32_table(poly: u32) -> [u32; 256] { | |
let mut table = [0u32; 256]; | |
for i in 0..table.len() { | |
let mut val = i as u32; | |
for _ in 0..8 { | |
val = if val&1 == 1 { | |
(val >> 1) ^ poly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Auth exposing (User(..), UserInfo, LoginInfo, loginTask) | |
import HttpBuilder exposing (..) | |
import Json.Encode as Encode | |
import Json.Decode as Decode exposing ((:=)) | |
import Task exposing (Task) | |
type User | |
= Authenticated UserInfo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module OptionTree exposing (..) | |
type Node meta a | |
= Tree meta (List (Node meta a)) | |
| OneOf (List a) | |
| ManyOf (List a) | |
I hereby claim:
- I am scjudd on github.
- I am scjudd (https://keybase.io/scjudd) on keybase.
- I have a public key ASC0pMfg2B6QkZug2MJBEev0PVbchBeTaUbGXFu0LuamiQo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once('wp-blog-header.php'); | |
require_once('wp-includes/registration.php'); | |
$username = 'spencer'; | |
$password = 'f00b4rb4z!'; | |
$email = '[email protected]'; | |
if (!username_exists($username) && !email_exists($email)) { |
OlderNewer