Skip to content

Instantly share code, notes, and snippets.

@fre-sch
fre-sch / keys.part.h
Created May 8, 2014 07:19
Macro for ALT/LGUI/etc combination
#define KEYS__ALT(name, value) \
void P(name) (void) { KF(press)(KEYBOARD__LeftAlt); \
KF(press)(value); } \
void R(name) (void) { KF(release)(value); \
KF(release)(KEYBOARD__LeftAlt); }
#define KEYS__LGUI(name, value) \
@fre-sch
fre-sch / matrix-rain.html
Last active August 6, 2024 18:17
Matrix rain effect
<!DOCTYPE html>
<html>
<style>
html, body {
width: 100vw;
height: 100vh;
padding: 0;
margin: 0;
background: black;
}
<!DOCTYPE html>
<html>
<head>
<title>test</title>
<style>
.product {
border: 1px solid #ddd;
float: left;
width: 200px;
height: 200px;