top of page
Ken Li
Quantitative Analysis
Risk Management
Project Management
Photographer, Designer
Standing On The Shoulders Of Giants
Title | web_link | description | quality | category | Last Updated | image |
---|---|---|---|---|---|---|
About Marine Tank | https://joejaworski.wordpress.com/2008/05/09/does-a-reef-tank-need-carbon/ | High Quality | Aquaponic | 27/08/2018 | ||
过滤系统的辩论 | https://www.cnblogs.com/steadfast/p/5473170.html | Medium Quality | Other | 25/06/2018 | ||
硝化菌培养 氨循环 | http://scyu.logdown.com/posts/87651-build-nitrification-system-of-fish-tank | High Quality | Other | 25/06/2018 | ||
fish tank aquarium maintenance | https://www.algone.com/aquarium-maintenance-tips-and-fish-care-guidelines | Medium Quality | Other | 24/06/2018 | ||
Highlight Typo in Jupyter Notebook for Markdown cell | https://stackoverflow.com/questions/39324039/highlight-typos-in-the-jupyter-notebook-markdown | Medium Quality | Python | 24/06/2018 | ||
煲仔饭 | https://www.xiachufang.com/recipe/103024/ | Other | 24/06/2018 | |||
X201 tablet setting in Ubuntu | https://ubuntuforums.org/showthread.php?t=1656632 | Medium Quality | Other | 29/05/2018 | ||
Thinkpad x201 driver list | https://download.lenovo.com/eol/index.html | High Quality | Other | 28/05/2018 | ||
configuring bootable menu in Unbuntu | http://www.psychocats.net/ubuntu/bootmenu | Medium Quality | Other | 27/05/2018 | ||
create mac OS usb installer in Linux | https://superuser.com/questions/505821/making-a-bootable-osx-usb-from-dmg-on-linux?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa | dmg2iso
dd method | Medium Quality | Other | 25/05/2018 | |
fix signiture problem in installing mac os | https://www.macworld.com/article/3097533/macs/installing-os-x-what-to-do-when-this-copy-of-the-install-os-x-application-cannot-be-verified.html | How to fix the problem
The installer checks the date on the computer. If the date isn’t current, you get the error above. The fix involves correcting the date on your Mac.
If you have an older OS on the Mac
If you have a complete OS on the Mac already, boot into it. Fix the date in the Date & Time system preference (Apple menu > System Preferences). Reboot using the USB boot disk, and you should be able to proceed with the installation.
If you don’t have an OS on the Mac
If you are in a situation like I was, and you don’t have a complete OS on your disk (you reformatted it), you’ll find that there’s no way to access the Date & Time system preference when you use an external USB boot installer drive. The Apple menu doesn’t give you access to System Preferences. You have to use the Terminal to set the date and time.
osx boot install error terminal
How to access the Terminal when you boot from an external boot drive installer.
If you use an external boot disk, you Mac starts up into OS X Disk Utilities. You can access the Terminal by clicking on the Utilities menu and selecting Terminal. Once the Terminal has launched, follow these steps. | Other | 24/05/2018 | ||
UCA Webpage | Medium Quality | Other | 04/05/2018 | |||
Mac Unix reset PATH | https://apple.stackexchange.com/questions/22859/bash-ls-command-not-found | Other | 18/03/2018 | |||
Python **kargs *args | https://pythontips.com/2013/08/04/args-and-kwargs-in-python-explained/ | Medium Quality | Python | 17/03/2018 | ||
Mongo - too many open file problem | https://dba.stackexchange.com/questions/144911/make-mongodb-close-open-files | Python | 17/03/2018 | |||
Python Display | http://blog.juliusschulz.de/blog/ultimate-ipython-notebook | Medium Quality | Python | 15/03/2018 | ||
Python APIs | https://github.com/realpython/list-of-python-api-wrappers#robinhood---free-stock-trading | Python | 15/03/2018 | |||
Python Basic -- List | https://www.programiz.com/python-programming/list | High Quality | Python | 14/03/2018 | ||
selenium get hidden content | http://yizeng.me/2014/04/08/get-text-from-hidden-elements-using-selenium-webdriver/ | Medium Quality | Python | 14/03/2018 | ||
Pandas Dataframe append | when you do dataframe append:
if you want to add columns, use: dataframe.append([some_elements])
if you want to add rows, use another list wapper outside:
dataframe.append([[some_elements]]) | Medium Quality | Python | 11/03/2018 | ||
selenium wait method | http://selenium-python.readthedocs.io/waits.html | Medium Quality | Python | 10/03/2018 | ||
Property in Python | https://www.programiz.com/python-programming/property | OK Quality | Python | 10/03/2018 | ||
Add new key to dict | dict[label]=value | OK Quality | Python | 10/03/2018 | ||
Remove unicode characters | >>> s
'This is some \\u03c0 text that has to be cleaned\\u2026! it\\u0027s annoying!'
>>> print(s.decode('unicode_escape').encode('ascii','ignore'))
This is some text that has to be cleaned! it's annoying! | Medium Quality | Python | 10/03/2018 | ||
selenium cheat sheet python | https://codoid.com/selenium-webdriver-python-cheat-sheet/ | Python | 10/03/2018 | |||
Pandas Dataframe | select column you can use data["col_name"]
but select index, need to use data.loc["index_name"] | Medium Quality | Python | 09/03/2018 | ||
Financial disaster | High Quality | Python | 09/03/2018 | |||
ERM | Finance | 03/03/2018 | ||||
Corporate governance | Finance | 03/03/2018 | ||||
Hedging concepts | Finance | 03/03/2018 | ||||
Risk concepts | Finance | 03/03/2018 | ||||
Risk Measurement and assessment | Scenario
Stress
ERM
| Finance | 03/03/2018 | |||
Calculate VaR | The net return at the 95% level, usually negative | Finance | 03/03/2018 | |||
wirte csv using with menthon | https://code.tutsplus.com/tutorials/how-to-read-and-write-csv-files-in-python--cms-29907 | write line by line | Medium Quality | Other | 03/03/2018 | |
Water pump out of containers | Other | 02/03/2018 | ||||
Programming standard- TODO mark | /*TODO*/ to mark a place for you to do next. (It's a C++ symtax) | Other | 02/03/2018 | |||
good Japanese class | https://www.freejapaneselessons.com/lesson06.cfm | High Quality | Python | 01/03/2018 | ||
github post code in blog | https://gist.github.com/ | High Quality | other | 01/03/2018 | ||
Python- second to the largest | https://geyikenli.wixsite.com/pyfin/my-lab-1 | print df['High'].nlargest(2) | Medium Quality | python | 27/02/2018 | |
Python - pass by reference | https://www.python-course.eu/passing_arguments.php | Medium Quality | python | 27/02/2018 | ||
Pymongo- Delete duplicates | https://geyikenli.wixsite.com/pyfin/my-lab-1 | def delete_duplicates(collection):
cursor = collection.aggregate(
[
{"$group": {"_id": "$TimeStamp", "unique_id": {"$addToSet": "$_id"}, "count": {"$sum": 1}}},
{"$match": {"count": { "$gte": 2 }}}
]
)
response = []
for doc in cursor:
del doc["unique_id"][0]
for id in doc["unique_id"]:
response.append(id)
collection.delete_many({"_id": {"$in": response}}) | Medium Quality | python | 26/02/2018 | |
Removing duplicates | https://stackoverflow.com/questions/34722866/pymongo-remove-duplicates-map-reduce | High Quality | python | 26/02/2018 | ||
convert BSON date int64 to python datetime | https://stackoverflow.com/questions/6999726/how-can-i-convert-a-datetime-object-to-milliseconds-since-epoch-unix-time-in-p | High Quality | python | 26/02/2018 | ||
convert json to datetime | https://stackoverflow.com/questions/10805589/convert-json-date-string-to-python-datetime | Medium Quality | python | 26/02/2018 | ||
Avoiding error in pandas dataframe seletion | https://www.shanelynn.ie/select-pandas-dataframe-rows-and-columns-using-iloc-loc-and-ix/ | High Quality | python | 25/02/2018 | ||
Mongodb sorting | https://docs.mongodb.com/manual/reference/method/cursor.sort/ | python | 25/02/2018 | |||
Barchart Market Data API | https://www.barchart.com/ondemand/api/getQuote/free | finance | 25/02/2018 | |||
Pymongo insert dataframe | https://stackoverflow.com/questions/20167194/insert-a-pandas-dataframe-into-mongodb-using-pymongo | High Quality | python | 25/02/2018 | ||
Pymongo tutorial | http://api.mongodb.com/python/current/tutorial.html#range-queries | High Quality | python | 25/02/2018 | ||
Data Analyst, Data Engineer or Data Scientist? | https://automatemylife.org/2017/12/are-you-a-data-analyst-data-engineer-or-data-scientist/ | Medium Quality | python | 25/02/2018 | ||
Python3 import change | https://stackoverflow.com/questions/12172791/changes-in-import-statement-python3 | Medium Quality | python | 25/02/2018 |
bottom of page