nscd -K; nscdgoogle-chrome-stable --app=https://obs.ninja/?view=Abcd123 --user-data-dir=/tmp --kiosk| # Brightness | |
| 0 - Off | |
| 1 - Low | |
| 2 - Medium | |
| 3 - High | |
| echo 1 > /sys/class/leds/asus::kbd_backlight/brightness | |
| # State, when backlight is enabled |
| # generate private key | |
| openssl genrsa -out private.pem 2048 | |
| # extatract public key from it | |
| openssl rsa -in private.pem -pubout > public.pem |
| #!/bin/bash | |
| # Shell Script to Update AWS EC2 Security Groups | |
| # Note that existing IP rules will be deleted | |
| # CONFIG - Only edit the below lines to setup the script | |
| # =============================== | |
| # AWS Profile Name | |
| profile="name1" |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
| =LOWER(CONCATENATE(DEC2HEX(RANDBETWEEN(0;POWER(16;8));8);"-";DEC2HEX(RANDBETWEEN(0;POWER(16;4));4);"-";"4";DEC2HEX(RANDBETWEEN(0;POWER(16;3));3);"-";DEC2HEX(RANDBETWEEN(8;11));DEC2HEX(RANDBETWEEN(0;POWER(16;3));3);"-";DEC2HEX(RANDBETWEEN(0;POWER(16;8));8);DEC2HEX(RANDBETWEEN(0;POWER(16;4));4))) |
npm install -g npm to update npm to the latest versionNow you can use npm and node from windows cmd or from bash shell like Git Bash of msysgit.
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000