Remove untagged Docker images
docker rmi $(docker images | grep "^<none>" | cut -d ' ' -f39)
Remove untagged Docker images
https://www.kaggle.com/max-mind/world-cities-database |
#!/bin/bash | |
apt-get install -y software-properties-common wget | |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - | |
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | tee /etc/apt/sources.list.d/google-chrome.list | |
apt-get update && apt-get install -y google-chrome-stable |
#!/bin/bash | |
GECKODRIVER_VERSION='v0.20.1' | |
wget -O /usr/bin/geckodriver-$GECKODRIVER_VERSION-linux64.tar.gz https://github.com/mozilla/geckodriver/releases/download/$GECKODRIVER_VERSION/geckodriver-$GECKODRIVER_VERSION-linux64.tar.gz | |
cd /usr/bin/ && tar -xzvf /usr/bin/geckodriver-$GECKODRIVER_VERSION-linux64.tar.gz | |
rm /usr/bin/geckodriver-$GECKODRIVER_VERSION-linux64.tar.gz | |
chmod +x /usr/bin/geckodriver |
#!/bin/bash | |
add-apt-repository ppa:jonathonf/python-3.6 && apt-get update | |
apt-get install -y python3.6 |
Function CONCATENATEMULTIPLE(Ref As Range, Optional Separator As String = "") As String | |
' Combine multiple cells using a separator/delimiter. | |
Dim Cell As Range | |
Dim Result As String | |
For Each Cell In Ref | |
If Not IsEmpty(Cell) Then | |
Result = Result & Cell.value & Separator | |
End If | |
Next Cell | |
# GNURoot Debian Jessie Android SSH Server | |
# Google Play Store: https://play.google.com/store/apps/details?id=com.gnuroot.debian | |
# Github: https://github.com/corbinlc/GNURootDebian | |
# change root password | |
passwd | |
apt update | |
apt install -y nano |
function justifyDoc() { | |
/* Justify all the paragraphs in a note */ | |
iframe = document.getElementsByClassName("RichTextArea-entinymce")[0]; | |
paragraphs = iframe.contentWindow.document.getElementsByTagName('p'); | |
for (p of paragraphs) { | |
p.style['text-align'] = 'justify'; | |
}; | |
}; |