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
#!/bin/sh | |
# | |
# Publish a new version of an npm package. | |
# | |
# - Runs linter, tests | |
# - Asks if next version is major, minor or patch | |
# - Calculates the next version from this | |
# - Checks that the CHANGELOG references the new version | |
# - Tags/publishes the new version via git/npm |
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
#!/bin/bash | |
#use LC_NUMERIC if you are using an European LC, else printf will not work because it expects an comma instead of a decimal point | |
LC_NUMERIC="en_US.UTF-8" | |
#Exit with 1 if $DISPLAY env isn't set. Helps when using the start up script below | |
[ -z "$DISPLAY" ] && exit 1; | |
# modify this path to the location of your backlight class | |
path=/sys/class/backlight/intel_backlight |