This file contains 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
youtube-dl -x -o "%(title)s.%(ext)s" --match-title Samiyam -ciw ytuser:AngelPee91 |
This file contains 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
grep -o 'ed2k://[^"]*' page.html'' |
This file contains 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 | |
youtube-dl -x -o "%(title)s.%(ext)s" $1 |
This file contains 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 | |
# optional -volname "My Volume" | |
hdiutil create ${PWD##*/}.dmg -srcfolder . |
This file contains 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/sh | |
# url target | |
# wget | |
wget --continue $1 -O $2 | |
# curl | |
curl -C - -L -O $1 |
This file contains 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 | |
# usage svnexportpath.sh url | |
tree_master="tree/master" | |
svn export ${1/$tree_master/trunk} ${1##*/} |
This file contains 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 | |
sudo apt-get update && sudo apt-get upgrade | |
sudo apt-get install makepasswd rcs perl-doc libio-tee-perl git libmail-imapclient-perl libdigest-md5-file-perl libterm-readkey-perl libfile-copy-recursive-perl build-essential make automake libunicode-string-perl | |
cd $HOME | |
git clone git://github.com/imapsync/imapsync.git --depth 1 | |
cd imapsync | |
sudo make install | |
## Usage | |
# imapsync --host1 server1 -user1 user@server1 --password1 user1password --ssl1 --host2 server2 --user2 user@server2 --password2 user2password --ssl2 |
This file contains 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/env bash | |
# ----------------------------------------------------------------------------- | |
# Name : firmwhere | |
# Purpose : Lists and (optionally) downloads all iOS firmware updates | |
# Based on: https://gist.github.com/jordanmerrick/3447610 | |
# ----------------------------------------------------------------------------- | |
# set up a temporary file | |
file="$(/usr/bin/mktemp -q -t firmwhere)" |
This file contains 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
# Use like this "createdmg.sh foldername" | |
if (( "$#" != 0 )) | |
then hdiutil create -volname $1 -fs HFS+ -srcfolder $1 -ov -format UDZO $1.dmg | |
else | |
echo "Error: a folder is required to create the dmg file from" | |
fi |
This file contains 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
#Disables photos.app | |
# | |
#chmod +x photosdisable.sh | |
#./photosdisable.sh | |
sudo chmod -x /Applications/Photos.app/Contents/MacOS/Photos |
OlderNewer