One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| import android.app.Activity; | |
| import android.app.Application; | |
| import android.content.Context; | |
| import android.content.ContextWrapper; | |
| import android.os.Bundle; | |
| import android.os.Looper; | |
| import android.os.MessageQueue; | |
| import android.util.Log; | |
| import android.view.View; | |
| import android.view.ViewTreeObserver; |
| brew tap homebrew/versions | |
| brew search gradle | |
| brew install homebrew/versions/gradle112 | |
| gradle -version | |
| brew link --overwrite gradle112 | |
| gradle -version |
| MIT License | |
| Copyright (c) 2020 Jan Heinrich Reimer | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
| // Place your key bindings in this file to overwrite the defaults | |
| [ | |
| { "key": "cmd+shift+r", "command": "workbench.action.quickOpen" }, | |
| { "key": "cmd+shift+f", "command": "editor.action.format", "when": "editorTextFocus" }, | |
| { "key": "alt+cmd+down", "command": "editor.action.copyLinesDownAction", "when": "editorTextFocus" }, | |
| { "key": "alt+cmd+up", "command": "editor.action.copyLinesUpAction", "when": "editorTextFocus" }, | |
| { "key": "alt+down", "command": "editor.action.moveLinesDownAction", "when": "editorTextFocus" }, | |
| { "key": "alt+up", "command": "editor.action.moveLinesUpAction", "when": "editorTextFocus" }, | |
| { "key": "cmd+d", "command": "editor.action.deleteLines", "when": "editorTextFocus" }, | |
| { "key": "alt+cmd+r", "command": "editor.action.rename", "when": "editorTextFocus" }, |
| #!/bin/bash | |
| # update_gfwlist.sh | |
| # Author : VincentSit | |
| # Copyright (c) http://xuexuefeng.com | |
| # | |
| # Example usage | |
| # | |
| # ./whatever-you-name-this.sh | |
| # | |
| # Task Scheduling (Optional) |
^([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?$
| # config file | |
| # vim ~/.config/fish/config.fish | |
| # reload the config | |
| # source ~/.config/fish/config.fish | |
| # set the workspace path | |
| set -x GOPATH /users/my-username/go | |
| # add the go bin path to be able to execute our programs |
| # Download latest Android image, "hammerhead" for Nexus 5 (GSM/LTE) | |
| https://developers.google.com/android/nexus/images#hammerhead | |
| # Download latest TWRP | |
| https://dl.twrp.me/hammerhead/ | |
| # Download latest SuperSu | |
| https://download.chainfire.eu/supersu | |
| Enable USB debugging. |
Install Golang 1.9:
wget https://storage.googleapis.com/golang/go1.9.linux-armv6l.tar.gz
sudo tar -C /usr/local -xzf go1.9.linux-armv6l.tar.gz
export PATH=$PATH:/usr/local/go/bin # put into ~/.profile
If already installed old golang with apt-get: