evs C:/Program Files (x86)/Evernote/Evernote/ENScript.exe showNotes /q "$$"
evn C:\Program Files (x86)\Evernote\Evernote\Evernote.exe /NewNote
cmd C:\Windows\System32\cmd.exe
#!/usr/bin/python | |
import textwrap | |
from urllib import urlretrieve | |
from progressbar import ProgressBar, Percentage, Bar | |
from imgurpython import ImgurClient | |
#!/bin/bash | |
set -o nounset # Treat unset variables as an error | |
shopt -s extglob | |
configfile="file.properties" | |
WEB_VARIABLE_FROM_PARRENT="www.example.com" | |
tr -d '\r' < $configfile | while IFS='= ' read TARGETFILE VARNAME VARVALUE | |
do | |
# Don't declare variables here, you are in a sub-shell that dies |
# seq: no of processes | |
# RANDOM %3 max. delay of 2s | |
for i in $(seq 10); do ./bin/cmd --param1 --param2 > output_$i.txt 2>&1 & sleep $(($RANDOM %3));done |
@echo off | |
set CYGWIN=C:\usr\cygwin64 | |
set SH=%CYGWIN%\bin\bash.exe | |
"%SH%" -c "/usr/local/bin/ansible-winpath-playbook.sh %*" |
RewriteCond %{REQUEST_FILENAME} -f | |
RewriteCond %{REQUEST_URI} /images/documents [OR] | |
RewriteCond %{REQUEST_URI} /images/stories [OR] | |
RewriteCond %{REQUEST_URI} /media/kunena/attachments/ | |
RewriteCond %{HTTP_REFERER} !qgcio.qld.gov.au/.*$ [NC] | |
RewriteCond %{REMOTE_ADDR} !^172\.19\.2\.3$ | |
RewriteCond %{REMOTE_ADDR} !^119\.9\.16\.90$ | |
RewriteCond %{REQUEST_URI} !\.(jpg|png|gif)$ [NC] | |
RewriteRule .* https://www.example.com/ |
# /etc/apt/apt.conf.d/30detectproxy: | |
# Fail immediately if a file could not be retrieved. Comment if you have a bad | |
# Internet connection | |
Acquire::Retries 0; | |
# undocumented feature which was found in the source. It should be an absolute | |
# path to the program, no arguments are allowed. stdout contains the proxy | |
# server, stderr is shown (in stderr) but ignored by APT | |
Acquire::http::ProxyAutoDetect "/etc/apt/detect-http-proxy"; |
evs C:/Program Files (x86)/Evernote/Evernote/ENScript.exe showNotes /q "$$"
evn C:\Program Files (x86)\Evernote\Evernote\Evernote.exe /NewNote
cmd C:\Windows\System32\cmd.exe
for i in $(seq 10); do command ARG1 ARG2 > output_$i.txt 2>&1 & sleep $(($RANDOM %3));done |
#!/bin/bash | |
LV="$1" | |
distros=( el6 el7 ) | |
LOG="$HOME/deploy.log" | |
if type tput >/dev/null 2>&1; then | |
RED=$(tput setaf 1) | |
GREEN=$(tput setaf 2) | |
YELLOW=$(tput setaf 3) | |
BLUE=$(tput setaf 4) |