Skip to content

Instantly share code, notes, and snippets.

View sebastianrothe's full-sized avatar

Sebastian Rothe sebastianrothe

View GitHub Profile
@sebastianrothe
sebastianrothe / opkg-upgrade-all.sh
Created March 31, 2018 18:22
OPKG Upgrade packages
#!/bin/sh
opkg list-upgradable | cut -d " " -f1 | xargs -r opkg upgrade
@sebastianrothe
sebastianrothe / prepare_scummvm.sh
Last active April 18, 2019 13:46
ScummVM Workspace preparations for iOS11 build on macOS Xcode9.1
#!/bin/bash
LIBS_ZIP_URL="https://www.scummvm.org/frs/build/scummvm-ios7-libs.zip"
LIBS_ZIP_FILENAME="scummvm-libs.zip"
GIT_REPO_URL="https://github.com/scummvm/scummvm.git"
# Clone the repository
git clone "$GIT_REPO_URL"
# Compile create_project
(cd scummvm/devtools/create_project/xcode; xcodebuild)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sebastianrothe
sebastianrothe / extract-downloads.sh
Created September 7, 2017 19:37
Extract downloaded files with Password
#!/bin/sh
ls *.part*01.rar -1 | head -n 1 | xargs -n 1 -r unrar x -P
# synology nas version
ls *.part*01.rar -1 | head -n 1 | /usr/bin/xargs -n 1 -r unrar x -P
@sebastianrothe
sebastianrothe / osx-application-list.sh
Created August 3, 2017 09:56
Get a list of all installed Application on OSX for reinstalling with brew cask
#!/bin/sh
ls -l /Applications | tr -s ' ' | cut -d ' ' -f9 | paste -s -d' '
@sebastianrothe
sebastianrothe / ncu-and-upgrade.sh
Last active July 31, 2017 11:07
NPM Check updates for globally installed packages and upgrade them
#!/bin/sh
npm i -g $(ncu -g | tr -s ' ' | cut -d ' ' -f2 | paste -s -d' ')
@sebastianrothe
sebastianrothe / Erdbeerschmaus.geojson
Last active August 29, 2015 14:06
Erdbeerschmaus - Die Karte für frische Erdbeeren
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.