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 | |
| # https://alkusin.net/crubuntung | |
| bypass() { | |
| sudo -v | |
| while true; | |
| do | |
| sudo -n true | |
| sleep 45 | |
| kill -0 "$$" || exit |
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
| background no | |
| own_window yes | |
| own_window_type normal | |
| own_window_class Conky | |
| own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager | |
| alignment mm | |
| gap_x 0 | |
| #575 | |
| gap_y 0 | |
| #310 |
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
| def pass_gen(length=12): | |
| """Generates a random password of the length specified. Also | |
| makes sure that mimimum complexity requirements are met. | |
| This generates very strong passwords. | |
| EX: pass_gen(12) | |
| makes a 12 char password that will have at least 1 special, 1 | |
| number, and 1 lower case letter. If no length is specified, | |
| 12 is default length. | |
| """ |