Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.
brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
(function (window, document, $, miniShop2Config) { | |
var miniShop2 = miniShop2 || {}; | |
miniShop2Config.callbacksObjectTemplate = function () { | |
return { | |
// return false to prevent send data | |
before: [], | |
response: { | |
success: [], | |
error: [] | |
}, |
/** | |
* 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" |
#!/bin/bash | |
git clone https://github.com/udovichenko/git-test | |
cd git-test | |
echo ".idea" > .gitignore | |
mkdir "inc" | |
echo "1" > inc/f1.html | |
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.
# 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 |
alias aliasup="wget 'https://gist.githubusercontent.com/udovichenko/cf82c93e193d18d51166e3299aba1c24/raw/.bash_aliases?$(date +%s)' -O ~/.bash_aliases && source ~/.bash_aliases" | |
alias cmx='chmod +x' | |
alias cdlog='cd /var/log/nginx' | |
alias cdw='cd /var/www/html' | |
alias cden='cd /etc/nginx/sites-available' | |
alias ll='ls -laFh' | |
cd() { | |
builtin cd "$@" && ls -laF | |
} |
/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="*" />
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 |
{ | |
"devDependencies": { | |
"@babel/plugin-proposal-class-properties": "^7.14.5", | |
"@babel/plugin-proposal-private-methods": "^7.14.5", | |
"@babel/preset-env": "^7.14.5", | |
"@rollup/plugin-babel": "^5.3.0", | |
"@rollup/plugin-commonjs": "^19.0.0", | |
"@rollup/plugin-node-resolve": "^13.0.0", | |
"autoprefixer": "^10.2.6", | |
"babel-plugin-remove-template-literals-whitespace": "^1.0.4", |