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
/* .clear rules may be removed if you have them already in your custom.css */ | |
.clear { | |
clear:both; | |
} | |
/* share buttons */ | |
#social_buttons { | |
clear:both; | |
margin-bottom:1.5em; | |
} | |
.custom_share_button_box { |
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 | |
function custom_body_class_event($classes) { | |
$classes[] .= '" onload="setMoveType();'; | |
return $classes; | |
} | |
add_filter('thesis_body_classes', 'custom_body_class_event',99,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
/* PROFILE FORM ON FRONT */ | |
.custom form#your-profile table { | |
width:100%; | |
} | |
.custom form#your-profile table td span,.custom form#your-profile table td p.indicator-hint { | |
clear:both; | |
display:block; | |
text-align:right; | |
} |
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
/* Facebook Like Box */ | |
.fb-like { | |
float: right; | |
margin: 0 0 5px 15px; | |
} | |
/* Facebook Comments Plugin */ | |
.fb-comments { | |
margin-top: 20px; | |
background: #f9f9f9; |
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
/* | |
* jQuery UI CSS Framework 1.8.17 | |
* | |
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
* Dual licensed under the MIT or GPL Version 2 licenses. | |
* http://jquery.org/license | |
* | |
* http://docs.jquery.com/UI/Theming/API | |
*/ | |
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 | |
if (! defined('ABSPATH')) | |
die('Please do not directly access this file'); | |
include_once(TEMPLATEPATH . '/functions.php'); | |
class thesis_child_theme_example extends thesis_custom_loop { | |
public function __construct() { |
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
// ==UserScript== | |
// @name Google Redirect Remove | |
// @id google_redirect_remove | |
// @namespace scripts.zachbrowne.com | |
// @description Remove URL redirection from google sites | |
// @license GPL v3 | |
// @include *://www.google.*/*q=* | |
// @include *://www.google.*/*tbs=* | |
// @include *://www.google.*/search?* | |
// @include *://www.google.*/webhp?* |
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
// ==UserScript== | |
// @name YouTube Downloader | |
// @id youtube_downloader | |
// @namespace scripts.zachbrowne.com | |
// @description Download YouTube videos with one click. | |
// @author Zach Browne | |
// @license GPL v3 | |
// @version 1.4 | |
// @include http://www.youtube.com/watch?v=* | |
// @include http://www.youtube.com/watch?feature=* |
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
1. apt-get update && apt-get upgrade | |
2. apt-get install apache2 | |
3. su - zach | |
4. bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) | |
5. source ~/.bash* | |
6. sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion | |
7. rvm install 1.9.3 | |
8. rvm use 1.9.3 --default | |
9. gem install rails | |
10. gem install passenger |
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
alias fix='sudo find /home/zach/www/*/public -type d -exec chmod 755 {} \; && sudo find /home/zach/www/*/public -type f -exec chmod 644 {} \; && sudo chown -R zach:zach /home/zach && sudo chown -R www-data:www-data /home/zach/www/*/public' |