Clone https://github.com/tomikaa87/gree-remote
Install lib:
pip install --user cryptography
[0,[0,0,109,32]] | |
[1,[4,0,109,32]] | |
[2,[8,0,109,32]] | |
[3,[12,0,109,32]] | |
[4,[16,0,109,32]] | |
[5,[20,0,109,32]] | |
[6,[24,0,109,32]] | |
[7,[28,0,109,32]] | |
[8,[32,0,109,32]] | |
[9,[36,0,109,32]] |
// No default net type is assumed for undeclared identifiers | |
`default_nettype none | |
module top ( | |
// led matrix see the .pcf file in projectfolder for physical pins | |
// Gotcha: removing aled here stops blinking from working, eventhough aled doesn't seem to be in use(!) | |
output [3:0] kled, | |
output [3:0] aled, | |
); |
-- This file was compiled via instructions from https://github.com/bakpakin/Fennel#to-build-fennel-from-source | |
-- It was slightly modified by adding a line break to a specific line that was more than | |
-- 4096 characters (containing a dictionary), to be able to process it with Lua itself | |
package.preload["fennel.repl"] = package.preload["fennel.repl"] or function(...) | |
local utils = require("fennel.utils") | |
local parser = require("fennel.parser") | |
local compiler = require("fennel.compiler") | |
local specials = require("fennel.specials") | |
local view = require("fennel.view") |
;; Adapted from https://stackoverflow.com/a/36466737/202538 | |
;; Run with `clj -M miditest.clj` | |
(ns miditest | |
(:import (javax.sound.midi | |
Synthesizer | |
MidiSystem | |
Instrument | |
MidiChannel | |
MidiUnavailableException))) |
Clone https://github.com/tomikaa87/gree-remote
Install lib:
pip install --user cryptography
(do (println (str (char 27) "[2J")) (Thread/sleep (* 1000 (let [a 1 b 1] (+ a (rand-int (- b a)))))) (dotimes [n 80] (println "🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒"))) |
// compile: gcc -O -Wall -o caps_lock_off caps_lock_off.c -lX11 | |
// dependencies: build-essentials, libx11-dev | |
// From https://askubuntu.com/a/80301/436927 | |
#include <stdio.h> | |
#include <X11/X.h> | |
#include <X11/XKBlib.h> | |
int main() | |
{ | |
Display *display = XOpenDisplay(NULL); |
<html> | |
<svg width="220" height="150" xmlns="http://www.w3.org/2000/svg"> | |
<defs> | |
<linearGradient id="PadGradient" | |
x1="33%" x2="67%"> | |
<stop offset="0%" stop-color="fuchsia"/> | |
<stop offset="100%" stop-color="orange"/> | |
</linearGradient> | |
<linearGradient id="ReflectGradient" spreadMethod="reflect" | |
x1="33%" x2="67%"> |
I hereby claim:
To claim this, I am signing this object:
<html><head> | |
<style> | |
img { | |
filter: drop-shadow(0.1em 0.2em 0.3em) | |
} | |
</style> | |
</head> | |
<body><img src="https://www.w3schools.com/html/pic_trulli.jpg"> | |
<img src="https://www.w3schools.com/html/img_girl.jpg"> | |
<img src="https://www.w3schools.com/html/img_chania.jpg"> |