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
URL_HTML=$1 | |
OUT=$2 | |
if [ "x$URL_HTML"="x" || "x$OUT"="x" ] | |
then | |
echo "$0 html outfile" | |
exit 1 | |
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
ls *.txt | xargs.exe -I{} sh -c "tail -f {} | sed 's/\(.*\)/{} \1/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
[Credentials] | |
aws_access_key_id = ----- | |
aws_secret_access_key = ------ | |
[Boto] | |
ec2_version = 2012-12-01 | |
ec2_region_name = eu-west-1 |
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
IFS=$(echo -en "\n\b") | |
echo > bash_encode.bat | |
for f in `find -type f -name '*.MOV'`; | |
do | |
SRC=`cygpath -wa $f` | |
ARCHIVE_TMP=$(dirname $(echo $f | sed 's#\./#../archives/#g')) | |
ARCHIVE=$(cygpath -wa $ARCHIVE_TMP) | |
DST=$(echo $SRC | sed 's/MOV/mp4/g') | |
if [ ! -f $DST ] | |
then |
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
global | |
log 127.0.0.1 local1 notice | |
#chroot /var/lib/haproxy | |
user haproxy | |
group haproxy | |
# daemon | |
stats socket /var/run/haproxy_${ENV}.sock mode 600 level admin | |
defaults | |
log global |
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
# map http://nginx.org/en/docs/http/ngx_http_map_module.html#map | |
# dns https://www.jethrocarr.com/2013/11/02/nginx-reverse-proxies-and-dns-resolution/ | |
# http://www.senginx.org/en/index.php/Dynamic_DNS_Resolve | |
events { | |
worker_connections 4096; ## Default: 1024 | |
} | |
http { | |
index index.html index.htm index.php; |
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
-Doracle.jdbc.Trace=true -Djava.util.logging.config.file=/app/jboss/server/PFSERV_BO01/OracleLog.properties |
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
C-xC-e editor | |
Ctrl + A or Home Moves the cursor to the start of a line. | |
Ctrl+ E or End Moves the cursor to the end of a line. | |
Esc + B Moves to the beginning of the previous or current word. | |
Ctrl + K Deletes from the current cursor position to the end of the line. | |
Ctrl + U Deletes from the start of the line to the current cursor position. |
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
sudo apt-get -y install git-core gitg gedit gedit-plugins gparted bleachbit gnome-do |
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
curlp 'p1-hapi-catalogsearchb01:9200/xwing*/_search?q=idKey:ANT_1172431_57&fields:_id&size=500' | jq '.hits.hits[]._source | |
OlderNewer