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
digraph { | |
"e49eb76a-1854-4815-8947-0d79db227a66" [label="stone tools",shape=box]; | |
"8e2cd62f-6fef-41ec-a023-d799746a19fa" [label="Unification of Italy",shape=box]; | |
"fa36c4e1-92ab-449e-8b60-c2bf483dff00" [label=blogs,shape=box]; | |
"789ae736-c3f3-4c65-b828-6768e42e933b" [label="cuban missle crisis",shape=box]; | |
"a665973e-f8ad-4d50-985f-b211ef643f1f" [label="Tensions over the issue of slavery | |
in the United States",shape=box]; | |
"8caf44b7-aa4d-44db-a6ad-5eb16462eadc" [label="The defeat of the Ottoman Empire | |
in World War I, which led | |
to the division of its territories, |
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
from pywinauto import Desktop, Application | |
import time | |
import sys | |
import os | |
windowname = ".* - UW Trace Center Photosensitive Epilepsy Analysis Tool (PEAT) (Version 1.6)" | |
# connect to peat process that is already running. | |
# make sure that you are running this program as administrator so that it can attach | |
app = Application(backend="uia").connect(path='PEAT.exe', title=windowname) |
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
-- xmonad example config file for xmonad-0.9 | |
-- | |
-- A template showing all available configuration hooks, | |
-- and how to override the defaults in your own xmonad.hs conf file. | |
-- | |
-- Normally, you'd only override those defaults you care about. | |
-- | |
-- NOTE: Those updating from earlier xmonad versions, who use | |
-- EwmhDesktops, safeSpawn, WindowGo, or the simple-status-bar | |
-- setup functions (dzen, xmobar) probably need to change |
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
# thank you to matthias for providing this example. | |
def g(y : "number") -> "number": | |
return y + 1 | |
def f(x : "i dont know i think this param is dropped") -> "a function": | |
return g | |
h : "scary function" = f(10) |
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
" rough outline of keybindings for colemak that copy | |
" https://github.com/wbolster/evil-colemak-basics | |
noremap h h | |
noremap n j | |
noremap e k | |
noremap i l | |
noremap k n | |
noremap K N |
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
import re | |
import sre_parse | |
import pprint | |
import random | |
pprint = pprint.PrettyPrinter(4).pprint | |
def test_qc(func1, func2): | |
for x in range(10000): | |
string = ( |
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
using Luxor | |
using ColorSchemes | |
#this. OR we could multiply amt by something based on orientation passed in. try that next | |
function flipDiagonalBottomRight(og, pt) | |
dx = pt.x - og.x | |
dy = pt.y - og.y | |
return Point(og.x + dy, og.y + dx) | |
end |
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
# Bhí Cathal anseo / Rinne Cathal é seo / Is é seo an cód is fearr | |
import random | |
def randburn(): | |
return random.choice(["You've been a bad, bad boy ;)", | |
"You think you're so smart, don't you?"]) | |
def find_num(): | |
return random.randint(1,100) |
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
from moviepy.editor import * | |
import numpy as np | |
clip = VideoFileClip("hams.mkv") | |
import sounddevice as sd | |
import soundfile as sf | |
from queue import Queue | |
from collections import OrderedDict | |
import pprint | |
pp = pprint.PrettyPrinter(indent=4) | |
print('started') |
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
(ns lisp.core | |
(:gen-class) | |
(:require [clojure.string :as s])) | |
(defn -main | |
"I don't do a whole lot ... yet." | |
[& args] | |
(println "Hello, World!")) | |
(map inc (range 10)) |
NewerOlder