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
echo 'datasource_list: [ None ]' | sudo -s tee /etc/cloud/cloud.cfg.d/90_dpkg.cfg | |
sudo apt purge cloud-init | |
sudo rm -rf /etc/cloud/ | |
sudo rm -rf /var/lib/cloud/ | |
sudo reboot -h now |
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
// ==UserScript== | |
// @name Youtube Still Watching | |
// @namespace https:github.com/cconard96 | |
// @version 1.0.0 | |
// @description Yes I'm still watching/listening. Updates the last activity variable to the current timestamp every 5 seconds to prevent those "Still watching?" popups that YouTube shows while watching some types of videos (music mainly). | |
// @author Curtis Conard | |
// @match *://www.youtube.com/* | |
// @grant none | |
// ==/UserScript== |
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
<?php | |
function plugin_menu94_install() | |
{ | |
return true; | |
} | |
function plugin_menu94_uninstall() | |
{ | |
return true; |
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
# Redate - Change commit date for the last commit to now | |
alias.redate commit --amend --reset-author --no-edit | |
# Last - Show details of last commit | |
alias.last log -n 1 | |
# Current-Branch - Show the current branch namme | |
alias.current-branch rev-parse --abbrev-ref HEAD |