Skip to content

Instantly share code, notes, and snippets.

@51f0x
51f0x / ubuntu-cli-install-android-sdk.zh
Last active October 8, 2025 15:28 — forked from zhy0/ubuntu-cli-install-android-sdk.sh
Install Android SDK on headless Ubuntu linux machine via command line, so that you can compile open source Android apps.
#!/usr/bin/env zsh
set -euo pipefail
# Thanks to https://gist.github.com/wenzhixin/43cf3ce909c24948c6e7
# Execute this script in your home directory. Some steps will prompt you for y/n.
# Install Oracle JDK 8
add-apt-repository ppa:webupd8team/java
apt-get update
apt-get install -y oracle-java8-installer
@51f0x
51f0x / synology - mount raid
Last active April 14, 2022 04:05
Mount Synology Raid with Ubuntu on USB Stick preinstalled
https://help.ubuntu.com/community/Installation/MinimalCD#A64-bit_PC_.28amd64.2C_x86_64.29_.28Recommended.29
Install Ubuntu with Virtualbox
VBoxManage clonehd MiniU1.vmdk disk.img --format RAW
etcher > to > USB
Install RAID drivers.
Now we need to install Linux RAID driver. Press Win key, search for Terminal and run it. Type this and press enter: It will require Postfix installation, install it and select 'No configuration' in installation menu.
sudo apt-get install mdadm
su -
defaults write /var/db/launchd.db/com.apple.launchd/overrides.plist com.apple.screensharing -dict Disabled -bool false
launchctl load /System/Library/LaunchDaemons/com.apple.screensharing.plist
launchctl load -w /System/Library/LaunchDaemons/com.apple.screensharing.plist
@51f0x
51f0x / skoda_superbIII_navi_update.md
Last active April 20, 2022 19:30
Skoda Superb III (2018) > Navi update

How to update navi map of Skoda Superb III (>2015)

Prerequisites

  • MacOSX Mojave (10.14.3)
  • Terminal

Prepare SD Card

sudo newfs_msdos -v SKODA -F 32 -c 8 disk2s1 
cd /Volumes/SKODA
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
@51f0x
51f0x / bobthefish.txt
Last active January 19, 2019 20:38
bobthefish
curl -L https://get.oh-my.fish | fish
omf install bobthefish
brew tap caskroom/fonts
brew cask install font-firacode-nerd-font
set -U theme_nerd_fonts yes
set theme_color_scheme gruvbox