this app will be https://bitly.com/ clone .
Short url is a way to count the number of hits per URL, we should save the original URL and redirect to the original URL.
Implement web-application, consists of:
- Admin part: /admin
- list of short urls
console.log('hello!!!') | |
window.dividePromise = () => ({then: () => {}}); | |
window.divideCallback = () => {}; | |
const origConsoleLog = console.log; | |
const origConsoleError = console.error; | |
window.console.log = (input) => { | |
origConsoleLog(input); | |
document.write('<div>Result: '+ input + "</div>"); | |
}; |
this app will be https://bitly.com/ clone .
Short url is a way to count the number of hits per URL, we should save the original URL and redirect to the original URL.
Implement web-application, consists of:
#Must be one of the following:
INITIAL: The initial commit
FEAT: Only changes that creating new features or modofying existing features, that are not bug fixes
FIX: Only bug fixes
DOCS: Only Documentation changes
STYLE: Only changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
REFACTOR: Only code changes that are neither fixes or features
TEST: Only changes that are adding new tests or modifying existing tests
TOOLS: Only changes that affect external processeses like build tools, dev tools, auxiliary tools and libraries such as documentation generation
HandBrakeCLI -i The.Pianist.mp4 -o "The.Pianist.cut.mp4" --start-at duration:6931 --stop-at duration:1176 --preset="Normal Profile" |
render
getInitialState
componentWillMount *
componentDidMount
componentWillReceiveProps
shouldComponentUpdate
componentWillUpdate *
user@user:~$HandBrakeCLI -i /file/input.mp4 -o /file/out.mp4 -E fdk_faac -B 96k -6 stereo -R 44.1 -e x264 -q 27 -x cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all
** Don't Re-encode already shitty encodes...get good source!**
HandBrakeCLI -i file.mp4 -o file.output.mp4 --preset="Normal Profile" --srt-file file.srt --srt-codeset UTF-8 --srt-burn |
var elem = document.getElementById('some-player-element'); | |
[ | |
'abort', | |
'canplay', | |
'canplaythrough', | |
'durationchange', | |
'emptied', | |
'ended', | |
'error', | |
'loadeddata', |