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 | |
# Memory usage script for WebFaction customers adapted to attempt to | |
# draw username from the pwd | |
# Nick Trew <vxnick@gmail.com> | |
# 2009-05-25 | |
# START CONFIG # | |
require 'pathname' |
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
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto | |
ui = true | |
pager = true | |
[color "branch"] | |
current = yellow reverse |
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/sh | |
# Shell script to install your public key on a remote machine | |
# Takes the remote machine name as an argument. | |
# Obviously, the remote machine must accept password authentication, | |
# or one of the other keys in your ssh-agent, for this to work. | |
ID_FILE="${HOME}/.ssh/id_rsa.pub" | |
if [ "-i" = "$1" ]; then |
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
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
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 | |
/** | |
* Gets the current global post type if one is set | |
*/ | |
function x_get_current_post_type() { | |
global $post, $typenow, $current_screen; | |
if( $post && $post->post_type ) | |
$post_type = $post->post_type; | |
elseif( $typenow ) |
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
https://gist.github.com/ce2eda8ad7ae450ee73a |
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
git checkout master; git clone git@switchyard.beanstalkapp.com:galois.git tmp; rm -rf .git; mv tmp/.git .git; rm -rf tmp; git reset --hard origin/master |
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
http://jsfiddle.net/b55Cz/9/ |
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
http://rally-asu-superbowl.s3.amazonaws.com/ASU_Reaching_New_Heights_20k.webm | |
http://rally-asu-superbowl.s3.amazonaws.com/ASU_Partnering_for_Impact_20k.webm | |
http://rally-asu-superbowl.s3.amazonaws.com/ASU_MarsRover_20k.webm | |
http://rally-asu-superbowl.s3.amazonaws.com/ASU_Evolving_Education_20k.webm | |
http://rally-asu-superbowl.s3.amazonaws.com/output/Keyframed-ASU%20Did%20you%20Know-Partnering%20for%20Impact_hd.webm | |
http://rally-asu-superbowl.s3.amazonaws.com/output/Keyframed-ASU%20Did%20you%20Know-Reaching%20New%20Heights%20in%20service_hd.webm | |
http://rally-asu-superbowl.s3.amazonaws.com/output/Keyframed-ASU%20Did%20you%20Know-Evolving%20Through%20Education_hd.webm | |
http://rally-asu-superbowl.s3.amazonaws.com/output/Keyframed-ASU%20Did%20you%20Know-Mars%20Rover_hd.webm |
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
$ magerun dev:setup:script:attribute catalog_product product_finish | |
<?php | |
$setup = new Mage_Catalog_Model_Resource_Setup('core_setup'); | |
$attr = array ( | |
'attribute_model' => NULL, | |
'backend' => NULL, | |
'type' => 'int', |
OlderNewer