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
#!/bin/bash | |
### NOTE | |
# Ideally, you should create an image from small partition (e.g., 4 GB) instead of the whole SD card (e.g., 32 GB). | |
# For example, an image for Raspbian image should be created by the following procdure: | |
# (1) Install the official Raspbian image (3.5 GB for Jessie) on an SD card | |
# (2) Manually expand the partition to a modest size to accommodate your base software (e.g., 4 GB) | |
# (3) Perform apt-get update and upgrade, install software and configuration that you want. | |
# (4) Create an image from that (4 GB) partition | |
# |
import Vue from 'vue' | |
import VeeValidate from 'vee-validate' | |
... | |
import RedactorEditor from './components/RedactorEditor.vue' | |
Vue.use(VeeValidate) |
Vue.component('select2', { | |
props: ['options', 'value'], | |
template: ` | |
<div> | |
<select multiple ref='select'> | |
<slot></slot> | |
</select> | |
</div> | |
`, | |
mounted: function () { |
diff -rupN mage_org/app/code/core/Mage/Catalog/Model/Url.php src_shop/app/code/core/Mage/Catalog/Model/Url.php | |
--- mage_org/app/code/core/Mage/Catalog/Model/Url.php 2013-11-19 00:48:25.679009391 +0100 | |
+++ src_shop/app/code/core/Mage/Catalog/Model/Url.php 2013-11-19 00:49:24.188005601 +0100 | |
@@ -643,13 +643,24 @@ class Mage_Catalog_Model_Url | |
$this->_rewrite = $rewrite; | |
return $requestPath; | |
} | |
+ | |
+ // avoid unnecessary creation of new url_keys for duplicate url keys | |
+ $noSuffixPath = substr($requestPath, 0, -(strlen($suffix))); |
// Handel max char left control for input and textarea | |
/* Set on your project this minumum css style (adapt for your need) | |
* mandatory for directive *maxlength-control* | |
*/ | |
/* | |
.maxlength-control ~ .maxlength-control-status { | |
color: #b5b5b5; | |
float: right; |
'use strict'; | |
// simple express server | |
var express = require('express'); | |
var app = express(); | |
var router = express.Router(); | |
app.use(express.static('public')); | |
app.get('/', function(req, res) { | |
res.sendfile('./public/index.html'); |
#!/usr/bin/perl -w | |
# | |
## Copyright (C) 2011 Colin Mollenhour <http://colin.mollenhour.com/> | |
## | |
## This program is free software; you can redistribute it and/or | |
## modify it under the terms of the GNU General Public License | |
## as published by the Free Software Foundation; version 2 dated June, | |
## 1991. | |
## |
# add first to your virtualenv (postactivate or autoenv, etc) | |
export GEM_HOME="$VIRTUAL_ENV/gems" | |
export GEM_PATH="" | |
export PATH=$PATH:"$GEM_HOME/bin" |