Skip to content

Instantly share code, notes, and snippets.

View TheHippo's full-sized avatar
🦛

Philipp Klose TheHippo

🦛
View GitHub Profile
@TheHippo
TheHippo / 10-plug-up.rules
Last active August 29, 2015 14:09
Enable Plug-Up Security Key in Ubuntu
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0664", GROUP="plugdev", ATTRS{idVendor}=="2581"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2581", ATTRS{idProduct}=="f1d0", MODE="0660", GROUP="your_user_group"
@TheHippo
TheHippo / install-java.sh
Created July 22, 2014 14:35
Silent and automatic install of Oracles Java JDK under Ubuntu
#!/bin/bash
sudo add-apt-repository ppa:webupd8team/java --yes
sudo apt-get update
echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections
echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections
DEBIAN_FRONTEND=noninteractive sudo apt-get install oracle-java7-installer --yes --force-yes --assume-yes
@TheHippo
TheHippo / keybase.md
Created April 10, 2014 12:32
keybase.md

Keybase proof

I hereby claim:

  • I am thehippo on github.
  • I am thehippo (https://keybase.io/thehippo) on keybase.
  • I have a public key whose fingerprint is B42E 4C13 BE39 A091 5154 C31B F2A5 FE09 95B6 4476

To claim this, I am signing this object:

@TheHippo
TheHippo / Readme.md
Created March 3, 2014 16:50
Wrapper script for working with adb and multiple Android devices

Usage

$set_android_device.py adb shell
(1) - R32D3006XXX [device usb:3-1.1 product:mantaray model:Nexus_10 device:manta]
(2) - 01499EAD0701XXXX [device usb:3-1.4 product:yakju model:Galaxy_Nexus device:maguro]
2
shell@maguro:/ $ 

How it works