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
#################################################################################### | |
## ## | |
## gittyup() - Easily keep master in sync with upstream. ## | |
## ## | |
## Author: Evan Coury, http://blog.evan.pro/ ## | |
## URL: https://gist.github.com/1506822 ## | |
## ## | |
## This bash function is a simple shortcut for keeping your local (and public ## | |
## fork / origin remote) master branch up to date and in sync with the upstream ## | |
## master. To use gittyup(), simply drop this in your ~/.bashrc. ## |
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
[ecoury@evan-laptop zf2 (master)]$ find ./library/Zend -type f -name '*.php' | xargs grep -ne '@[A-Za-z_][A-Za-z0-9_]*(' | |
./library/Zend/Ldap/Ldap.php:162: $ret = @ldap_get_option($this->_resource, LDAP_OPT_ERROR_NUMBER, $err); | |
./library/Zend/Ldap/Ldap.php:191: $estr1 = @ldap_error($this->_resource); | |
./library/Zend/Ldap/Ldap.php:193: $estr1 = @ldap_err2str($errorCode); | |
./library/Zend/Ldap/Ldap.php:199: @ldap_get_option($this->_resource, LDAP_OPT_ERROR_STRING, $estr2); | |
./library/Zend/Ldap/Ldap.php:646: @ldap_unbind($this->_resource); | |
./library/Zend/Ldap/Ldap.php:719: $resource = ($useUri) ? @ldap_connect($this->_connectString) : @ldap_connect($host, $port); | |
./library/Zend/Ldap/Ldap.php:726: if (@ldap_set_option($resource, LDAP_OPT_PROTOCOL_VERSION, 3) && | |
./library/Zend/Ldap/Ldap.php:727: @ldap_set_option($resource, LDAP_OPT_REFERRALS, $optReferrals)) { | |
./library/Zend/Ldap/Ldap.php:728: if ($useSsl || !$useStartTls |
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
find . -name '*.c' -type f -exec sed -i 's/\.git\([\"\/]\)/\.get\1/g' {} \; | |
find . -name '*.h' -type f -exec sed -i 's/\.git\([\"\/]\)/\.get\1/g' {} \; | |
find . -name '*.c' -type f -exec sed -i 's/\.gitignore/\.getignore/g' {} \; | |
find . -name '*.c' -type f -exec sed -i "s/!= 'i')/!= 'e')/g" {} \; |
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
Perspectives: | |
perspective_id name parent_perspective_id | |
1 StoreA English NULL | |
2 StoreA Dutch 1 | |
3 StoreB NULL | |
4 StoreB (TEST) 3 | |
======================================================== | |
Entry points: |
NewerOlder