cloudwheels / contributing Goto Github PK
View Code? Open in Web Editor NEWGeneral information on contributing to projects
License: MIT License
General information on contributing to projects
License: MIT License
sudo apt-get install dnsutils -y
?Gen a release key
May not be possible, so use:
Create debug keystore...
keytool -genkey -v -keystore ~/.android/debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000
List
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
?Gen a release key:
keytool -genkey -v -keystore my-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
Configure grade daemon
https://cloudwheels.github.io/TIL/improve-gradle-performance/
Create a ~/.gradle/gradle.properties file.
Add org.gradle.daemon=true
to allow/encourage reuse from previous builds
Node (with NVM) plus yarn, ?global dev packages eg. nodemon
To install or update nvm, you should run the install script. To do that, you may either download and run the script manually, or use the following cURL or Wget command:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash
Running either of the above commands downloads a script and runs it. The script clones the nvm repository to ~/.nvm, and adds the source lines from the snippet below to your profile (~/.bash_profile
, ~/.zshrc
, ~/.profile
, or ~/.bashrc
).
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
Note: If the environment variable $XDG_CONFIG_HOME is present, it will place the nvm files there.
Note: You can add --no-use
to the end of the above script (...nvm.sh --no-use) to postpone using nvm until you manually use it.
You can customize the install source, directory, profile, and version using the NVM_SOURCE, NVM_DIR, PROFILE, and NODE_VERSION variables. Eg: curl ... | NVM_DIR="path/to/nvm". Ensure that the NVM_DIR does not contain a trailing slash.
NB. The installer can use git, curl, or wget to download nvm, whatever is available.
Note: On Linux, after running the install script, if you get nvm: command not found or see no feedback from your terminal after you type command -v nvm, simply close your current terminal, open a new terminal, and try verifying again.
If you have a list of default packages you want installed every time you install a new version, we support that too -- just add the package names, one per line, to the file $NVM_DIR/default-packages
You can add anything npm would accept as a package argument on the command line.
# $NVM_DIR/default-packages
# examples in install instructions:
rimraf
[email protected]
stevemao/left-pad
####
# SET UP FILE(S) IN THIS REPO WITH POSSIBLE DEFAULT PACKAGES
firebase-tools
###
last one will be the default (also aliased as node
)
Probably need 8
and 10
for e.g. cloud function support
?Docker, Portainer, ???config for external image storage
Warning: File /home/xxxx/.android/repositories.cfg could not be loaded.
Non-fatal warning.
See https://askubuntu.com/questions/885658/android-sdk-repositories-cfg-could-not-be-loaded
The solution: probably to create the file. See https://askubuntu.com/a/1078784
Create the file ~/.android/repositories.cfg
touch ~/.android/repositories.cfg
Then add the following lines of text in that file, for example by opening it with a text editor
nano ~/.android/repositories.cfg and typing these lines, then saving the file.
### User Sources for Android SDK Manager
#Fri Nov 03 10:11:27 CET 2017 count=0
After that you can use these commands
./Android/Sdk/tools/bin/sdkmanager --update
./Android/Sdk/tools/bin/sdkmanager --licenses
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.