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 | |
# | |
# This script depends on curl and rtmpdump. | |
# For playback I recommend mplayer. | |
# Suggestions are welcome. | |
# | |
RTMPDUMP="rtmpdump" # the name of the binary | |
set -eu |
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 | |
# | |
# Vimeo Downloader | |
# | |
# Copyright (C) 2008, 2010 Denver Gingerich | |
# Copyright (C) 2009 Jori Hamalainen | |
# | |
# Permission to use, copy, modify, and/or distribute this software for any | |
# purpose with or without fee is hereby granted, provided that the above | |
# copyright notice and this permission notice appear in all copies. |
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
# Configure Remote Management | |
kickstart -configure -allowAccessFor -allUsers -privs -all | |
# Enable Remote Management | |
kickstart -activate -restart -agent | |
# Disable Remote Management | |
kickstart -deactivate -stop |
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
# Enable Screen Sharing | |
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.screensharing.plist | |
# Disable Screen Sharing | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.screensharing.plist |
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 | |
USER_AGENT="iMacAppStore/1.0.1 (Macintosh; U; Intel Mac OS X 10.6.7; en) AppleWebKit/533.20.25" | |
STORE_URL="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewMultiRoom?fcId=489264329&mt=12&s=143461" | |
SEARCH_STRING="mountain lion" | |
clear; echo -n "Waiting for Mountain Lion" | |
while true; do | |
if curl -sA "$USER_AGENT" "$STORE_URL" | grep -i "$SEARCH_STRING" > /dev/null; then |
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
defaults write com.google.Chrome ExtensionInstallSources -array '"<all_urls>"' |
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
# Check here for the URL of the current release: http://get.adobe.com/de/flashplayer/ | |
curl -O http://fpdownload.macromedia.com/get/flashplayer/current/licensing/mac/install_flash_player_12_osx.dmg | |
# The -nobrowse prevents the mounted image from showing up in the OS X Finder | |
hdiutil attach -nobrowse install_flash_player_osx.dmg | |
# Non-interactive installation | |
cd /Volumes/Flash\ Player/Install\ Adobe\ Flash\ Player.app/Contents/Resources | |
sudo installer -verbose -pkg Adobe\ Flash\ Player.pkg -target / |
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
<!-- --> | |
<!-- See http://ethanschoonover.com/solarized --> | |
<!-- --> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ANSIBlackColor</key> | |
<data> |
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
# | |
# Heavily customized version of Sebastian Tramp's dircolors-solarized | |
# https://github.com/seebi/dircolors-solarized | |
# | |
# Below, there should be one TERM entry for each termtype that is colorizable | |
TERM ansi | |
TERM color_xterm | |
TERM color-xterm | |
TERM con132x25 |
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
lsregister -kill -r -v -all local,system,user |
OlderNewer