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| # BEGIN WordPress | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteRule ^index\.php$ - [L] | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule . /index.php [L] | |
| </IfModule> |
| <?php | |
| /** | |
| * Application driver class to initialize Phalcon and | |
| * other resources. | |
| */ | |
| class Application extends \Phalcon\Mvc\Application | |
| { | |
| private static $mode = 'development'; // TODO change default to production | |
| private static $modules = array( | |
| 'portal' => array( |
| <?php | |
| class Crypt { | |
| private $key; | |
| function __construct($key){ | |
| $this->setKey($key); | |
| } |
| <?php | |
| /** | |
| * ViewCascade.php 2014-07-23 20:31 | |
| * ---------------------------------------------- | |
| * | |
| * | |
| * @author Stanislav Kiryukhin <[email protected]> | |
| * @copyright Copyright (c) 2014, CKGroup.ru | |
| * | |
| * @version 0.0.1 |
| <?php | |
| // Here is a sample of the URLs this regex matches: (there can be more content after the given URL that will be ignored) | |
| // http://youtu.be/dQw4w9WgXcQ | |
| // http://www.youtube.com/embed/dQw4w9WgXcQ | |
| // http://www.youtube.com/watch?v=dQw4w9WgXcQ | |
| // http://www.youtube.com/?v=dQw4w9WgXcQ | |
| // http://www.youtube.com/v/dQw4w9WgXcQ | |
| // http://www.youtube.com/e/dQw4w9WgXcQ | |
| // http://www.youtube.com/user/username#p/u/11/dQw4w9WgXcQ |
phpcbf is included when you install PHP_CodeSniffer. Tom McFarlin has written a nice guide on how to install PHP_CodeSniffer and the WordPress Coding Standards Rules for VSCode. If you follow this guide, phpcbf will be installed in the project root, in ./vendor/bin/phpcbf
You'll find the convert.php script at GitHub
| #!/usr/bin/osascript | |
| -- To fix error with Outlook 2016 HTML signature images showing up as attachments | |
| -- Ref: http://mydesignpad.com/how-to-create-an-attractive-html-email-signature-for-microsoft-outlook-2016-for-mac/#comment-36065 | |
| -- To use, add your signature name (under `name`) and signature (under `content`) and paste and run this code in Script Editor | |
| tell application id "com.microsoft.Outlook" | |
| make new signature with properties {name:"Google Signature", content:"<table><tr><td><img src='https://www.google.de/images/branding/googlelogo/2x/googlelogo_color_120x44dp.png' width='120' height='44'></td></tr></table>"} | |
| end tell |
| # Taken from https://www.reddit.com/r/MacOS/comments/i4czgu/big_sur_airpods_script/gck3gz3/ | |
| # by https://github.com/smithumble | |
| use framework "IOBluetooth" | |
| use scripting additions | |
| set AirPodsName to "AirPods" | |
| on getFirstMatchingDevice(deviceName) | |
| repeat with device in (current application's IOBluetoothDevice's pairedDevices() as list) |