In no particular order
This file contains 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 | |
class Craft3ValetDriver extends ValetDriver | |
/* https://github.com/laravel/valet/blob/master/cli/drivers/CraftValetDriver.php */ | |
{ | |
/** | |
* Determine if the driver serves the request. | |
* | |
* @param string $sitePath | |
* @param string $siteName |
Essentially just copy the existing video and audio stream as is into a new container, no funny business!
The easiest way to "convert" MKV to MP4, is to copy the existing video and audio streams and place them into a new container. This avoids any encoding task and hence no quality will be lost, it is also a fairly quick process and requires very little CPU power. The main factor is disk read/write speed.
With ffmpeg
this can be achieved with -c copy
. Older examples may use -vcodec copy -acodec copy
which does the same thing.
These examples assume ffmpeg
is in your PATH
. If not just substitute with the full path to your ffmpeg binary.
This file contains 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
/** | |
Draw Dot-Circle Pattern with Illustrator | |
Copyright(c) 2016 Jonas Scheiwiller | |
Wed 4 May 2016 18:14:18 | |
JavaScript Script for Adobe Illustrator CC 2015 | |
Tested with Adobe Illustrator CC 19.2.1, Mac OS X El Capitan. | |
This script provided "as is" without warranty of any kind. | |
Free to use and distribute. |
This file contains 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($) { | |
$.fn.myfield = function() { | |
return this.each(function() { | |
var field = $(this); | |
// avoid multiple inits | |
if(field.data('myfield')) { |
This file contains 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
Our favorite cruise was on the <i>Explorer of the Seas</i>, --> italicize the name of a ship | |
which we read about in <cite>Cruising</cite> magazine, --> reference the name of a publication | |
and we <em>loved</em> it. --> emphasize a feeling | |
(<b>Note:</b> This was before everyone got all sick --> start a note with bolded text | |
and was throwing up <strong>everywhere</strong>.) --> make a strong statement |
This file contains 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 | |
// Copy this code into your config.php file | |
// Replace the default $maxDimension to meet your needs | |
// Read more about Kirby's Panel hooks at https://getkirby.com/docs/panel/developers/hooks | |
// Shrink large images on upload | |
kirby()->hook('panel.file.upload', 'shrinkImage'); | |
kirby()->hook('panel.file.replace', 'shrinkImage'); | |
function shrinkImage($file, $maxDimension = 1000) { |
This file contains 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
This is now part of craft-scripts: | |
https://github.com/nystudio107/craft-scripts |
This file contains 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
Adding Hidden Agendas | |
Adjusting Bell Curves | |
Aesthesizing Industrial Areas | |
Aligning Covariance Matrices | |
Applying Feng Shui Shaders | |
Applying Theatre Soda Layer | |
Asserting Packed Exemplars | |
Attempting to Lock Back-Buffer | |
Binding Sapling Root System | |
Breeding Fauna |
- airplay-mdns-server - Advertise an AirPlay server on the network
- raop-mdns-server - Advertise a RAOP server on the network
- raop-stub - Create a fake RAOP server on the network
- rtsp-stream - Parse RTSP streams
- rtsp-server - A low level module for creating RTSP servers
- raop-server - A low level module for creating RAOP servers (WIP - for now, see raop-rtsp-server or rtsp-server instead)
- airplay-server - A low level module for creating AirPlay servers
- airplay-txt - WIP