old-tool:old-rule
new-name
php_codesniffer:ValidDefaultValueNotAtEnd
?
<?php | |
// config | |
error_reporting(-1); | |
ini_set('display_errors', 1); | |
header('Content-Type: text/plain; charset=utf-8'); | |
// library | |
class Edge { |
<?php | |
// Zend Framework Workaround | |
require_once('ZFWA\Db\Table\Row\Abstract.php'); | |
require_once('ZFWA\Db\Table\Select\ColumnsWithoutFrom.php'); | |
// That Table we want to start from | |
require_once('ThatTable.php'); | |
// init Table | |
$ThatTable = new ThatTable(); | |
// fetch Rowset/Row | |
$ThatRowset = $ThatTable->find(1); |
@echo off | |
SETLOCAL EnableDelayedExpansion | |
SET TOOL=mp4creator.exe | |
SET WD=%CD% | |
SET /P WD="%WD%\" | |
FOR /R "%WD%" %%F IN (*.mp4) DO ( | |
echo ================================================================ | |
echo %%~dpnF.m4a | |
echo ---------------------------------------------------------------- | |
copy "%%~dpnF.mp4" "%%~dpnF.m4a" > nul |
/** | |
* a nice foobar2000 scoring algorithm, | |
* wich emphasizes half on a baseline of tags | |
* and the other half on the bitrate of MP3 or AAC | |
* with a slightly tricked curve for AAC (bonus) | |
* current max is 12 Points or 6 nice stars | |
* | |
* tipp: use php highlighter to edit | |
*/ | |
# Scoring -v |
<?php | |
/** | |
* Doctrine logger for FireBug | |
* | |
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL | |
* @author Magnus Andersson <[email protected]> | |
* @author Christoph Roensch | |
* | |
* @link https://gist.github.com/2917214 | |
*/ |
/** | |
* Firebug Console | |
*/ | |
(function (window) { | |
"use strict"; | |
if (window.console) { | |
return; | |
} | |
function fn() { | |
} |
@echo off | |
SETLOCAL EnableDelayedExpansion | |
SET TOOL=mp4creator.exe | |
SET WD=%CD% | |
SET /P WD="%WD%\" | |
FOR /R "%WD%" %%F IN (*.aac) DO ( | |
echo ================================================================ | |
echo %%~dpnF.m4a | |
echo ---------------------------------------------------------------- | |
%~dp0%TOOL% -create="%%~dpnF.aac" "%%~dpnF.m4a" |