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
| #!/bin/sh | |
| print_usage() { | |
| echo "usage: compress_video <input_file>" | |
| echo "supported formats: mp4, webm, mkv, mov, avi, flv" | |
| } | |
| get_extension() { | |
| f="${1##*/}" | |
| case "$f" in |
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
| {"window":{"width":750,"height":649},"event_log":[{"selector":"#topics > div:nth-child(1) > div.col-sm-8 > div:nth-child(4) > div:nth-child(1) > div.subjects > div.eachSubj > div.topic > a:nth-child(1)","isTrusted":true,"detail":0,"which":0,"type":"focus","eventPhase":1,"bubbles":false,"cancelable":false,"defaultPrevented":false,"composed":true,"timeStamp":33710.199999809265,"returnValue":true,"cancelBubble":false},{"selector":"#topics > div:nth-child(1) > div.col-sm-8 > div:nth-child(4) > div:nth-child(1) > div.subjects > div.eachSubj > div.topic > a:nth-child(1)","isTrusted":true,"detail":0,"which":0,"type":"focusin","eventPhase":1,"bubbles":true,"cancelable":false,"defaultPrevented":false,"composed":true,"timeStamp":33720.699999809265,"returnValue":true,"cancelBubble":false},{"selector":"#topics > div:nth-child(1) > div.col-sm-8 > div:nth-child(4) > div:nth-child(1) > div.subjects > div.eachSubj > div.topic > a:nth-child(1)","isTrusted":true,"screenX":235,"screenY":353,"clientX":235,"clientY":282,"ctrlKey" |
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
| <IfModule mod_rewrite.c> | |
| <IfModule mod_negotiation.c> | |
| Options -MultiViews | |
| </IfModule> | |
| RewriteEngine On | |
| RewriteCond %{REQUEST_FILENAME} -d [OR] | |
| RewriteCond %{REQUEST_FILENAME} -f | |
| RewriteRule ^ ^$1 [N] |
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
| <template> | |
| <div class="text-center"> | |
| <form class="form-signin" @submit.prevent="doLogin"> | |
| <h1 class="h3">Please sign in</h1> | |
| <label for="inputEmail" class="sr-only">Email address</label> | |
| <input type="email" id="inputEmail" class="form-control" placeholder="Email address" v-model="email" autofocus required> | |
| <label for="inputPassword" class="sr-only">Password</label> | |
| <input type="password" id="inputPassword" class="form-control" v-model="password" placeholder="Password" required> | |
| <button class="btn btn-lg btn-primary btn-block" type="submit" id="signin-button">Sign in</button> |
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
| class Auth{ | |
| static isLoggedIn(){ | |
| return Auth.tokenPresent(); | |
| } | |
| static tokenPresent(){ | |
| return Auth.getAuthToken() != null; | |
| } | |
| static getAuthToken(){ |