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/perl | |
##################################################### | |
# OpenVPN config tool for vpngate | |
# http://www.vpngate.net/en/ | |
# | |
# get OpenVPN config files from vpngate server list | |
# | |
# Author: @xatierlikelee | |
# License: GPL |
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
ZSH=$HOME/.oh-my-zsh | |
ZSH_THEME="agnoster" | |
zstyle :omz:plugins:ssh-agent agent-forwarding on | |
zstyle :omz:plugins:ssh-agent identities id_rsa | |
export UPDATE_ZSH_DAYS=13 | |
plugins=(rails osx zsh-syntax-highlighting common-aliases sudo wd dircycle last-working-dir brew gitfast git-extras rvm gem capistrano redis-cli docker vagrant npm pip supervisor autojump ssh-agent httpie urltools screen sprunge web-search) | |
source $ZSH/oh-my-zsh.sh | |
POWERLINE_FULL_CURRENT_PATH="true" | |
POWERLINE_DETECT_SSH="true" |
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/env /usr/local/bin/zsh | |
for repo (`cat .repos`); do | |
echo -n "Trying repo $repo..." | |
git ls-remote --exit-code "$repo" HEAD &> /dev/null | |
if [ $? -eq 0 ]; then | |
echo "OK" | |
paths=(${(s:/:)repo}) | |
rpath="./"$paths[-1] | |
if [[ -d $rpath ]]; then |
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/sh | |
echo -n "0" | |
find /User/Applications/ -name iTunesMetadata.plist -exec plutil -key itemName {} \; >names.txt | |
#bundleDisplayName | |
sort names.txt >names.s.txt | |
echo -n "1" | |
find /User/Applications/ -name iTunesMetadata.plist -exec plutil -key softwareVersionBundleId {} \; >ids.txt |
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/sh | |
echo -n "0" | |
find /User/Containers/Bundle/Application/ -name iTunesMetadata.plist -exec plutil -key itemName {} \; >names.txt | |
#bundleDisplayName | |
sort names.txt >names.s.txt | |
echo -n "1" | |
find /User/Containers/Bundle/Application/ -name iTunesMetadata.plist -exec plutil -key softwareVersionBundleId {} \; >ids.txt |