Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
– The Git website
Choose one of the following options.
| """ | |
| A script for downloading some podcasts and tagging the files so I can import them to iTunes. | |
| """ | |
| import pycurl | |
| import os.path | |
| import sys | |
| from BeautifulSoup import BeautifulStoneSoup | |
| import eyed3 |
| #!/usr/bin/python | |
| # git config annex.iwebftp-hook "/usr/local/bin/git-annex-ftp.py -s prefix.iweb-storage.com -u prefix-admin -p password" | |
| # git annex initremote iwebftp type=hook hooktype=iwebftp encryption=none | |
| from ftplib import FTP, error_perm | |
| import os, argparse | |
| parser = argparse.ArgumentParser(description='Combined hook for FTP remotes in git-annex') | |
| parser.add_argument('-s', '--server', required=True, help='the FTP host name or IP address') |
| #!/bin/bash | |
| ## List all manually installed packages on a debian/ubuntu system | |
| ## manually installed means: | |
| ## 1. not pre-installed with the system | |
| ## 2. not marked auto-installed by apt (not dependencies of other | |
| ## packages) | |
| ## Note: pre-installed packages that got updated still needs to be | |
| ## filtered out. |
| #! /bin/bash | |
| # Batch Convert Script by StevenTrux | |
| # The Purpose of this Script is to batch convert any video file to mp4 or mkv format for chromecast compatibility | |
| # this script only convert necessary tracks if the video is already | |
| # in H.264 format it won't convert it saving your time! | |
| # Put all video files need to be converted in a folder! | |
| # the name of files must not have " " Space! | |
| # Rename the File if contain space |
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| # Python script to find the largest files in a git repository. | |
| # The general method is based on the script in this blog post: | |
| # http://stubbisms.wordpress.com/2009/07/10/git-script-to-show-largest-pack-objects-and-trim-your-waist-line/ | |
| # | |
| # The above script worked for me, but was very slow on my 11GB repository. This version has a bunch | |
| # of changes to speed things up to a more reasonable time. It takes less than a minute on repos with 250K objects. | |
| # |
| /* | |
| nodejs | |
| Clone all starred repositories | |
| Planned on running this on a cron to clone/pull repos I have starred. | |
| Right now can only do the first 30 because of github api limit. | |
| Need to paginate! |
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
– The Git website
Choose one of the following options.
| import os | |
| import re | |
| #it's supposed that you are in "state" directory | |
| #~/.config/deluge/state | |
| f = open("torrents.state") | |
| buf = f.read() | |
| f.close() | |
| p = re.findall("sg21\\nS\'([^']+)", buf) | |
| t = re.findall("sg25\\nS\'(\w+)\'", buf) |
| #!/bin/bash | |
| # Modified Pi-hole script to generate a generic hosts file | |
| # for use with dnsmasq's addn-hosts configuration | |
| # original : https://github.com/jacobsalmela/pi-hole/blob/master/gravity-adv.sh | |
| # The Pi-hole now blocks over 120,000 ad domains | |
| # Address to send ads to (the RPi) | |
| piholeIP="192.168.1.1" | |
| outlist='./final_blocklist.txt' |
To accomplish this tutorial you already need a previous copy of OSX installed on VMWare Player or Workstation.
First of all you need to acquire a legal copy of OSX El Capitan from the App Store. This tutorial will not cover this part. Sorry :)
Download the latest version of VMWare Unlocker and use the relative binary to unlock it ( based on your Host OS ).