Skip to content

Instantly share code, notes, and snippets.

View Ddedalus's full-sized avatar

Hubert Bereś Ddedalus

View GitHub Profile
@thevtm
thevtm / workspace-switcher
Last active June 11, 2020 03:13
CLI workspace switcher for GNOME based on Based on Andy Balaam's workspace-switcher
#!/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
#
@stephenhouser
stephenhouser / Bing-Image-Scraper
Last active October 24, 2024 18:21
Bing-Image-Scraper
Bing image scraper example using Python to query and scrape Microsoft Bing image search.
@rdapaz
rdapaz / win32com.client.py
Last active May 23, 2024 07:03
Fix for module win32com.gen_py has no attribute 'CLSIDToPackageMap'
# 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
@HenryJia
HenryJia / tsne_mnist_simple.py
Last active October 11, 2019 15:20
t-distributed Stochatic Neightbour Embedding on MNIST
# 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