Skip to content

Instantly share code, notes, and snippets.

View navhaxs's full-sized avatar

Jeremy Wong navhaxs

View GitHub Profile
@navhaxs
navhaxs / gist:1653086644ad0dc516c0
Last active February 8, 2016 01:18
Android backup

Because I got this wrong last time and lost data.

App backup with root

  • Titanium Backup: All user apps + system data

App backup without root (Smart Switch)

  • Connect device
  • First, go to Preferences and make sure everything to backup is ticked.
  • Begin Backup
@navhaxs
navhaxs / touchdevelop-rpi.sh
Last active February 26, 2016 04:38
Install TouchDevelop on a Raspberry Pi (fixed deadlinks and deps)
#!/bin/bash
cd /home/pi
mkdir TouchDevelop
cd TouchDevelop
wget http://node-arm.herokuapp.com/node_latest_armhf.deb
sudo dpkg -i node_latest_armhf.deb
sudo apt-get install npm --yes
sudo npm install -g faye-websocket
sudo npm install -g http://aka.ms/touchdevelop.tgz
wget -O $HOME/TouchDevelop/TouchDevelop.png https://www.touchdevelop.com/doc/touchdevelop72x72.png
These are my personal customisations for Ubuntu 17.04 on T450s.
This is not actually a shell script, I am lazy.
# Xilinx SDK fix not launching
~/.local/share/applications/Xilinx\ SDK\ 2016.4*.desktop
Exec=env SWT_GTK3=0 /opt/Xilinx/SDK/2016.4/bin/xsdk
# Fix Mini DisplayPort from flickering (Intel graphics)
https://askubuntu.com/q/752743/
@navhaxs
navhaxs / avdesk-presentation-pc.reg
Last active June 5, 2017 04:23
Registry tweaks for an AV desk (stage/presentation) computer running ...Windows 10
Windows Registry Editor Version 5.00
; Unpin everything from Start menu & use the PS app remove commands
; Also:
; Go into Settings -> Privacy and literally untick everything.
; e.g. Feedback frequency --> Never
;
; except for maybe Location (Night Mode)
;

Stage 1 - Booting to the installer

Clover: "Instant" reboots

Use AptioFix rather than AptioFix2

HD5500 kernel panic

The Clover 'kexts to patch' can only work on kexts in the kernel cache. This requires the kernel cache to be built, which can only happen during post-install.

Enable inkscape auto-save, or you will be sad.
@navhaxs
navhaxs / docker-compose.yml
Created July 9, 2017 08:35
docker-compose up -d
version: '3'
# wordpress
# TODO: not sure if logging.ini/file paths work
services:
db:
image: mysql:5.7
volumes:
@navhaxs
navhaxs / latex stuff.md
Created October 19, 2017 23:13
latex stuff
\begin{enumarate}

\begin{itemize

\list

\includegraphics{filename_no_extension}
sh < /dev/ttyUL4 > /dev/ttyUL4 2>&1 &
@navhaxs
navhaxs / timewaster.MD
Last active January 4, 2018 00:47
Jeremy's Windows provisioning list of tasks

Jeremy's Win10 Provisioning

Microsoft Windows 10 upgrades and 'refresh' reinstalls waste a stack of time, although at times neccessary as a result of winrot.

Here's a couple of routine steps to quickly run through afterwards.

Thinkpad T450s