View sprinkler-test.py
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
from typing import * | |
import numpy as np | |
import itertools | |
import functools | |
import math | |
import statistics | |
import matplotlib | |
import matplotlib.pyplot as plt | |
import random | |
from enum import IntEnum, auto |
View emoji.css
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
@keyframes emojo_annoy { | |
0% { | |
transform: scale(1.0); | |
} | |
75% { | |
height: 60px; | |
width: 30px; | |
transform: scale(1.5, 3.0); | |
} | |
100% { |
View ruin mastodon.css
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
.status__content { | |
animation: offset alternate 10000ms linear infinite; | |
offset-path: path("m 0,0 C 2.948103,-0.41541616 2.0144627,3.7690323 0.69044898,4.8999411 -2.8975464,7.964634 -8.0565196,5.0069797 -9.7998821,1.380898 -12.918349,-5.1053116 -8.353027,-12.413288 -2.0713469,-14.699823 7.1472712,-18.055405 16.855878,-11.701038 19.599764,-2.7617959 23.256932,9.1528082 15.052768,21.331209 3.4522449,24.499705 -11.14583,28.486935 -25.822698,18.407007 -29.399646,4.1426939 -33.731811,-13.1333 -21.762806,-30.323399 -4.8331428,-34.299587 15.117879,-38.985387 34.829862,-25.119602 39.199528,-5.5235918 44.244481,17.100778 28.477063,39.340171 6.2140408,44.099469 -19.08262,49.507287 -43.853174,31.834984 -48.999411,6.9044898 -54.77271,-21.063757 -35.193234,-48.36814 -7.5949388,-53.899352 23.0444,-60.040045 52.884578,-38.551729 58.799293,-8.2853877"); | |
overflow: visible; | |
offset-anchor:center; | |
} | |
img { | |
animation: color-rotate 3000ms linear infinite; | |
} | |
.account__avatar, |
View MascotCycler
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
// ==UserScript== | |
// @name AvatarCycler | |
// @author SkyFreak | |
// @version 1 | |
// @grant none | |
// @url witches.live? | |
// ==/UserScript== | |
window.onload=function(){ | |
var image=[ | |
"https://cf.mastohost.com/v1/AUTH_91eb37814936490c95da7b85993cc2ff/awoochurch/site_uploads/files/000/000/001/original/117d82d52f7f9bf6.png",//Jorf |
View BST.cpp
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
BST& BST::operator=(BST&& otherBST) { | |
if (this != &otherBST) { | |
if (root) { | |
stack <Node**> nodeStack; | |
nodeStack.push(&root); | |
Node **currentNode = nullptr; | |
while (!nodeStack.empty()) { | |
currentNode = nodeStack.top(); | |
nodeStack.pop(); |
View Thing.lua
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
--- Paste this into the pattern match for the alias editor | |
--> ^/in ([0-9]+) (minutes|m|seconds|hours|h|s) do (.+)$ | |
--- Then paste the rest into the code editor | |
local noseconds = tonumber(matches[2]) | |
local timeunit = matches[3] | |
if timeunit == "minutes" or timeunit == "m" then | |
noseconds = noseconds * 60 | |
elseif timeunit == "hours" or timeunit == "h" then | |
noseconds = noseconds * 3600 |
View Link Stuffz.xml
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE MudletPackage> | |
<MudletPackage version="1.001"> | |
<TriggerPackage> | |
<TriggerGroup isActive="yes" isFolder="yes" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no"> | |
<name>Link Stuffs</name> | |
<script></script> | |
<triggerType>0</triggerType> | |
<conditonLineDelta>0</conditonLineDelta> | |
<mStayOpen>0</mStayOpen> |
View Buffer.lua
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 your Lua functions here. -- | |
-- -- | |
-- Note that you can also use external Scripts -- | |
------------------------------------------------- | |
Buffer={} | |
function Buffer:new(name) | |
local buf={name=name,lines={},current=1,marks={}} | |
self.__index=self | |
setmetatable(buf,self) |
View pi-estimato.cpp
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
#include <iostream> | |
#include <iomanip> | |
#include <cmath> | |
#include <random> | |
#include <tuple> | |
#include <functional> | |
const double PI=3.14159265359; | |
bool within_circle(double radius,double x,double y){ | |
return std::hypot(x,y)<radius; | |
} |