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
path() | |
{ | |
_path=$1 | |
_r=$2 | |
_pathLength=${#_path} | |
_PATHH="" | |
if [ $_pathLength -gt '0' ]; then | |
if [ "$_r" = "r" ] | |
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
Running test suite. 24 files required. | |
.......................{ options: | |
{ data: { view: 'parents', key: '["grade",10]', include_docs: true }, | |
type: 'json', | |
url: 'http://localhost:3000/api/px/_design/app/_view/parents', | |
method: 'GET', | |
autosend: false }, | |
subject: | |
{ [Function: Grade] | |
__super__: |
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
// | |
// ABAppDelegate.m | |
// DualDisplayExample | |
// | |
// Created by James Womack on 1/30/13. | |
// Copyright (c) 2013 James Womack. All rights reserved. | |
// | |
#import "ABAppDelegate.h" | |
#import "ABTeacherViewController.h" |
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://trac.nginx.org/nginx/ticket/94 | |
brew uninstall pcre | |
mkdir -p ~/Documents/src/pcre_previous | |
sudo mv /usr/local/lib/libpcre* ~/Documents/src/pcre_previous | |
gem install passenger |
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
mk dir ~/opt_nginx_backup_250320131259/ | |
cp -R /opt/nginx/* ~/opt_nginx_backup_250320131259 | |
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
xcrm() | |
{ | |
RECEIPT_FILE=/var/db/receipts/com.apple.pkg.DeveloperToolsCLI.bom | |
RECEIPT_PLIST=/var/db/receipts/com.apple.pkg.DeveloperToolsCLI.plist | |
if [ ! -f "$RECEIPT_FILE" ] | |
then | |
echo "Command Line Tools not installed." | |
exit 1 | |
fi |
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
Chain INPUT (policy DROP) | |
target prot opt source destination | |
ufw-before-logging-input all -- anywhere anywhere | |
ufw-before-input all -- anywhere anywhere | |
ufw-after-input all -- anywhere anywhere | |
ufw-after-logging-input all -- anywhere anywhere | |
ufw-reject-input all -- anywhere anywhere | |
ufw-track-input all -- anywhere anywhere | |
Chain FORWARD (policy DROP) |
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
source ~/uninstall_ruby_2_gems.zsh | |
alias rgu='sudo rgu' |
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
:source $MYVIMRC "reload vimrc | |
:echo $MYVIMRC "show vimrc path |
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
select_menu_list = $('.js-pulse-period').first() | |
yearly_item = select_menu_list.find('.js-navigation-item').last().clone() | |
select_menu_list.find('.select-menu-list').first().append(yearly_item) | |
yearly_item.removeClass('navigation-focus') | |
yearly_item.find('.js-select-button-text').text('1 year') | |
yearly_item_input = yearly_item.find('input').first() | |
yearly_item_data_url = yearly_item_input.attr('data-url') |