I hereby claim:
- I am olisolomons on github.
- I am olisolomons (https://keybase.io/olisolomons) on keybase.
- I have a public key ASD60RI8hhV2yNlIdWddRJCJk12R3uwmNU-v4cdRSdXaDgo
To claim this, I am signing this object:
| // ==UserScript== | |
| // @name eBay Used Filter | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Automatically selects the "Used" filter on eBay search pages. | |
| // @author You | |
| // @match https://*.ebay.co.uk/sch/* | |
| // @grant none | |
| // ==/UserScript== |
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "os" | |
| "regexp" | |
| "strconv" | |
| ) |
| (ns lazy | |
| (:require | |
| [clojure.pprint :as p])) | |
| ;; First, make a simple lazy calculation data type | |
| (defrecord Lazy [content] | |
| clojure.lang.IDeref | |
| (deref [_] | |
| (:result |
I hereby claim:
To claim this, I am signing this object:
| import os | |
| import subprocess | |
| import shutil | |
| import time | |
| import sys | |
| # copied from dropbox source code | |
| PARENT_DIR = os.path.expanduser("~") | |
| DROPBOX_DIST_PATH = "%s/.dropbox-dist" % PARENT_DIR | |
| DROPBOXD_PATH = os.path.join(DROPBOX_DIST_PATH, "dropboxd") |
| #!/usr/bin/python3 | |
| # This code is licensed under the terms of the GPL3 license | |
| # Written by: Oli Solomons | |
| # 2023 | |
| import gi | |
| gi.require_version("Gtk", "3.0") | |
| from gi.repository import Gtk, Gdk, GLib |
| import code | |
| import hashlib | |
| import queue | |
| import sys | |
| import threading | |
| import tkinter as tk | |
| import traceback | |
| from tkinter.scrolledtext import ScrolledText | |
| class Table: | |
| """A table of numbers""" | |
| def __init__(self, *args, **kwargs): | |
| if len(args) == 3: | |
| self.from_vals(*args) | |
| elif len(args) == 2: | |
| x, y = args | |
| if kwargs['mode'] == 'random': | |
| vals = [random.randint(0, 9) for _ in range(x * y)] |