- Use an iPod or an iPad without a SIM card
- Use an iPhone
- Do not jailbreak
- Always upgrade to new iOS versions
- Use Brave browser
| #!/bin/bash -e | |
| # Wrapper for the toggle_alfred_theme.py script at | |
| # https://gist.github.com/deanishe/ce442c3a768adedc9c39 | |
| # (where this script also comes from) | |
| # | |
| # The purpose of this wrapper is to enable you to update the Python script | |
| # without having to edit the script to change the settings each time. You keep | |
| # them in here instead, and this script should hopefully prove dumb enough | |
| # to require little updating... |
| #!/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 |
| #!/usr/bin/env python | |
| """ | |
| RSS.py | |
| Classes for working with RSS channels as arbitrary data structures. | |
| Requires Python 2.2 or newer and PyXML 0.7.1 or newer. | |
| ChannelBase - Base class for RSS Channels. | |
| CollectionChannel - RSS Channel modeled as a URI-per-entry |
| #!/bin/bash | |
| # | |
| # This script will mount /Users in the boot2docker VM using NFS (instead of the | |
| # default vboxsf). It's probably not a good idea to run it while there are | |
| # Docker containers running in boot2docker. | |
| # | |
| # Usage: sudo ./boot2docker-use-nfs.sh | |
| # |
| PID=$1 | |
| echo "Monitoring CPU usage of process with PID ${PID}" | |
| ps -ef | grep $PID | |
| OUTPUT_FOLDER=~/.process_stats | |
| mkdir -p ${OUTPUT_FOLDER} | |
| MEM_STATS=${OUTPUT_FOLDER}/mem_${PID}.txt |
| #!/usr/bin/env ruby | |
| require "rubygems" | |
| require "twitter" | |
| require "json" | |
| require "faraday" | |
| # things you must configure | |
| TWITTER_USER = "your_username" | |
| # get these from dev.twitter.com |
This is a guide to deploying Nextcloud behind a Caddy reverse proxy, both running in Docker containers (an official Nextcloud one and a caddy-docker-proxy one), with the goal of implementing as much as possible via docker-compose files. This is much more difficult than it should be, for a variety of reasons:
-
As with Docker versions of software in general, documentation of the software does not always apply to the Docker versions, and the Docker documentation does not always include the Docker equivalent ways of doing things.
-
Docker images do not always expose the desired configuration knobs of the underlying software.
-
Nextcloud requires special configuration to run correctly behind a reverse proxy (and again, some of the instructions for this configuration requires modification for
| require "rubygems" | |
| require "twitter" | |
| require "json" | |
| # things you must configure | |
| TWITTER_USER = "your_username" | |
| MAX_AGE_IN_DAYS = 1 # anything older than this is deleted | |
| # get these from dev.twitter.com | |
| CONSUMER_KEY = "your_consumer_key" |
| #!/bin/sh | |
| # Sublime Text 3 Install (last update: Monday 13 March 2017) | |
| # | |
| # No need to download this script, just run it on your terminal: | |
| # | |
| # curl -L git.io/sublimetext | sh | |
| # Detect the architecture |