Skip to content

Instantly share code, notes, and snippets.

View SebastianGiro's full-sized avatar
🎯
Focusing

Sebastian Giro SebastianGiro

🎯
Focusing
View GitHub Profile
@mcarletti
mcarletti / opera_x264_support.sh
Last active May 20, 2024 15:39
Enable H.264 codec support for Opera browser
#!/bin/bash
# Author: Marco Carletti
# Date: May 2022
# Version: 0.2.0
# Last update: July 17, 2023
# Changed comments, tested versions and added other distros info, such as Debian and Fedora.
# Thanks to everyone for comments, suggestions, fixes and testings!
@mpaepper
mpaepper / android-ubuntu
Last active December 20, 2023 18:26
How to debug your Android device under Ubuntu
When programming apps for Android, you usually want to test them on real Android devices.
This little gist describes how to do so using Ubuntu 14.
First, you need to download and install the Android development IDE (http://developer.android.com/sdk/index.html) and create an Android project which you want to debug.
Next, you need to setup the debugging mode on your Android device. Starting in Android 4.2 you need to enable the developer options first: 1) Go to settings 2) Go to About Phone 3) Tap the build number 10 times (or more, not sure ;)) and you will get the notification that you enabled it.
Then go to the developer settings and enable the debug mode for your phone.
Now you think you can just plug it into your USB mode? - Nope.