This file contains hidden or 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
| SUBSYSTEM=="video4linux", KERNEL=="video[0-9]*", ATTRS{product}=="C505e HD Webcam", ATTR{index}=="0", RUN+="/usr/bin/v4l2-ctl -d $devnode --set-ctrl=power_line_frequency=1" |
This file contains hidden or 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
| function git-ticket { | |
| if [ $# -ge 1 ]; then | |
| local branch=$(git rev-parse --abbrev-ref HEAD) | |
| local ticket=${branch##*/} | |
| local msg="${ticket}: $1" | |
| shift | |
| git commit -m "$msg" "$@" | |
| else | |
| echo "Missing comment." | |
| fi |