💇♂️
This file contains 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
#!/usr/bin/env bash | |
# | |
# gh-dl-release! It works! | |
# | |
# This script downloads an asset from latest or specific Github release of a | |
# private repo. Feel free to extract more of the variables into command line | |
# parameters. | |
# | |
# PREREQUISITES | |
# |
This file contains 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
#!/usr/bin/python3 | |
"""Usage: | |
sh_ec2.py [--instance=<instance_id>] | |
sh_ec2.py -h | --help | |
sh_ec2.py --version | |
Options: | |
-h --help Show this screen | |
-i --instance=<instance_id> EC2 instance id | |
--version Show version |
This file contains 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
<html> | |
<head> | |
<style> | |
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap"); | |
* { | |
outline: none; | |
box-sizing: border-box; | |
} |
This file contains 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 httpRequest(url, callback) { | |
var req = new XMLHttpRequest(); | |
req.open("GET", url); | |
req.addEventListener("readystatechange", function() { | |
if (req.readyState === 4 && req.status === 200) { | |
callback.call(null, req.responseText); | |
} | |
}); | |
req.send(); |
This file contains 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
Selects all the angular attributes | |
\B\sng-\w+\="(.*?)" |
This file contains 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
# +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |
# base os cleanup | |
# +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |
sudo apt-get update -y && sudo apt-get dist-upgrade -y | |
sudo apt-get purge -y epiphany-browser epiphany-browser-data #browser | |
sudo apt-get purge -y midori-granite #browser | |
sudo apt-get purge -y noise | |
sudo apt-get purge -y scratch-text-editor #text-editor | |
sudo apt-get purge -y modemmanager | |
sudo apt-get purge -y geary #email |