-
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
/* | |
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
: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
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
<?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
# enable PHP error logging | |
php_flag log_errors on | |
php_value error_log ./PHP_errors.log |
NewerOlder