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
| repairLinks() { for l in `ls -la | grep '\->' | grep "${1}" | awk '{print $9 "->" $11}'`; do t=`echo ${l%->*}`; o=`echo ${l#*->}`; s=`echo $o | sed "s/${1}/${2}/"`; echo "moving link ${t} from ${o} to ${s}"; rm -f $t; ln -s $s $t; done } | |
| # example usage | |
| # ------------- | |
| # repairLinks mholm holmi09 |
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
| #!/bin/bash | |
| echo PRUNING && \ | |
| git fetch --prune && \ | |
| branches=$(git branch --remotes --merged origin/master | grep -v origin/master | sed 's, origin/, :,' | tr -d '\n') && \ | |
| cmd="git push origin ${branches}" && \ | |
| echo "RUNNING ${cmd}" && \ | |
| ${cmd} |
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
| SELECT | |
| a.SID, | |
| a.serial#, | |
| b.spid, | |
| a.username, | |
| a.ecid request_id, | |
| a.client_identifier client_id, | |
| a.sql_id, | |
| a.sql_child_number as child#, | |
| CASE |
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
| javascript:(function() { | |
| var e = document.getElementById('pull_request_body'); | |
| if (e) { | |
| if (e.value) { | |
| e.value += '\n\n'; | |
| } | |
| e.value += ' | |
| #### What does this PR do?\n\n | |
| #### Any background context you want to provide?\n\n | |
| #### Where should the reviewer start?\n\n |