Skip to content

Instantly share code, notes, and snippets.

alert`1`;
@Djent-
Djent- / reactive-move-scroll.py
Last active September 25, 2018 22:11 — forked from lezed1/reactive-move-scroll.py
Recreate Razer Synapse's Reactive Firefly mousepad effect with any mouse!
import colorsys
import time
from random import random
from openrazer.client import DeviceManager
from pynput import mouse
razer_device_manager = DeviceManager()
for device in razer_device_manager.devices:
@Djent-
Djent- / Cleaner Hummingbird.user.css
Last active May 26, 2016 19:48
My personal Stylish script for Hummingbird.me
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("hummingbird.me") {
/* The grey blocks that uBlock Origin leaves behind */
.footer-shadow .container:nth-child(4) {
display: none
}
.feed-sidebar-advert {
display: none
}
@Djent-
Djent- / py_all.pl
Last active January 30, 2016 16:21
# COPYRIGHT PATRICK HURD 2016 RELEASED UNDER GPL VERSION 3
# https://gist.github.com/Djent-/dd3adbbe0b15dbab17a0
use warnings;
use strict;
my $DIRECTORY = ""; # where the dbin2 files are
my $PYLOCATION = ""; # where 1.py and 2.py are
my $MODSPEED1 = 2; # lower number is slower.
my $MODSPEED2 = 1; # lower number is faster. any positive integer is good. 0 for turbo-nuclear mode
local http = require("socket.http")
local ltn12 = require("ltn12")
local base_url = "https://httpbin.org/"
function deep_print(tbl)
for i, v in pairs(tbl) do
if type(v) == "table" then
deep_print(v)
else