Skip to content

Instantly share code, notes, and snippets.

THINGS I WANT TO ADD FROM YAHUD
-readyup panel (goddamn)
-also notohud, broesel
-new scoreboard
-tournamentspectator
-ya
-ya 2nd style
-broesel
-eve
-backpack
#Pkg.add("Images")
#Pkg.add("ImageView")
#Pkg.add("Colors")
#Pkg.add("FixedPointNumbers")
#Pkg.add("Colors")
#Pkg.add("Drawing")
using Drawing
using Images
using ImageView
println("asdasdasd")
--------- beginning of /dev/log/system
D/PowerManagerService( 821): sendPendingNotificationsLocked mSendGoToSleepFinishedNotificationWhenReady = false
D/PowerManagerService( 821): sendPendingNotificationsLocked mSendGoToSleepFinishedNotificationWhenReady = false
D/PowerManagerService( 821): sendPendingNotificationsLocked mSendGoToSleepFinishedNotificationWhenReady = false
D/DisplayPowerController( 821): updateAmbientLux: mLightSensorListener lux is 51.0
D/DisplayPowerController( 821): updateAmbientLux: mLightSensorListener lux is 52.0
I/PowerManagerService( 821): Going to sleep due to screen timeout...
I/PowerManagerService( 821): goToSleepNoUpdateLocked 1 !
D/PowerManagerService( 821): sendPendingNotificationsLocked mSendGoToSleepFinishedNotificationWhenReady = false
I/PowerManagerService( 821): goToSleepNoUpdateLocked 2 !
import java.awt.*; // Using AWT's layouts
import java.awt.event.*; // Using AWT's event classes and listener interfaces
import java.math.BigDecimal;
import javax.swing.*; // Using Swing's components and container
import java.util.function.BiFunction;
// A Swing application extends from javax.swing.JFrame
/* Need Javadoc documentation here
*
*
*/
(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))
@tommy-mor
tommy-mor / video.py
Last active February 7, 2025 20:28
not good code stay away
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')
# 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)
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
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 = (
" 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