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
| #!/bin/bash | |
| #simple password geenrator based on sha1 hashing and base64 encoding. | |
| #needs grep,read and sha1sum, base64 | |
| #written in bash 4.3.18 | |
| # | |
| #added case-insensitivity in "INDEX" | |
| #added master password hash generation | |
| #added timing - clear screen after a time | |
| #added hash based pasword checking (prompting for master password) |
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
| #!/bin/bash | |
| #this script backs up files from various locations in a remote computer. | |
| #using scp to SFTP the files from remote. | |
| #files are stored as they are to / in $backupdir (hierarchy preserved), either specify absolute path for backupdir, or use $rootdir as a container | |
| #in future this script will be run as a cronjob | |
| #have to provide password everytime, TODO setup keys (although this has nothing to do with the script) | |
| #usage: files that are to be backed up from pi (mainly configs and server settings) |
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
| #!/bin/bash | |
| #script for scraping movie IDs and name ids from IMDb. This script recusively crawls IMDb pages and extracts related movie/people/character ids and stores them in txt files. | |
| #USAGE: -getid => gets movie ids into list_(imdb|name|character)_id.txt | |
| # -getinfo=> gets data(XML/JSON/JSONP) and puts in store_data | |
| # -print => prints current id/info status | |
| # | |
| #Added functionality to get data from omdbapi in JSON/XML format. Tweak custom URL according to need. | |
| #Added functionality to get data from myapifilms in JSON/XML/JSONP format. Tweak custom URL according to need. | |
| #CAUTION: DON'T RUN -getid and -getinfo together in same argument rather use separate windows!! | |
| ######################################################################## |
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
| #!/bin/bash | |
| #script to copy the dotfiles to/from here to/from their proper places | |
| #added file structure preservation - files are copied to their location related to root | |
| #added logging errors | |
| #to clone/sync my dotfiles: git clone https://github.com/arpanpal010/dotfiles.git | |
| #Usage: | |
| #$ sh linkthedots.sh collect --> get files |
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
| #!/usr/bin/python | |
| from __future__ import print_function | |
| import sys, hashlib, os, shutil, time | |
| from collections import Counter | |
| #function to remove duplicates in folder by genrating and comparing their hash values | |
| #has option to remove file automatically or move them to a separate place. |
NewerOlder