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
# APP redirects | |
if ($http_user_agent ~* "iphone|ipod|ipad|appletv") { | |
rewrite ^/adl/(.*)$ https://itunes.apple.com/us/app/apple-store/id375380948?mt=8¶ms=$1 redirect; | |
} | |
if ($http_user_agent ~* "android") { | |
rewrite ^/adl/(.*)$ https://play.google.com/store/apps/details?id=com.app.witpay¶ms=$1 redirect; | |
} | |
if ($http_user_agent ~* "Windows") { | |
rewrite ^/adl/(.*)$ https://example.com/$1 redirect; |
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
ServerAliveInterval 60 | |
StrictHostKeyChecking no | |
Host awesome-dev | |
Hostname xx.xx.xxx.xx | |
User <username> | |
IdentityFile ~/.ssh/dev-serverkeyfile.pem | |
Host awesome-prod | |
Hostname xx.xx.xxx.xx | |
User <username> |
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
syntax on | |
set ai | |
set number | |
set mouse+=a | |
set tabstop=2 | |
set shiftwidth=2 | |
set softtabstop=2 | |
set expandtab " use spaces instead of tabs. | |
set smarttab " let's tab key insert 'tab stops', and bksp deletes tabs. | |
set shiftround " tab / shifting moves to closest tabstop. |
OlderNewer