gitflow | git |
---|---|
git flow init |
git init |
git commit --allow-empty -m "Initial commit" |
|
git checkout -b develop master |
An overview of recent action recognition datasets and their detection classes
- Action: Atomic low-level movement such as standing up, sitting down, walking, talking etc.
- Activity/event: Higher level occurence then actions such as dining, playing, dancing
- Trimmed video: A short video clip containing event/action/activity of interest
- Untrimmed video: A video clip of arbitrary length potentially containing durations without activities of interest
- Localization: locating an instance of event/action/activity within a video at a spatial or temporal scale
- Spatial localization: Locating the region/area of an instance of action/activity within a video
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Script to check Spanish Christmas Lottery | |
# more info: https://servicios.elpais.com/sorteos/loteria-navidad/api/ | |
AUTO_RELOAD="120" # seconds | |
declare -A mainPrizes | |
mainPrizes['numero1']='1er Premio' | |
mainPrizes['numero2']='2º Premio' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
watch -n0 <command> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python -m compileall <file_1>.py <file_n>.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip freeze > requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# remove last word | |
Ctrl + w | |
# remove all words | |
Ctrl + u |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To write the output of a command to a file, there are basically 10 commonly used ways. | |
Please note that the n.e. in the syntax column means "not existing". | |
There is a way actually, but it's too complicated to fit into the column. You can find a helpful link in the List section about it. | |
Overview: | |
|| visible in terminal || visible in file || existing | |
Syntax || StdOut | StdErr || StdOut | StdErr || file | |
==========++==========+==========++==========+==========++=========== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# revert a file | |
git checkout -- filename | |
# pull changes maintaining local changes | |
git stash | |
git pull | |
git stash pop | |
# Changing a remote's URL | |
https://help.github.com/articles/changing-a-remote-s-url/ |
NewerOlder