I hereby claim:
- I am thesagarsutar on github.
- I am thesagarsutar (https://keybase.io/thesagarsutar) on keybase.
- I have a public key ASAKbqytnOHBY4KLNAw35ovBl1QS5PBnMRcw6WQJBOPNcQo
To claim this, I am signing this object:
// Generate unique IDs for use as pseudo-private/protected names. | |
// Similar in concept to | |
// <http://wiki.ecmascript.org/doku.php?id=strawman:names>. | |
// | |
// The goals of this function are twofold: | |
// | |
// * Provide a way to generate a string guaranteed to be unique when compared | |
// to other strings generated by this function. | |
// * Make the string complex enough that it is highly unlikely to be | |
// accidentally duplicated by hand (this is key if you're using `ID` |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Call with either enable or disable as first parameter | |
if [[ "$1" == 'enable' || "$1" == 'disable' ]]; then | |
sudo systemctl set-default multi-user.target --force | |
sudo systemctl $1 lightdm.service --force | |
sudo systemctl $1 graphical.target --force | |
sudo systemctl $1 plymouth.service --force | |
else | |
echo Call with either "enable" or "disable" as first parameter. | |
fi |
This gist assumes: