Skip to content

Instantly share code, notes, and snippets.

View ricard-inho's full-sized avatar

Ricard ricard-inho

View GitHub Profile
keytool -list -v -keystore C:\Users\user\.android\debug.keystore -alias androiddebugkey -storepass android -keypass android
dos2unix ./NetworkUtility.sh
Create a new File in your Packages/User directory (CTRL-SHIFT-P --> "Browse Packages")
New File: Packages/User/my_build.sublime-build
with the following content:
```
{
"cmd": ["python", "$file", "arg1", "arg2"]
}
Delete file workspace/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
```
call python -m PyQt5.uic.pyuic -x filename.ui -o filename.py
```

Usefull configuration commands for Git.

The following commands set up credidentials and a login timeout for git in the Cloud9 IDE environment.

  • git config --global user.name "${C9_FULLNAME}"
  • git config --global user.email $C9_EMAIL
  • git config --global credential.helper 'cache --timeout 5400'
  • git config --global core.editor '/mnt/shared/sbin/c9 open --wait'
  • git config --global credential.https://git.521000.best.username $C9_EMAIL
@ricard-inho
ricard-inho / Git_Commands.md
Last active January 28, 2019 15:30
Useful Git Commands

GitHub with command line

Cd into the repository and check what files are modified $ cd myproject $ git status

Commit the files that you staged in the local repository (example: README.md) $ git add README.md

To unstage the file use $ git reset HEAD README.md