Skip to content

Instantly share code, notes, and snippets.

View rishiag's full-sized avatar

Rishi Agarwal rishiag

  • New Delhi, India
View GitHub Profile
@rishiag
rishiag / build.sh
Last active August 29, 2015 14:16
cd code-repo
git pull origin master
rm ~/build-dir/code-repo.tar.gz
meteor build ~/build-dir/
cd ~/build-dir
value=`cat fileCheck`
if [ "$value" = "old" ]; then
rm -rf ~/build-dir/new
mkdir ~/build-dir/new
tar xzvf code-repo.tar.gz -C ~/build-dir/new
server {
listen 80;
server_name srvs.co;
location / {
proxy_pass http://localhost:3001;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
server {
listen 80;
server_name xitebattery.in;
location / {
proxy_pass http://localhost:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';

Keybase proof

I hereby claim:

  • I am rishiag on github.
  • I am rishiag (https://keybase.io/rishiag) on keybase.
  • I have a public key ASDqdcCzBVQxBIrIhl5jPBQ1imiORLTy0nBRrEYVajFoqwo

To claim this, I am signing this object:

{
nsrc=split($3,a,".")
ndst=split($5,b,".")
for (i=1;i<nsrc;i++)
{
{
nsrc=split($3,a,".")
ndst=split($5,b,".")
for (i=1;i<nsrc;i++)
{