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
# Prompt | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
export PS1="\[\033[31;38m\]\u@\h\[\033[00m\]:\[\033[31;38m\]\w\[\033[1;31m\]\$(parse_git_branch)\[\033[00m\] " | |
# Editor | |
export GIT_EDITOR='nano -Y patch' |
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
a:link { color:white } | |
img { | |
height:600px; | |
width:300px; | |
position: relative; | |
} | |
ul { | |
list-style-type: none; | |
padding:0; | |
} |
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
update tguseat set isprimary = '0', lastupdate = 77 where (iddosdossier, iddicseat) in ( | |
select iddosdossier, min(iddicseat) from tguseat where isprimary = 1 and validto is null | |
and iddosdossier in (416208,416435,429129,429328,431882,431946,435762,436370,438104,439762,440051,440224,441330,442601,447591) group by iddosdossier | |
); |
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
for remote in `git branch -r | grep -v master `; do git checkout --track $remote ; done |
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
Enable sparse-checkout: | |
git config core.sparsecheckout true | |
Configure sparse-checkout by listing your desired sub-trees in .git/info/sparse-checkout: | |
echo some/dir/ >> .git/info/sparse-checkout | |
echo another/sub/tree >> .git/info/sparse-checkout | |
Update your working tree: | |
git read-tree -mu HEAD |
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
~/MyProject/src/main/java% wsimport -p com.any.package.name.stub -keep -Xnocompile 'http://urlToGetWsdl?wsdl' |
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
import oracle.jbo.ApplicationModule; | |
import oracle.jbo.Row; | |
import oracle.jbo.ViewObject; | |
import oracle.jbo.client.Configuration; | |
public class TestClient { | |
public static void main(String[] args) { | |
String amDef = | |
"com.packtpub.adfguide.ch2.model.service.HRServiceAppModule"; | |
String config = "HRServiceAppModuleLocal"; | |
ApplicationModule am = |
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
$ svn status --no-ignore | |
$ svn propget svn:ignore | |
$ svn propset svn:ignore "*.xml" dir_name |
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
git config --global core.excludesfile '~/.gitignore' |
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
git reset --hard # removes staged and working directory changes | |
git clean -f -d # remove untracked files | |
git clean -f -x -d # CAUTION: as above but removes ignored files like config. | |
http://www.kernel.org/pub/software/scm/git/docs/git-clean.html |
OlderNewer