Skip to content

Instantly share code, notes, and snippets.

View gregorleban's full-sized avatar

Gregor Leban gregorleban

View GitHub Profile
@bishboria
bishboria / springer-free-maths-books.md
Last active June 8, 2024 06:39
Springer made a bunch of books available for free, these were the direct links
@ihorvorotnov
ihorvorotnov / get-social-shares
Last active May 26, 2024 08:13
Get number of shares from social platforms
Facebook*:
https://api.facebook.com/method/links.getStats?urls=%%URL%%&format=json
+ works, returns shares, likes, comments and total
Twitter:
http://urls.api.twitter.com/1/urls/count.json?url=%%URL%%&callback=twttr.receiveCount
+ v1 API but still works
Reddit:
http://buttons.reddit.com/button_info.json?url=%%URL%%
@napsternxg
napsternxg / corenlp.bat
Created December 14, 2013 11:01
Batch file to run CoreNLP by Stanford on windows http://nlp.stanford.edu/software/corenlp.shtml#Download
set scriptdir=%~dp0
echo java -mx3g -cp \"%scriptdir%/*\" edu.stanford.nlp.pipeline.StanfordCoreNLP %*
java -mx3g -cp "%scriptdir%/*" edu.stanford.nlp.pipeline.StanfordCoreNLP %*
@coldnebo
coldnebo / Default (Linux).sublime-keymap
Created August 10, 2011 23:20
simple scripts to prettify your xml and json in sublime text 2
[
{ "keys": ["ctrl+shift+x"], "command": "tidy_xml" },
{ "keys": ["ctrl+shift+j"], "command": "prettify_json" }
]