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
set sqlprompt "&_USER@&_CONNECT_IDENTIFIER> " | |
define _editor='c:\Progra~1\Vim\vim72\gvim.exe --nofork' | |
rem ----- | |
rem Also add to filetype.vim | |
rem ------------------ |
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
if b=`git rev-parse --git-dir 2>/dev/null`; then | |
echo git here at $b | |
else | |
echo no git | |
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
#! /bin/sh | |
# See http://partmaps.org/era/unix/award.html#uuk9letter | |
string="$1" ; export string | |
scriptname=`basename $0` ; export scriptname | |
kps=`ps -ef|nawk '$0 ~ ENVIRON["string"] && $0 !~ ENVIRON["scriptname"] {print $2}'` | |
echo $string has PID \"$kps\" |
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
Query that might help locate item library files that have been inserted incorrectly | |
select filename | |
from pcms_item_data, pcms_workset_items, pcms_workset_info | |
where file_version > 1 | |
and lib_file_length = 0 | |
and pcms_workset_info.product_id = '$GENERIC' | |
and pcms_workset_info.workset_name = '$GLOBAL' | |
and pcms_workset_info.workset_uid = pcms_workset_items.workset_uid |
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 log --pretty=oneline --abbrev-commit --all --graph |
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
use the output of git log -1 '--pretty=format:%h %ai' (example: "d19611c 2009-10-01 01:58:19 -0400") | |
(from Nikolas Coukouma) |
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 ~/Dropbox -name '*conflicted copy*' |
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://pipes.yahoo.com/pipes/pipe.info?_id=cde169b7095489431b69b47395e07298 |
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
<?xml version="1.0" ?> | |
<?taskcoach release="0.77.0" tskversion="27"?> | |
<tasks> | |
<task id="168052332:1262058476.11" startdatetmpl="Today() + TimeDelta(0)" status="1" subject="Pomodoro Task"> | |
<description> | |
Estimated : xP | |
Actual (X): | |
Internal Interuptions ('): | |
External Interuption (-): |
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/bash | |
# Put this in your crontab to be notified when your repo is dirty or commits needs to be pushed to a remote. | |
# Example crontab: | |
# MAILTO=user@yourdomain | |
# 0 * * * Mon-Fri /path/to/check-repo-status /path/to/repo | |
cd $1 | |
git status | grep 'working directory clean' 2>/dev/null 1>/dev/null || { | |
git status | |
git diff | |
exit |
OlderNewer