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 | |
# | |
# Cygwin here for gnupack | |
# | |
# Require: | |
# - gnupack (http://gnupack.osdn.jp/) | |
# - <gnupack_root>/startup_config.ini | |
# [startup_cygwin.exe] | |
# Chdir_With_Clipboard = yes |
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 | |
computer_name=$(scutil --get ComputerName) | |
local_host_name=$(scutil --get LocalHostName) | |
host_name=$(scutil --get HostName) | |
echo "Computer Name : $computer_name" | |
echo "Local Host Name : $local_host_name" | |
echo "Host Name : $host_name" |
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 | |
computer_name=$(scutil --get ComputerName) | |
local_host_name=$(scutil --get LocalHostName) | |
host_name=$(scutil --get HostName) | |
echo "Current setting: " | |
echo " Computer Name : $computer_name" | |
echo " Local Host Name : $local_host_name" | |
echo " Host Name : $host_name" |
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 svnsync "Backlog" project repository. | |
# | |
if [ $# -ne 2 ]; then | |
echo "Usage: $0 [space key] [project key]" | |
exit 1; | |
fi |
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 | |
# | |
# Check for updated for Casks. | |
# | |
HOMEBREW_CASK_ROOT="/opt/homebrew-cask/Caskroom/" | |
TREE_COMMAND=`which tree` | |
JQ_COMMAND=`which jq` | |
if [ "" == $TREE_COMMAND ]; 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 | |
# | |
# How - cheat and tldr | |
# | |
function usage() | |
{ | |
cat << EOF | |
Display cheat sheet for command using 'cheat' and 'tldr' |
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 | |
TMP_DIR="ProvisioningPlists" | |
PROVISIONING_PROFILE_LIST=$(find ~/Library/MobileDevice/Provisioning\ Profiles/ -name "*.mobileprovision") | |
IFS=' | |
' | |
profile_list=($PROVISIONING_PROFILE_LIST) | |
rm -rf /tmp/${TMP_DIR}/ |
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 | |
DEVICE_PLIST=$(find ~/Library/Developer/CoreSimulator/Devices/ -name device.plist) | |
device_list=($DEVICE_PLIST) | |
devices=() | |
for i in "${device_list[@]}" | |
do | |
udid=$(/usr/libexec/PlistBuddy -c "Print UDID" ${i}) |
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 bash | |
# | |
# Check for updated for Casks. | |
# | |
CMDNAME=`basename $0` | |
update_mark="" | |
function usage() |
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 bash | |
# | |
# Remove applications that depends on the Homebrew Cask | |
# | |
CMDNAME=`basename $0` | |
update_mark="" | |
function usage() |
NewerOlder