## REMOVE SOUND
ffmpeg -i balloon-2.webm -an balloon-2-nosound.webm
## FLV TO WMV
ffmpeg -i infile.flv -vcodec wmv2 -sameq -acodec wmav2 -f output.wmv
## WEB VIDEO (MP4 > OGV / WEBM / MP4)
# requires options to be enabled in ffmpeg:
brew install ffmpeg --with-libvpx --with-libvorbis --with-theora --with-libogg --with-faac
I hereby claim:
- I am jeroenbourgois on github.
- I am jeroenbourgois (https://keybase.io/jeroenbourgois) on keybase.
- I have a public key whose fingerprint is 80F5 7542 9F52 A963 1202 0F36 D86F 3FF1 4E75 187A
To claim this, I am signing this object:
Bart heeft wat geprutst via "inspect element" om de homepage visueel wat bij te sturen.
- fontgrootte van kies een figuur (H2) mag op 18 px
- #home ol -> margin left 190 px margin bottom 30px
- #home ol li -> width 25 %
- de onderste witte zin (niet helemaal duidelijk...) mag weg
- zorgen jullie ervoor dat er niet moet gescrold worden op deze eerste pagina?
- aanpassen van de menubalk: links logo fabfabric (zie bijlage), rechts gelijnd de navigatie (moet nog aangepast worden naar HOME-OVER ONS-HOE WERKT HET?-FAQ)
KIES EEN FIGUUR
- roll over -> groen wordt munt kleur (nummer#90cfd1)
This file contains hidden or 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
public function add_lead(Model_Lead $lead) { | |
try { | |
$lead->save(); | |
} catch(Orm\ValidationFailed $e) { | |
$error = ['model' => $lead, 'error' => $e->get_fieldset()->validation()]; | |
Log::error($e); | |
// $error['errpor'] is NULL here, and I cannot find a way | |
// to get the actual error messages | |
return $error; | |
} |
This file contains hidden or 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 documentReady(readyFunction) { | |
// I added a check here to see if addEventListener | |
// is known, cause IE will fail and we can stop safely then | |
if(document.addEventListener) { | |
document.addEventListener('DOMContentLoaded', function() { | |
document.removeEventListener('DOMContentLoaded', arguments.callee, false); | |
readyFunction(); | |
}, false); | |
} |
This file contains hidden or 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
// bad | |
var obj = {'prop':'value', 'prop':'value', 'prop':'value'}; | |
var obj = {'prop':'value', | |
'prop':'value', | |
'prop':'value'}; | |
var obj = { | |
'prop':'value', | |
'prop':'value', | |
'prop':'value' | |
}; |
This file contains hidden or 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
// bad | |
for (var i = 0; i < 10; i++) { | |
... | |
} | |
if (a == b) { | |
... | |
} | |
while (a !== 1) { |
This file contains hidden or 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
// bad | |
while( count < collection.length ) { | |
foo(); | |
} | |
// good | |
while(count < collection.length) { | |
foo(); | |
} |
This file contains hidden or 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
// bad | |
var a=0; | |
if(i==='ok') alert('Foo'); | |
i+=2; | |
a=d*b*c; | |
if(a>b&&b<d||1===1) alert('Doh!'); | |
// good | |
var a = 0; | |
if(i === 1) alert('Foo'); |
This file contains hidden or 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
// bad | |
function foo (){ | |
alert('Bar'); | |
} | |
function foo(){ | |
alert('Bar'); | |
} | |
// good |