https://github.com/pgrimaud/coding-for-dummies
Reminder for noobs - like me
https://github.com/pgrimaud/coding-for-dummies
Last synced: 3 months ago
JSON representation
Reminder for noobs - like me
- Host: GitHub
- URL: https://github.com/pgrimaud/coding-for-dummies
- Owner: pgrimaud
- Created: 2016-04-06T23:45:31.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-13T18:28:03.000Z (over 8 years ago)
- Last Synced: 2025-01-06T09:11:33.978Z (5 months ago)
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Coding For Dummies
Reminder for noobs - like me

## Appengine
- Download a project
```
appcfg.py download_app -A MyAppName PathFolder
```## Git
- Delete a tag (local then remote)
```
git tag -d 1.0.0
git push origin :refs/tags/1.0.0
```- Force reset to an old commit
```
git reset --hard dd61ab32^
git push master -f
```## Unix
- List process (date sorting)
```
ps -ef --sort=start_time
```- Edit a user crontab
```
crontab -u www-data -e
```
- Massive delete (php process)```
kill `ps -ef | grep php | awk '{print $2}'`
```
- Install & use mtr```
brew install mtr
/usr/local/sbin/mtr 8.8.8.8
```- Copy local key to server
```
ssh-copy-id -i ~/.ssh/id_rsa.pub user@server
```