First ssh into kosh.org.aalto.fi
Then run
#/usr/bin/python3
from concurrent.futures import ThreadPoolExecutor
import subprocess
paniikki = [| ;/usr/local/etc/afp.conf | |
| ; Netatalk 3.x configuration file | |
| ; | |
| [Global] | |
| ; Global server settings | |
| vol preset = default_for_all_vol | |
| hostname = TimeCapsule | |
| log file = /var/log/netatalk.log | |
| log level = default:info |
| <?xml version="1.0" standalone='no'?> | |
| <!DOCTYPE service-group SYSTEM "avahi-service.dtd"> | |
| <service-group> | |
| <name replace-wildcards="yes">%h</name> | |
| <service> | |
| <type>_adisk._tcp</type> | |
| <txt-record>sys=waMa=0,adVF=0x100</txt-record> | |
| <txt-record>dk0=adVN=Time Capsule,adVF=0x82</txt-record> | |
| </service> | |
| <service> |
First ssh into kosh.org.aalto.fi
Then run
#/usr/bin/python3
from concurrent.futures import ThreadPoolExecutor
import subprocess
paniikki = [| # Description: Boxstarter Script | |
| # Author: Jess Frazelle <[email protected]> | |
| # Last Updated: 2017-09-11 | |
| # | |
| # Install boxstarter: | |
| # . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
| # | |
| # You might need to set: Set-ExecutionPolicy RemoteSigned | |
| # | |
| # Run this boxstarter by calling the following from an **elevated** command-prompt: |
| alias gs='git status ' | |
| alias ga='git add ' | |
| alias gb='git branch ' | |
| alias gc='git commit' | |
| alias gd='git diff' | |
| alias go='git checkout ' | |
| alias gk='gitk --all&' | |
| alias gx='gitx --all' | |
| alias got='git ' |
git ls-tree -r master --name-only
cd path/to/project-b git remote add project-a path/to/project-a git fetch project-a git merge --allow-unrelated-histories project-a/master # or whichever branch you want to merge git remote remove project-a
| --ytdl-format='bestvideo[ext=mp4][width<=1920][height<=1080]+bestaudio[ext=m4a]' | |
| mpv link_to_youtube_vid --no-video |
| import Foundation | |
| enum LogEvent: String { | |
| case error = "[‼️]" | |
| case info = "[ℹ️]" | |
| case debug = "[💬]" | |
| case verbose = "[🔬]" | |
| case warning = "[⚠️]" | |
| case severe = "[🔥]" | |
| } |
| @UIApplicationMain | |
| class AppDelegate: UIResponder, UIApplicationDelegate { | |
| var window: UIWindow? | |
| func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { | |
| // Override point for customization after application launch. | |
| window = UIWindow(frame: UIScreen.main.bounds) | |
| window?.rootViewController = UINavigationController(rootViewController: ViewController(style:.plain)) |