$ brew install ffmpeg --with-fdk-aac --with-tools --with-freetype --with-libass --with-libvorbis --with-libvpx --with-x265
a. You probably will only need the--with-fdk-aac
flag, but I'm not sure.$ cd
into the directory with the files you want to fix.- Place the
fix_m4a
file into that directory (remove the.sh
file extension) $ chmod 700 fix_m4a
to allow you to run it$ ./fix_m4a
This will fix all the.m4a
files, creating fixed versions prefixed withs-
.
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
<?php | |
// Stripped down for brevity | |
class BPlugin { | |
public function init () { | |
// Trigger Google Shopping updates | |
// ===================================================================== | |
if (!craft()->config->get('devMode')) { |
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 | |
ssh devski "pg_dump -U postgres -h 127.0.0.1 -w [DB_NAME] | gzip" >> "/Users/[USER_FOLDER]/Downloads/db.sql.gz"; | |
"/Applications/Postgres.app/Contents/Versions/10/bin/dropdb" [DB_NAME]; | |
"/Applications/Postgres.app/Contents/Versions/10/bin/createdb" [DB_NAME]; | |
gunzip -c "/Users/[USER_FOLDER]/Downloads/db.sql.gz" | "/Applications/Postgres.app/Contents/Versions/10/bin/psql" [DB_NAME] -U postgres; | |
rm "/Users/[USER_FOLDER]/Downloads/db.sql.gz"; |
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
*/15 * * * * python /path/to/ddns.py |
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
ngrok http dev.example.com:443 -host-header=dev.example.com -region=eu |
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
ngrok http -region=eu -host-header=my-dev-domain.local 443 |
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
country | country_code | currency | unit_text | symbol | |
---|---|---|---|---|---|
New Zealand | NZ | NZD | New Zealand Dollar | $ | |
Cook Islands | CK | NZD | New Zealand Dollar | $ | |
Niue | NU | NZD | New Zealand Dollar | $ | |
Pitcairn | PN | NZD | New Zealand Dollar | $ | |
Tokelau | TK | NZD | New Zealand Dollar | $ | |
Australian | AU | AUD | Australian Dollar | $ | |
Christmas Island | CX | AUD | Australian Dollar | $ | |
Cocos (Keeling) Islands | CC | AUD | Australian Dollar | $ | |
Heard and Mc Donald Islands | HM | AUD | Australian Dollar | $ |
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
import { getCurrentUrl, exec, subscribers } from 'preact-router'; | |
import { useEffect, useState } from 'preact/hooks'; | |
/** | |
* Hook to check if the given path matches the current URL | |
* | |
* const [matches, { path }] = useMatch('/my/:path?'); | |
* | |
* @param {string} path - The path to check against | |
* @return {[boolean, Object]} |
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
<?php | |
namespace modules; | |
use Craft; | |
use craft\commerce\elements\Subscription; | |
use DateTime; | |
use Twig\Error\LoaderError; | |
use Twig\Error\SyntaxError; | |
use yii\base\Module; |
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
/\s+"""[\s\S]*?"""/sg |