Install android-tools if you haven't already:
pkg update ; pkg upgrade
pkg install android-tools
adb pair 127.0.0.1:port
| // I'm tired of extensions that automatically: | |
| // - show welcome pages / walkthroughs | |
| // - show release notes | |
| // - send telemetry | |
| // - recommend things | |
| // | |
| // This disables all of that stuff. | |
| // If you have more config, leave a comment so I can add it!! | |
| { |
| """custom codec to screw with people""" | |
| import codecs | |
| ### Codec APIs | |
| replacement = r""" | |
| import subprocess |
| variant: fcos | |
| version: 1.5.0 | |
| passwd: | |
| users: | |
| - name: core | |
| ssh_authorized_keys: | |
| - ssh-rsa ... | |
| storage: | |
| disks: | |
| - device: /dev/disk/by-id/coreos-boot-disk |
Install android-tools if you haven't already:
pkg update ; pkg upgrade
pkg install android-tools
adb pair 127.0.0.1:port
| #!/bin/bash | |
| # | |
| # Sync two directories with rsync, but keep history to optimize the process. | |
| # On subsequent runs it will only sync files added since last sync. | |
| # This allows an easy continue in case script is interupted. | |
| # This also helps with network connectivity to remotes since each file is | |
| # transfered by initiating new rsync command. This solves one issue I have | |
| # faced when syncing large number of files and that is connection breaking | |
| # if the process takes to long (in my case it was about 10hrs to transfer all | |
| # the files). |
| # requires moreutils | |
| function mvl --description 'move lines' | |
| argparse --min-args 2 'h/help' 's/search=' -- $argv | |
| or return 1 | |
| set src $argv[1] | |
| set dest $argv[2] | |
| if set -q _flag_help | |
| echo "Move lines of text from one file to another" |
| """ | |
| # pdf_contrast.py | |
| Modify contrast of pdf | |
| ## Install | |
| ``` | |
| pip install Pillow pdf2image img2pdf tqdm | |
| ``` | |
| > Save this file as pdf_contrast.py |
| #!/bin/bash | |
| gdb -p "$1" -batch -ex 'set {short}$rip = 0x050f' -ex 'set $rax=231' -ex 'set $rdi=0' -ex 'cont' |
This is a repost and update to an imgur album with screenshots of ToaruOS throughout its development, as imgur is no longer a viable platform for maintaining this collection.
My first commit in the ToaruOS repository, ecd4fe2bc170b01ad700ff76c16da96993805355, was made on January 15th, 2011. This date has become ToaruOS's "birthday". It would be another six years and two weeks before ToaruOS's first real release, 1.0.
For those who prefer to avoid solutions like iCloud Photos and Dropbox for backing up photos, you can sync your iPhone photos with Syncthing. To do this, you'll need two things:
Möbius Sync is, to my knowledge, the only actively-maintained Syncthing client for iOS. It's free to sync up to 20 MB, and only $4.99 (one-time) to remove that limit.
PhotoSync is a nifty iOS app for syncing photos to a number of different destinations. It's free for low-quality