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
var emulatorDeviceList = [ | |
{ name: 'Amazon Kindle Fire HDX', width: 2560, height: 1600, ratio: 2 }, | |
{ name: 'Apple iPad', width: 1024, height: 768, ratio: 2 }, | |
{ name: 'Apple iPad Mini', width: 1024, height: 768, ratio: 1 }, | |
{ name: 'Apple iPhone 4', width: 320, height: 480, ratio: 2 }, | |
{ name: 'Apple iPhone 5', width: 320, height: 568, ratio: 2 }, | |
{ name: 'Apple iPhone 6', width: 375, height: 667, ratio: 2 }, | |
{ name: 'Apple iPhone 6 Plus', width: 414, height: 736, ratio: 3 }, | |
{ name: 'BlackBerry PlayBook', width: 1024, height: 600, ratio: 1 }, | |
{ name: 'BlackBerry Z30', width: 360, height: 640, ratio: 2 }, |
$prep = array(); | |
foreach($insData as $k => $v ) { | |
$prep[':'.$k] = $v; | |
} | |
$sth = $db->prepare("INSERT INTO table ( " . implode(', ',array_keys($insData)) . ") VALUES (" . implode(', ',array_keys($prep)) . ")"); | |
$res = $sth->execute($prep); |
apps
on the root, or run this command:sudo apt-get install -y libc6-armel gcc-multilib | |
sudo locale-gen en_US.UTF-8 | |
sudo dpkg-reconfigure locales | |
mkdir /tmp/plex | |
wget -P /tmp/plex https://downloads.plex.tv/plex-media-server/0.9.11.7.803-87d0708/plexmediaserver-ros6-binaries_0.9.11.7.803-87d0708_armel.deb | |
dpkg -x /tmp/plex/plexmediaserver-ros6-binaries_0.9.11.7.803-87d0708_armel.deb /tmp/plex | |
sudo mv /tmp/plex/apps / | |
sudo mkdir /apps/plexmediaserver/temp | |
sudo mkdir /apps/plexmediaserver/MediaLibrary | |
sudo rm -rf /tmp/plex/ |
<select> | |
<optgroup label="Piemonte"> | |
<option value="TO">Torino</option> | |
<option value="VC">Vercelli</option> | |
<option value="NO">Novara</option> | |
<option value="CN">Cuneo</option> | |
<option value="AT">Asti</option> | |
<option value="AL">Alessandria</option> | |
<option value="BI">Biella</option> | |
<option value="VB">Verbano-Cusio-Ossola</option> |
<?php | |
$province= array( | |
'AG' => 'Agrigento', | |
'AL' => 'Alessandria', | |
'AN' => 'Ancona', | |
'AO' => 'Aosta', | |
'AR' => 'Arezzo', | |
'AP' => 'Ascoli Piceno', | |
'AT' => 'Asti', | |
'AV' => 'Avellino', |
.tab-bar { | |
height: 34px; | |
padding: 0; | |
.tab { | |
-webkit-transform: none; | |
top: 2px; | |
line-height: 25px; | |
&.active { |
<?php | |
// Put the following in your theme's functions.php for instance: | |
add_filter( 'wc_pdf_product_vouchers_voucher_fields', 'wc_pdf_product_vouchers_add_custom_fields', 10, 2 ); | |
/** | |
* Adds some custom fields to the given product voucher | |
* |