I hereby claim:
- I am tariquesani on github.
- I am tariquesani (https://keybase.io/tariquesani) on keybase.
- I have a public key ASAVmcBqc3-h15UgX6kWGuquaK4NJ3lbOnrkf3y8LK2HPwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import random | |
import traceback | |
import sys | |
import requests | |
from instapy import InstaPy | |
from instapy.util import smart_run | |
from tendo import singleton | |
bot = singleton.SingleInstance() # will sys.exit(-1) if other instance is running |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<!-- Bootstrap CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> | |
<style> |
# remove specified host from /etc/hosts | |
function removehost() { | |
if [[ "$1" ]] | |
then | |
HOSTNAME=$1 | |
if [ -n "$(grep $HOSTNAME /etc/hosts)" ] | |
then | |
echo "$HOSTNAME Found in your /etc/hosts, Removing now..."; | |
sudo sed -i".bak" "/$HOSTNAME/d" /etc/hosts |
#!/bin/bash | |
echo "Started watching (Press CRTL+C to quit) " | |
while true; do | |
inotifywait -q -e moved_to -r ./content | | |
while read path action file; do | |
echo "The file '$file' appeared in directory '$path' via '$action'" | |
if [ $file == 'contents.lr' ] | |
then |