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
/* Some bug here with the structure - breaks visibility when padding is added */ | |
.markdown-embed .markdown-preview-view | |
{ | |
/* background-color: red; */ | |
padding: 0 0 0 0; | |
/* padding: 10 0 0 0; */ | |
} | |
/* .markdown-preview-view .file-embed */ | |
/* .markdown-preview-view .markdown-embed */ |
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
This is my example shared, embedded gist |
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
#!/bin/bash | |
pactl set-source-mute \@DEFAULT_SOURCE\@ toggle | |
amixer -D pulse | grep -E "Capture.*\[on\]" | |
if [ "$?" = "0" ]; then | |
icon="microphone-sensitivity-high" | |
notify-send -t 750 -i $icon "Micophone Un-muted" "Default microphone is now active" | |
else |
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
#!/bin/bash | |
function awslogin { | |
# set to yes to create one-time use profiles in /tmp | |
# anything else will create them in $HOME/.aws/awschrome | |
TEMP_PROFILE="no" | |
# set to yes to always start in a new window | |
NEW_WINDOW="no" |
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
cat << EOF | sudo tee /etc/systemd/system/powertop.service | |
[Unit] | |
Description=PowerTOP auto tune | |
[Service] | |
Type=idle | |
Environment="TERM=dumb" | |
ExecStart=/usr/sbin/powertop --auto-tune | |
[Install] |