This file contains hidden or 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 | |
sudo apt update | |
sudo apt install software-properties-common -y | |
sudo add-apt-repository ppa:ondrej/php -y | |
sudo apt update | |
sudo apt install -y imagemagick | |
sudo apt install -y php7.4 php7.4-{apcu,bcmath,bz2,cgi,cli,common,curl,dba,dev,dom,enchant,fpm,gd,gmp,igbinary,imagick,imap,interbase,intl,ldap,mbstring,mcrypt,memcache,memcached,msgpack,mysql,mysqli,odbc,opcache,pgsql,phpdbg,pspell,readline,redis,soap,sqlite3,ssh2,sybase,tidy,xml,xmlrpc,xsl,apcu-bc,geoip,json,zip} | |
sudo apt install -y php8.0 php8.0-{apcu,bcmath,bz2,cgi,cli,common,curl,dba,dev,dom,enchant,fpm,gd,gmp,igbinary,imagick,imap,interbase,intl,ldap,mbstring,mcrypt,memcache,memcached,msgpack,mysql,mysqli,odbc,opcache,pgsql,phpdbg,pspell,readline,redis,soap,sqlite3,ssh2,sybase,tidy,xml,xmlrpc,xsl,zip} | |
sudo apt install -y php8.1 php8.1-{bcmath,bz2,cgi,cli,common,curl,dba,dev,dom,enchant,fpm,gd,gmp,igbinary,imagick,imap,interbase,intl,ldap,mbstring,mcrypt,memcache,memcached,msgpack,mysql,mysqli,odbc,opcache,pgsql,phpdbg,pspell,readline,redis, |
This file contains hidden or 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
pip3 install --upgrade pip && pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U || pip install --upgrade pip && pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U |
This file contains hidden or 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
sudo mount -o remount, rw /boot/ && sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo reboot |
This file contains hidden or 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
cd /home/pi | |
sudo apt update | |
clear | |
sudo apt remove node nodejs nodejs-legacy -y | |
sudo apt remove libavcodec-extra-57 libavformat57 libavresample2 libavutil55 -y | |
clear | |
sudo apt autoremove -y | |
clear | |
if uname -m | grep -q "armv6l"; then | |
clear |
This file contains hidden or 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 | |
for n in {1..150}; do tac .gitignore | sed "1,250d" | tac | tee .gitignore2 && mv .gitignore2 .gitignore && git add --all && git commit -m "Old checkin" && git push ; done |
This file contains hidden or 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 | |
# Compile and install (or install via Apt) FFmpeg Codecs | |
# Compile and install FFmpeg suite | |
echo "Begining Installation of FFmpeg Suite" | |
#Update APT Repository | |
echo "Updating the APT repository information" | |
apt update |
This file contains hidden or 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 getElementByXpath(path) { | |
return document.evaluate(path, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; | |
} | |
setInterval(function() { | |
getElementByXpath('//*[@id="gb"]/div[2]/div[2]/div[1]/div/div/div[1]/div/div[1]').click(); | |
}, 100000); |
This file contains hidden or 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 | |
# Detects which OS and if it is Linux then it will detect which Linux | |
# Distribution. | |
# -e option instructs bash to immediately exit if any command [1] has a non-zero exit status | |
# We do not want users to end up with a partially working install, so we exit the script | |
# instead of continuing the installation with something broken | |
set -e | |
# Find the rows and columns will default to 80x24 if it can not be detected |
This file contains hidden or 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
#PixelReset { | |
position: absolute; | |
left:0; | |
top:0; | |
width: 100%; | |
min-height: 100%; | |
z-index: 2147483647; | |
background: linear-gradient(270deg, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff); | |
background-size: 1200% 1200%; | |
-webkit-animation: PixelReset 120s ease infinite; |
This file contains hidden or 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 () { | |
$.browser.chrome = $.browser.webkit && !!window.chrome; | |
$.browser.safari = $.browser.webkit && !window.chrome; | |
$.browser.firefox = $.browser.mozilla | |
$.browser.internetexplorer = window.navigator.userAgent.indexOf('MSIE ') > 0 || window.navigator.userAgent.indexOf('Trident/') > 0; | |
}); |
NewerOlder