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 | |
alias s.g='. $HOME/.git_aliases' | |
### Git Aliases | |
alias gA='echo $ git add -A; git add -A;' | |
alias gcb='git branch | grep "*" | cut -c3-' | |
alias gcm='echo $ git checkout master; git checkout master;' | |
alias gf='echo $ git fetch --all --prune; git fetch --all --prune;' | |
alias ggc='git gc --aggressive --prune=1w' |
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/sh | |
# https://stackoverflow.com/questions/7726949/remove-local-branches-no-longer-on-remote | |
git branch --merged >/tmp/merged-branches && vi /tmp/merged-branches && xargs git branch -d </tmp/merged-branches | |
rm /tmp/merged-branches |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE log4j:configuration> | |
<Configuration status="WARN"> | |
<Appenders> | |
<File fileName="logs/InfoLogs.log" name="infoFile" append="false"> | |
<PatternLayout pattern="[%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} | %c{1} %L - %msg%n" /> | |
</File> | |
<File fileName="logs/ErrorLogs.log" name="errorFile" append="false"> | |
<PatternLayout pattern="[%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} | %c{1} %l - %msg%n" /> | |
</File> |
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
# Compiled class file | |
*.class | |
target/ | |
bin/ | |
\.settings/ | |
\.project$ | |
\.classpath$ | |
# Log file | |
*.log |
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 | |
find . -type f \ | |
\( -not -path "*/.git/*" \ | |
-and -not -path "*/target/*" \ | |
-and -not -path "*/.metadata/*" \ | |
-and -not -path "*/.sonar*/*" \) \ | |
-exec grep -Iq . {} \; \ | |
-exec grep -U $'\015' {} \; \ | |
-exec dos2unix {} \; \ | |
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
[color] | |
ui = auto | |
[core] | |
autocrlf = false | |
longpaths = true | |
[credential] | |
helper = wincred | |
useHttpPath = true | |
[http] | |
sslVerify = true |
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
@ECHO OFF | |
SET GROUPID=%1 | |
SET ARTIFACTID=%2 | |
mvn archetype:generate^ | |
-DinteractiveMode=false^ | |
-DarchetypeArtifactId=maven-archetype-quickstart^ | |
-DgroupId=%GROUPID%^ | |
-DartifactId=%ARTIFACTID% | |
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
Option Explicit | |
Sub CreatePayPeriod() | |
Dim colStart, colLast, colIndex, colSum | |
Dim colSumLetter, colLetter, colStartLetter, colLastLetter, colSecondWeekLetter | |
Dim rowDate, rowSum, intWeekend, rowDay, rowHourStart, rowHourLast, rowAccum, rowLast | |
Dim rowSecondWeekSum, rowSecondWeekAccum, secondWeek | |
Dim dtStart, dtCurrent, dtLast | |
Dim i | |
Dim colRows As Collection |
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
# generated by Git for Windows | |
test -f ~/.profile && . ~/.profile | |
test -f ~/.bashrc && . ~/.bashrc | |
trap 'test -n "$SSH_AGENT_PID" && eval `/usr/bin/ssh-agent -k`' 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
#!/usr/bin/bash | |
alias .......='cd ../../../../../..' # 6 Back | |
alias ......='cd ../../../../..' # 5 Back | |
alias .....='cd ../../../..' # 4 Back | |
alias ....='cd ../../..' # 3 Back | |
alias ...='cd ../..' # 2 Back | |
alias ..='cd ..' # 1 Back | |
NewerOlder