#Chrome remote mode command for Linux
/opt/google/chrome/chrome --remote-debugging-port=9222
function onFacebookLogin() { | |
"use strict"; | |
localStorage.accessToken || chrome.tabs.getAllInWindow(null, function (e) { | |
for (var i = 0; i < e.length; i += 1) if (e[i].url.indexOf(successURL) === 0) { | |
var t = e[i].url.split("#")[1]; | |
access = t.split("&")[0], console.log(access), localStorage.setItem("accessToken", access), chrome.tabs.onUpdated.removeListener(onFacebookLogin); | |
return; | |
} | |
}); | |
} |
// Your JavaScript |
#Chrome remote mode command for Linux
/opt/google/chrome/chrome --remote-debugging-port=9222
##My Schedule:
6.00 - 7.30 : Jogging 7.30 - 8.00 : Freshen up + Bath 8.00 - 10.00 : Work 10.00 - 10.30 : Food 10.30 - 11.00 : TV / Work / Play 11.00 - 1.00 : Work 1.00 - 2.30 : Lunch + Rest
.--. Try not. | |
::\`--._,'.::.`._.--'/:: Do or do not. | |
::::. ` __::__ ' .:::: There is no try. | |
::::::-:.`'..`'.:-:::::: | |
::::::::\ `--' /:::::::: -Yoda | |
my $a=4; | |
print foo(),"\n"; | |
sub foo{my $a=$a;} | |
my @a=(10,5,1); | |
my @b=sort @a; | |
print "@b"; | |