This file contains hidden or 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
// ==UserScript== | |
// @name Jstris Chat Hider | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description Remove the chat area in Jstris. | |
// @author Dinir | |
// @match https://*.jstris.jezevec10.com/* | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or 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
{ | |
"uuid":"109bcfe0-74eb-4669-ba6e-5cf6899036a7", | |
"name":"Test Userscript", | |
"options":{}, | |
"durl":null, | |
"furl":null, | |
"lastModified":1551162286790 | |
} |
This file contains hidden or 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
// ==UserScript== | |
// @name Jstris Custom Skin Loader | |
// @namespace http://tampermonkey.net/ | |
// @downloadURL https://gist.githubusercontent.com/Dinir/023cebc82d20cc06d0a790acf374d337/raw/3c7377b2948201a41090deddf1d6972bc131acba/Jstris-loadCustomSkin.user.js | |
// @version 1.2 | |
// @match https://*.jstris.jezevec10.com/* | |
// @grant none | |
// @run-at document-end | |
// @description Loads a custom skin to Jstris. | |
// @author Dinir Nertan |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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); |