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
/* set colors */ | |
#message-wrap { border-color: grey; } | |
#balloon-border, #balloon-border::after { background: grey; } | |
#balloon-border::before { background: white; } | |
/* set thickness */ | |
#message-wrap { border-width: 3px; } | |
#balloon-border, #balloon-border::after { width: 3px; } | |
#balloon-border::before { height: 3px; top: -3px; } | |
#message-wrap { |
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
const shakeConfig = { | |
targetDom: null, | |
shakeThreshold: [65,75,85,95,105], | |
shakeScale: 2 | |
} | |
const getTwoRandomNumbers = () => [ | |
Math.random(), Math.random() | |
] | |
const isShiftable = element => { |
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
body { | |
background: $background_color; | |
color: $text_color; | |
font-size: $font_size; | |
} | |
.colon, .name { | |
height: 0px; | |
} |
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
# put this file in `/etc/X11/xorg.conf.d/`. If the directory doesn't exist you can just make one. | |
Section "InputClass" | |
Identifier "Wacom CTH-490 Pad" | |
MatchProduct "Intuos PT S 2 (WL) Pad pad|Intuos PT S 2 Pad pad" | |
MatchDevicePath "/dev/input/event*" | |
# adjust tablet's 16:10 area to 16:9, cropping top and bottom. | |
Option "TopX" "0" | |
Option "TopY" 475" |
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
$if( | |
%isplaying%, | |
$if(%ispaused%,Ⅱ,▶) | |
$if(%album%, %album%$crlf() ) | |
$if(%artist%, %artist%$crlf() ) | |
$if(%title%, %title% , %filename%) | |
) |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<title>Stream Title Display</title> | |
<style> | |
body { | |
margin: 0; |
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
document.body.style.margin = "0"; | |
document.body.style.overflow = "hidden"; | |
const windowSize = {x:window.innerWidth, y:window.innerHeight}; | |
const canvas = document.createElement("canvas"); | |
const ctx = canvas.getContext("2d"); | |
canvas.setAttribute("width", windowSize.x); | |
canvas.setAttribute("height", windowSize.y); | |
document.body.appendChild(canvas); |
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
<!DOCTYPE html> | |
<html> | |
<style> | |
body { | |
background-color: black; | |
font-family: "Fira Code"; | |
color: white; | |
} | |
#counter { |
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
<?php | |
class FormOption | |
{ | |
public | |
$style, | |
$suggested_value, | |
$placeholder, | |
$autofocus; |
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
<!DOCTYPE html> | |
<html> | |
<style> | |
body { | |
margin: 0; | |
padding: 0; | |
background-color: black; | |
color: white; | |
font-family: "Fira Code"; |