Skip to content

Instantly share code, notes, and snippets.

@tydira
tydira / libtorrent and rtorrent on mac.sh
Created January 30, 2018 05:45 — forked from pyed/libtorrent and rtorrent on mac.sh
Compiling rtorrent on a mac
#!/bin/bash
# Installs the XCode command line tools if you don't have them
xcode-select --install
# Installs brew if you don't have it
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Makes your account the owner of /usr/local, which is preferred on single user Macs
sudo chown -R `whoami` /usr/local
# Installs all the dependencies for building libtorrent and rtorrent
brew install automake libtool boost curl lzlib libsigc++ openssl pkg-config xmlrpc-c
# Uninstall libtorrent-rasterbar if you already have it
<!doctype html>
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ -->
<html>
<head>
<title>iOS 8 web app</title>
<!-- CONFIGURATION -->
#!/usr/bin/env sh
sudo defaults write -g ApplePressAndHoldEnabled -bool false
sudo defaults write -g NSScrollViewRubberbanding -int
sudo defaults write com.apple.iTunes disable-elastic-scroll -bool YES