Skip to content

Instantly share code, notes, and snippets.

View amitsin6h's full-sized avatar
💭
Just a tech

Amit singh amitsin6h

💭
Just a tech
View GitHub Profile
@amitsin6h
amitsin6h / backup_website.py
Created December 2, 2018 16:00
Python backup script to backup website
#!/usr/bin/python2.6
import os
import datetime
import tarfile
# CREATE TAR FOR FILES AND FOLDERS
@amitsin6h
amitsin6h / README.md
Created February 19, 2019 17:10 — forked from zulhfreelancer/README.md
How to install Flynn on single host (single-node mode)?

$ sudo bash -c "$(curl -s https://gist.githubusercontent.com/zulhfreelancer/0b87a274686cb4d98b8144e116c5117c/raw)"

@amitsin6h
amitsin6h / setup.sh
Created February 20, 2019 03:07 — forked from eduwass/setup.sh
Flynn Install : Single node ( for Ubuntu 14.04 x64 @ DigitalOcean droplet )
#!/bin/bash
# This script will automatically set up a single node Flynn Cluster on your linux box
# Fresh Flynn install with domain provided by the xip.io service
# Tested with Base Image: Ubuntu 14.04 x64 @ DigitalOcean droplet
# @date 16 Nov 2015
# @author Edu Wass (eduwass at gmail com)
echo '---- START SETUP ----'
@amitsin6h
amitsin6h / checkout-pull-request-locally.md
Last active June 6, 2019 04:35
How to checkout pull request locally and modify & resend, to master

$ git fetch origin

*From github.com:username/repo*

* [new ref] refs/pull/1000/head -> origin/pr/1000

* [new ref] refs/pull/999/head -> origin/pr/999

To check out a particular pull request:
@amitsin6h
amitsin6h / file1.txt
Created February 28, 2021 16:54
an API-created gist
Some lovely code, how nice!

This is content

This is content 2

This is content 2 project#1.md
This is content 2 project1.md

This is content 2 project1.md