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
# Based on https://scipy-lectures.org/packages/scikit-learn/auto_examples/plot_tsne.html | |
# tSNE: https://en.wikipedia.org/wiki/T-distributed_stochastic_neighbor_embedding | |
# MNIST Dataset: http://yann.lecun.com/exdb/mnist/ | |
import struct | |
import pandas as pd | |
import numpy as np | |
import matplotlib.pyplot as plt |
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
# If errors are found, do this | |
# clear contents of C:\Users\<username>\AppData\Local\Temp\gen_py | |
# that should fix it, to test it type | |
import win32com.client | |
app = win32com.client.gencache.EnsureDispatch('Word.Application') | |
app.Visible = True |
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
Bing image scraper example using Python to query and scrape Microsoft Bing image search. |
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
#!/bin/bash | |
# Workspace switcher for GNOME | |
# Author: thevtm@github | |
# | |
# Based on Andy Balaam's workspace-switcher | |
# http://www.artificialworlds.net/blog/2011/03/04/switching-workspace-in-gnome-via-the-command-line/ | |
# | |
# REQUIREMENTS: | |
# * wmctrl | |
# |