This file contains hidden or 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 | |
/** | |
* Theme activation/setup functions | |
* Notes: | |
* - after_switch_theme is triggered on the request immediately following a theme switch. | |
* - switch_theme is triggered when the blog's theme is changed. Specifically, it fires after the theme has been switched but before the next request. Theme developers should use this hook to do things when their theme is deactivated. | |
*/ | |
function corenominal_set_theme_options() | |
{ |
This file contains hidden or 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
#!/bin/bash | |
# To mount drives, add to fstab, e.g. | |
# =================================== | |
# UUID=5b4b881f-8d88-4faf-9e76-6bbed8e92002 /home/user/data-one ext2 auto 0 0 | |
# UUID=46910aac-a24e-422a-b871-74e0cbf4850c /home/user/data-two ext2 auto 0 0 | |
# Crontab entries | |
# =============== | |
# * * * * * /home/user/bin/camd.sh |
This file contains hidden or 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 | |
/** | |
* Github Gists | |
* Usage: [gist url="https://gist.github.com/corenominal/0efedf14eca28453a58e"] | |
*/ | |
function corenominal_shortcode_gist( $atts, $content = null) | |
{ | |
$atts = shortcode_atts( | |
array( | |
'url' => 'https://gist.github.com/corenominal/0efedf14eca28453a58e' |
This file contains hidden or 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 | |
/** | |
* Doh! | |
*/ | |
die('This is not the gist you are looking for!'); |
This file contains hidden or 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
# humanstxt.org/ | |
# The humans responsible & technology colophon | |
# TEAM | |
_ _ | |
___ ___ _ __ ___ _ __ ___ _ __ ___ (_)_ __ __ _| | | |
/ __/ _ \| '__/ _ \ '_ \ / _ \| '_ ` _ \| | '_ \ / _` | | | |
| (_| (_) | | | __/ | | | (_) | | | | | | | | | | (_| | | | |
\___\___/|_| \___|_| |_|\___/|_| |_| |_|_|_| |_|\__,_|_| |
This file contains hidden or 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
// Internal LEDs | |
int blue1 = 12; | |
int blue2 = 13; | |
// Eye LEDs | |
int led1 = 2; | |
int led2 = 3; | |
int led3 = 4; | |
int led4 = 5; | |
int led5 = 6; |
NewerOlder