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
var isFullscreen = false | |
var originaWidths | |
function toggleFullscreen() { | |
let outerContainer = document.querySelector('#dialogueChat').style | |
let innerContainer = document.querySelector('#lekaneBanner_chatContentsContainer').style | |
if (isFullscreen) { | |
outerContainer.width = originalWidths.outerContainer | |
innerContainer.width = originalWidths.innerContainer | |
} else { | |
let outerContainer = document.querySelector('#dialogueChat').style |
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
#You should copy-paste or source this to/from your ~/.bash_profile (or whatever you're using) | |
git_complete_dir="$HOME/.git-completion" | |
if [ ! -d "$git_complete_dir" ]; then | |
mkdir "$git_complete_dir" | |
fi | |
command pushd "$git_complete_dir" > /dev/null | |
now="$(date +%Y-%m-%d)" | |
if [ "$(tail -1 check.log)" != "$now" ]; then | |
echo "$now" >> check.log | |
echo "Checking for updates..." |