On mac:
- Download the latest release.
- Extract the binary and place it in
/usr/local/bin.
| (async function() { | |
| const REMOVE_BUTTON_TEXT = 'Remove from Watch later' | |
| // de-DE: const REMOVE_BUTTON_TEXT = 'Aus "Später ansehen" entfernen' | |
| // pt-BR: const REMOVE_BUTTON_TEXT = 'Remover de Assistir mais tarde' | |
| // swe-SE: const REMOVE_BUTTON_TEXT = 'Ta bort från Titta senare' | |
| // zh-Hans-CN: const REMOVE_BUTTON_TEXT = '从稍后观看中移除' | |
| // ru-RU: const REMOVE_BUTTON_TEXT = 'Удалить из плейлиста "Смотреть позже"' | |
| const playlistName = document.querySelector('#title a').text |
| convert -density 256x256 -background transparent favicon.svg -define icon:auto-resize -colors 256 favicon.ico |
On mac:
/usr/local/bin.| #!/bin/bash | |
| readonly INTERFACE="wg0" | |
| # Generate peer keys | |
| readonly PRIVATE_KEY=$(wg genkey) | |
| readonly PUBLIC_KEY=$(echo ${PRIVATE_KEY} | wg pubkey) | |
| readonly PRESHARED_KEY=$(wg genpsk) | |
| readonly IP=$(curl ifconfig.so) |
| USER_NAME=marcy | |
| sed -i "s/.*RSAAuthentication.*/RSAAuthentication yes/g" /etc/ssh/sshd_config | |
| sed -i "s/.*PubkeyAuthentication.*/PubkeyAuthentication yes/g" /etc/ssh/sshd_config | |
| sed -i "s/.*PasswordAuthentication.*/PasswordAuthentication no/g" /etc/ssh/sshd_config | |
| sed -i "s/.*AuthorizedKeysFile.*/AuthorizedKeysFile\t\.ssh\/authorized_keys/g" /etc/ssh/sshd_config | |
| sed -i "s/.*PermitRootLogin.*/PermitRootLogin no/g" /etc/ssh/sshd_config | |
| echo "${USER_NAME} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers | |
| service sshd restart |
/Library/Backblaze.bzpkg/bzdata/bzexcluderules_editable.xml.bzexclusions tag:<!-- Exclude node_modules. -->
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/node_modules/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/.git/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />| # Download and Install the Latest Updates for the OS | |
| apt-get update && apt-get upgrade -y | |
| # Set the Server Timezone to CST | |
| echo "America/Chicago" > /etc/timezone | |
| dpkg-reconfigure -f noninteractive tzdata | |
| # Enable Ubuntu Firewall and allow SSH & MySQL Ports | |
| ufw enable | |
| ufw allow 22 |
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
| /** | |
| * Make sure Graphicsmagick is installed on your system | |
| * osx: brew install graphicsmagick | |
| * ubuntu: apt-get install graphicsmagick | |
| * | |
| * Install these gulp plugins | |
| * glup, gulp-image-resize, gulp-imagemin and imagemin-pngquant | |
| * | |
| * Group images according to their output dimensions. | |
| * (ex: place all portfolio images into "images/portfolio" |