Skip to content

Instantly share code, notes, and snippets.

View 471448446's full-sized avatar
🎯
Focusing

Better 471448446

🎯
Focusing
View GitHub Profile

1. Store api keys in a xml file

Put xml file "api_keys.xml" in the directory "res/value/".

api_keys.xml

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="THE_MOVIE_DB_API_TOKEN">XXXXX</string>
</resources>
@mauron85
mauron85 / keep-adb-running.sh
Created September 22, 2016 09:55
Workaround adb disconnecting issue on macOS Sierra
#!/bin/bash
cat << EOF
###########################################################
# Workaround adb disconnecting issue on macOS Sierra
#
# More info:
# https://code.google.com/p/android/issues/detail?id=219085
# credits to: [email protected], [email protected]
###########################################################
@roscopecoltran
roscopecoltran / download-android-ndks-direct-links.sh
Last active September 3, 2022 08:23
Download Android NDK Tools / Direct Links
@nikhita
nikhita / update-golang.md
Last active November 15, 2024 08:50
How to update the Go version

How to update the Go version

System: Debian/Ubuntu/Fedora. Might work for others as well.

1. Uninstall the exisiting version

As mentioned here, to update a go version you will first need to uninstall the original version.

To uninstall, delete the /usr/local/go directory by:

@hkoivuneva
hkoivuneva / build-op5t-dumpling.prop
Created November 21, 2017 20:19
OnePlus 5T / dumpling build.prop, Oxygen OS 4.7.0
#
#
#
#
# autogenerated by oem_buildinfo.sh
persist.sys.kernel=yes
persist.sys.main=yes
persist.sys.system=yes
persist.sys.radio=yes
@msdx
msdx / jiagu.sh
Created January 23, 2019 10:13
360加固
#!/bin/bash
cd `dirname $0`/../
projectDir=`pwd`
buildDir="$projectDir/build"
# release Official apk
cd $buildDir
touch timestampFile
echo "Build release official apk"
@trajano
trajano / settings.json
Last active June 21, 2024 11:27
Windows Terminal (with git bash and additional shortcuts)
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{00000000-0000-0000-ba54-000000000002}",
"launchMode": "maximized",
"theme": "light",
"useTabSwitcher": false,
"tabWidthMode": "titleLength",
"profiles": {