Skip to content

Instantly share code, notes, and snippets.

View rafguns's full-sized avatar

Raf Guns rafguns

View GitHub Profile
@rafguns
rafguns / async-test.ipynb
Created December 22, 2021 15:15
Download async from different domains - exploration
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rafguns
rafguns / Confidence intervals for weighted cosine similarity.ipynb
Last active July 27, 2022 14:10
Confidence intervals for weighted cosine similarity
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rafguns
rafguns / Bootstrapping a confidence interval.ipynb
Last active November 24, 2016 10:06
Bootstrapping confidence intervals for the distances between barycenters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rafguns
rafguns / exe2bat.py
Created August 3, 2012 07:27
Fix Python-based commands/scripts for Python 2.7 on Windows 7 (x64)
"""
Fix Python-based commands/scripts for Python 2.7 on Windows 7 (x64)
Due to Windows 7 UAC requirements Python-based commands (such as easy_install,
ipython, nosetests, pip...) open a new terminal window, making it hard to read
the output.
As documented elsewhere [1]_, the most practical solution is apparently replacing
the executables with a batch file that calls the Python script. This is tedious to
do by hand if you have many packages that install new commands.