This file contains 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
(.env-python)Askeings-MacBook-Pro:Hasal Askeing$ python tools/backfill_agent.py --backfill | |
Current Platform: windows8-64 | |
================ | |
* Backfill mode * | |
================ | |
Start querying data... might takes a while! | |
Starting query result ... 84/84 | |
Query result done. | |
Starting output to backfill.csv ... | |
Output to backfill.csv done. |
This file contains 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
/* | |
Source: https://github.com/mikeconley/js-and-dom-for-gecko-hackers-talk | |
site: https://askeing.github.io/js-and-dom-for-gecko-hackers-talk/ | |
slide-64 | |
*/ | |
function Shape({ x, y }) { | |
this._x = x; | |
this._y = y; | |
} |
This file contains 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
>>> data = '<option value="TYO">Tokyo (Haneda/Narita)</option><option value="OSA">Osaka (Itami/Kansai)</option><option value="SPK">Sapporo (New Chitose/Okadama)</option><option value="NGO">Nagoya (Chubu/Komaki)</option><option value="FUK">Fukuoka</option><option value="OKA">Okinawa (Naha)</option><option value="AXT">Akita</option><option value="AXJ">Amakusa</option><option value="ASJ">Amamioshima</option><option value="AOJ">Aomori</option><option value="AKJ">Asahikawa</option><option value="HKD">Hakodate</option><option value="HNA">Hanamaki</option><option value="HIJ">Hiroshima</option><option value="ISG">Ishigaki</option><option value="IZO">Izumo</option><option value="KOJ">Kagoshima</option><option value="KKX">Kikaijima</option><option value="KTD">Kitadaito</option><option value="KKJ">Kitakyushu</option><option value="KCZ">Kochi</option><option value="KMQ">Komatsu</option><option value="KMJ">Kumamoto</option><option value="UEO">Kumejima</option><option value="KUH">Kushiro</option><option value="MMJ">Matsumo |
This file contains 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
>>> # Soultion 1 | |
... | |
>>> data = { | |
... "id-1": { | |
... "p": "w", | |
... "t": "foo", | |
... "b": "f" | |
... }, | |
... "id-2": { | |
... "p": "w", |
This file contains 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
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Miniconda2\envs\hasal-env;C:\Miniconda2\envs\hasal-env\Library\mingw-w64\bin;C:\Miniconda2\envs\hasal-env\Library\usr\bin;C:\Miniconda2\envs\hasal-env\Library\bin;C:\Miniconda2\envs\hasal-env\Scripts;C:\Program Files\Google\Chrome\Application\;C:\Program Files\Git\bin;C:\Program Files (x86)\Google\Chrome\Application\;C:\Program Files\Mozilla Firefox;C:\Program Files (x86)\Mozilla Firefox;C:\Program Files\Nightly;C:\Program Files (x86)\Nightly;C:\Miniconda2\Scripts\;C:\Miniconda2\;c:\Users\user\Hasal\ffmpeg\bin\;\Scripts; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
# ref: https://docs.python.org/2/distutils/packageindex.html | |
# 1st run | |
$ python setup.py register | |
# 1~nth run | |
$ python setup.py sdist upload |
This file contains 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
// inject: https://github.com/eligrey/FileSaver.js/blob/master/FileSaver.js | |
var downloadBtnDiv = document.getElementsByClassName("profileSharingProfileDownloadButton")[0]; | |
var downloadBtn = downloadBtnDiv.childNodes[0].childNodes[0]; | |
downloadBtn.click(); | |
var downloadLinks = document.getElementsByClassName("profileSharingDownloadLink"); | |
var firstDownloadLinks = downloadLinks[0]; | |
var downloadObjURL = firstDownloadLinks.href; |
NewerOlder