(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| #!/bin/bash | |
| echo "MP4" | |
| #ffmpeg -i $1 -vcodec libx264 -vprofile slow -vprofile baseline -b:v 1500k -b:a 64k -g 30 $1.mp4 | |
| ffmpeg -i $1 -vcodec libx264 -vprofile slow -vprofile baseline -b:v 1500k -an -g 30 $1.mp4 | |
| echo "webm (VP8 / Vorbis)" | |
| #ffmpeg -i $1 -b:v 1500k -b:a 64k -vcodec libvpx -acodec libvorbis -f webm -g 30 $1.webm | |
| ffmpeg -i $1 -b:v 1500k -b:a 64k -vcodec libvpx -an -f webm -g 30 $1.webm |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
More details here: https://developer.mozilla.org/en/docs/Simple_Firefox_build
Get Firefox' source code:
git clone https://github.com/mozilla/gecko-dev.git
git checkout fx-team
Install dependencies:
| ----------------------------------------------------------------------------- | |
| "THE BEER-WARE LICENSE" (Revision 42): | |
| <[email protected]> wrote this file. As long as you retain this notice you | |
| can do whatever you want with this stuff. If we meet some day, and you think | |
| this stuff is worth it, you can buy me a beer in return. -Michaël Sokol | |
| ----------------------------------------------------------------------------- | |
| eval(atob("\ | |
| dmFyIGpxID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnc2NyaXB0Jyk7CmpxLnNyYyA9ICIvL2N \ |
| { | |
| "title": "Apache and Tomcat Logs", | |
| "services": { | |
| "query": { | |
| "list": { | |
| "0": { | |
| "query": "apache !tomcat !static", | |
| "alias": "", | |
| "color": "#7EB26D", | |
| "id": 0, |
| <?php | |
| /* | |
| POST / HTTP/1.1 | |
| Host: kinesis.<region>.<domain> | |
| x-amz-Date: <Date> | |
| Authorization: AWS4-HMAC-SHA256 Credential=<Credential>, SignedHeaders=content-type;date;host;user-agent;x-amz-date;x-amz-target;x-amzn-requestid, Signature=<Signature> | |
| User-Agent: <UserAgentString> | |
| Content-Type: application/x-amz-json-1.1 | |
| Content-Length: <PayloadSizeBytes> |
| /** | |
| * (C)Leanest CSS spinner ever | |
| */ | |
| @keyframes spin { | |
| to { transform: rotate(1turn); } | |
| } | |
| .progress { | |
| position: relative; |
| /usr/libexec/PlistBuddy -c 'Add :LSUIElement bool true' /Applications/iTerm.app/Contents/Info.plist |
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: