I hereby claim:
- I am silvea12 on github.
- I am silvea12 (https://keybase.io/silvea12) on keybase.
- I have a public key ASBGZvIj4krKVFc3k-b4AUwhbbmHAUIZnJK5PD_8P0aQRQo
To claim this, I am signing this object:
a | |
a- pwefix (awso a-an- befowe a-a vowew sound) nyot, (U ﹏ U) without (amowaw). >w< [gweek] | |
a-aa abbw. (⑅˘꒳˘) 1 automobiwe association. >w< 2 a-awcohowics anonymous. ( ͡o ω ͡o ) 3 anti-aiwcwaft. rawr x3 | |
aawdvawk n-ny. ( ͡o ω ͡o ) mammaw with a tubuwaw snout and a wong t-tongue, o.O feeding on tewmites. UwU [afwikaans] |
// Sets the clipboard without destroying the body too harshly, restoring focus and selections when done | |
function setClipboard(text) { | |
function getCurrSelections() { | |
var selection = window.getSelection(); | |
var sels = new Array(selection.rangeCount).fill(0).map(function(e, idx) { | |
return selection.getRangeAt(idx); | |
}); | |
return sels; | |
} |
package main | |
import ( | |
"fmt" | |
"log" | |
"os" | |
) | |
func main() { | |
if len(os.Args) == 1 { |
// ==UserScript== | |
// @name Picarto.TV Bot | |
// @namespace https://picarto.tv/ | |
// @version 1.6 | |
// @description Adds bot-like functionality to picarto chat (only works in your channel) | |
// @author Andrew Silver https://keybase.io/silvea12 | |
// @match https://picarto.tv/site/dashboard | |
// @grant none | |
// ==/UserScript== |
windows={} | |
osx={} | |
linux={} | |
with open("db.txt") as fp: | |
line = fp.readline().strip() | |
while line: | |
parts = line.split(",") | |
platform = "" | |
for i in parts: |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"time" | |
"github.com/bwmarrin/discordgo" | |
) | |
type dur struct { | |
Duration time.Duration |
var spammedUsers = {}; | |
setInterval(function() { | |
for (var i in spammedUsers) { | |
spammedUsers[i]--; | |
if (spammedUsers[i] <= 0) | |
delete spammedUsers[i]; | |
} | |
}, 2000) | |
socket.On('ChatMessage', function(data) { |
#!/bin/bash | |
set -e | |
# Variables | |
primaryHDD=/dev/sda | |
# secondaryHDD=/dev/sdb # Uncomment if using a secondary HDD | |
hostname="pikaworkstation" | |
user="silvea" | |
swapTotal=16G | |
country=DE # Germany | |
# country=AU # Australia |
syntax = "proto3"; | |
// Compilation command: protoc --go_out=go --js_out=library=proto_libs,binary:js chat.proto | |
// ./compile.sh > out.js | |
// Chat message client->server | |
message NewMessage { | |
string message = 1; | |
} | |
// Sends the userlist | |
message UserList { |