- https://play.google.com/store/apps/details?id=com.redcarpetup.rewardpay - customer payment, rewards and discovery app
- https://play.google.com/store/apps/details?id=com.redcarpetup.merchantapp - merchant billing app
- https://www.dropbox.com/s/8rq7sufcrntq8np/RC_Prod_7ab1c12_10March_Payment_Only.exe?dl=0 - POS integrated platform
- http://www.redcarpetup.com/merchants/10 - our merchant page with live instore activity
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
install -d -g root /var/log/journal | |
setfacl -R -nm g:adm:rx,d:g:adm:rx /var/log/journal | |
#in /etc/systemd/journald.conf | |
#comment the following | |
`#ForwardToSyslog= | |
#ForwardToKMsg= | |
#ForwardToConsole=` |
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
Parameter settings: | |
LeftEdge = 300 | |
RightEdge = 1700 | |
TopEdge = 210 | |
BottomEdge = 1190 | |
FingerLow = 5 | |
FingerHigh = 7 | |
MaxTapTime = 200 | |
MaxTapMove = 107 | |
MaxDoubleTapTime = 200 |
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 install build-essential libreadline-dev libssl-dev zlib1g-dev libxml2-dev libxslt-dev git libpq-dev libmysqlclient-dev libpq-dev nodejs libcurl4-openssl-dev libffi-dev imagemagick libjpeg-progs pngcrush cmake qt4-qmake libqt4-dev sni-qt | |
wget https://www.python.org/ftp/python/2.7.8/Python-2.7.8.tgz | |
tar zxvof Python-2.7.8.tgz | |
cd Python-2.7.8 | |
./configure --prefix=$PWD/release --enable-shared --enable-unicode=ucs2 LDFLAGS=-Wl,-rpath=$PWD/release/lib | |
make | |
make install | |
#your new python is in Python-2.7.8/release/bin/python |
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
aws s3api --profile redcarpetup_media list-objects --bucket media.chefatlarge.in --output json --query "[sum(Contents[].Size), length(Contents[])]" | awk 'NR!=2 {print $0;next} NR==2 {print $0/1024/1024/1024" GB"}' |
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
# in wp-config.php | |
define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST'] . '/recipedia'); | |
define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/recipedia'); | |
$_SERVER['REQUEST_URI'] = '/recipedia' . $_SERVER['REQUEST_URI']; | |
#in nginx config | |
location /recipedia/ { | |
proxy_pass http://127.0.0.1:85/; |
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
#These two lines were missing from my /etc/nginx/fastcgi_params, make sure they are there! | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
fastcgi_param PATH_INFO $fastcgi_script_name; |
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
#source | |
innobackupex --user=root --password=root /www/DB-BACKUP | |
#destination | |
scp root@server:/www/DB-BACKUP /tmp | |
innobackupex --apply-log --ibbackup=xtrabackup /tmp/DB-BACKUP/2015-09-16_12-05-39/ | |
innobackupex --copy-back /tmp/DB-BACKUP/2015-09-16_12-05-39/ | |
rm /var/lib/mysql-new/ib_logfile1 | |
rm /var/lib/mysql-new/ib_logfile0 |
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
# history | |
HISTFILE=~/.zsh_history | |
HISTSIZE=10000 | |
SAVEHIST=100000 | |
setopt appendhistory autocd extendedglob | |
setopt EXTENDED_HISTORY # puts timestamps in the history | |
BLACK="%{"$'\033[01;30m'"%}" | |
GREEN="%{"$'\033[01;32m'"%}" |
OlderNewer