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
function people_init() { | |
// create a new taxonomy | |
register_taxonomy( | |
'people', | |
'post', | |
array( | |
'label' => __( 'People' ), | |
'rewrite' => array( 'slug' => 'person' ), | |
'capabilities' => array( | |
'assign_terms' => 'edit_guides', |
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
// Register People Taxonomy | |
function custom_taxonomy() { | |
$labels = array( | |
'name' => _x( 'People', 'Taxonomy General Name', 'text_domain' ), | |
'singular_name' => _x( 'People', 'Taxonomy Singular Name', 'text_domain' ), | |
'menu_name' => __( 'Genre', 'text_domain' ), | |
'all_items' => __( 'All Genres', 'text_domain' ), | |
'parent_item' => __( 'Parent Genre', 'text_domain' ), | |
'parent_item_colon' => __( 'Parent Genre:', 'text_domain' ), | |
'new_item_name' => __( 'New Genre Name', 'text_domain' ), |
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
/* Flatten das boostrap */ | |
.well, .navbar-inner, .popover, .btn, .tooltip, input, select, textarea, pre, .progress, .modal, .add-on, .alert, .table-bordered, .nav>.active>a, .dropdown-menu, .tooltip-inner, .badge, .label, .img-polaroid { | |
-moz-box-shadow: none !important; | |
-webkit-box-shadow: none !important; | |
box-shadow: none !important; | |
-webkit-border-radius: 0px !important; | |
-moz-border-radius: 0px !important; | |
border-radius: 0px !important; | |
border-collapse: collapse !important; | |
background-image: none !important; |
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 echo `sudo su git pull 2>&1`;> |
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
navigator.registerProtocolHandler("github-mac", | |
"github.com", | |
"github"); |
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
//// | |
// | |
// General code from http://www.pushingbox.com for Arduino + Ethernet Shield (official) v1.2 | |
// | |
//// | |
#include <SPI.h> | |
#include <Ethernet.h> | |
// Pin for the LED |
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
push = +refs/heads/master:refs/heads/gh-pages | |
push = +refs/heads/master:refs/heads/master |
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
//#include <SoftwareSerial.h> | |
#include <SdFat.h> | |
// since the LCD does not send data back to the Arduino, we should only define the txPin | |
//#define txPin 4 // White wire from Serial LCD screen | |
//const int LCDdelay = 10; // conservative, 2 actually works | |
// SD card variables | |
const uint8_t chipSelect = 10; // CS from SD to Pin 10 on Arduino | |
SdFat sd; // file system object for SD card |
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
sudo gem update –-system |
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
qlmanage -r |