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 | |
/* | |
Plugin Name: Gisted | |
Plugin URI: http://jeffsebring.com/wordpress/plugins/gisted | |
Description: Print your Github Gists as HTML on your WordPress blog | |
Author: Jeff Sebring | |
Version: 0.1.2 | |
Author URI: http://jeffsebring.com/ | |
Copyright 2012 Jeff Sebring |
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 | |
# Turn on Caching | |
#define('WP_CACHE', true); | |
# Set the Memory Limit | |
#define('WP_MEMORY_LIMIT', '64M'); | |
# Development Table prefix | |
#$table_prefix = 'dev_'; |
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
if (!-e $request_filename) { | |
rewrite ^(.+)$ /index.php?q=$1 last; | |
} |
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
#sidebar { | |
width: 100%; | |
@media only screen and ( min-width: 480px; ) { | |
width: 33.33333%; | |
float: right; | |
} | |
} |
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
#!/usr/bin/env ruby | |
# Author: Jeff Sebring | |
# Script: Zip DB | |
# Date: 6.2.2012 | |
# Description: Dump and Zip a MYSQL Database and save like 6 keystrokes! | |
puts 'Enter the Database Name: ' | |
db = gets.chomp | |
dump = `sudo mysqldump -u root -p #{db} | gzip > #{db}.sql.gz` |
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
#!/bin/bash | |
cd /etc/pacman.d | |
cp mirrorlist mirrorlist.backup | |
rankmirrors -n 6 mirrorlist.backup > mirrorlist | |
pacman -Syy | |
pacman-key --init; pacman-key --populate archlinux | |
pacman -Syu --ignore filesystem && pacman -S filesystem --force && reboot |
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
#!/bin/bash | |
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
#!/bin/bash | |
xrandr --output DVI-I-1 --mode 1920x1080 --output DVI-I-2 --mode 1920x1080 --right-of DVI-I-1 |
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
.position-relative | |
position: relative | |
.float-left | |
float: left | |
.float-right | |
float: right | |
.float-none |