Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
[2020-03-31T00:05:39.094713+00:00] messenger.INFO: Received message App\Message\CreateMatch {"message":{"App\\Message\\CreateMatch":[]},"class":"App\\Message\\CreateMatch"} []
[2020-03-31T00:05:39.094850+00:00] clash_royale.DEBUG: url ["matches"] []
[2020-03-31T00:05:39.094905+00:00] clash_royale.DEBUG: options {"json":{"playerTags":["#2U2RPVPQ9","#29JLGPVJ8"],"gameMode":"regular"}} []
[2020-03-31T00:05:39.095135+00:00] http_client.INFO: Request: POST https://api.clashroyale.com/v1/matches [] []
[2020-03-31T00:05:39.497721+00:00] http_client.INFO: Response: "200 https://api.clashroyale.com/v1/matches" [] []
[2020-03-31T00:05:39.498074+00:00] clash_royale.DEBUG: response {"tag":"#LGUL2P"} []
[2020-03-31T00:05:39.498227+00:00] messenger.INFO: Sending message App\Message\MonitorMatch with Symfony\Component\Messenger\Transport\AmqpExt\AmqpTransport {"message":{"App\\Message\\MonitorMatch":[]},"class":"App\\Message\\MonitorMatch","sender":"Symfony\\Component\\Messenger\\Transport\\AmqpExt\\AmqpTransport"} []
[2020
https://www.youtube.com/watch?v=3Bo94G1n8ok
https://www.youtube.com/watch?v=rpkDl6UN4a8
https://youtu.be/eXyPjaL8SY0
http://www.youtube.com/watch?v=fyCKoJzKnz8
http://www.youtube.com/watch?v=wNE-8TfJlT4
http://www.youtube.com/watch?v=wFNrVFt3DjE
https://www.youtube.com/watch?v=cZYkSc5JG7o
https://youtu.be/XtsvWk53KJk
https://www.youtube.com/watch?v=4aQfdExvHpc
https://youtu.be/uRilGdo9fcQ
@infowolfe
infowolfe / monstercat_licensed.py
Last active June 3, 2019 02:40
shit script to scrape monstercat and update discord musicbot autoplaylist.txt and php script to display now playing... these are for https://github.com/Just-Some-Bots/MusicBot
#!/usr/bin/env python3
from pprint import pprint
import json
import requests
import time
mc = "https://connect.monstercat.com/api"
licensed = set()
unlicensed = set()
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
a58ce6b8ec59 ingest-63 91.55% 311.1MiB / 566.9GiB 0.05% 39.1MB / 293kB 0B / 0B 79
4bf7fa777878 ingest-62 98.56% 367.8MiB / 566.9GiB 0.06% 23.1MB / 248kB 0B / 0B 79
ca2549a3782e ingest-61 95.67% 374.9MiB / 566.9GiB 0.06% 19.9MB / 267kB 0B / 0B 79
ac0e58c8e14f ingest-60 95.02% 258.8MiB / 566.9GiB 0.04% 43.6MB / 348kB 0B / 0B 79
7362832b764d ingest-59 89.19% 309.9MiB / 566.9GiB 0.05% 43.5MB / 323kB 0B / 0B 79
0b33bce4e7e7 ingest-58 93.73% 399.3MiB / 566.9GiB 0.07% 43.6MB / 310kB 0B / 0B 84
ea81bc1
tell application "chatterino"
activate
end tell
tell application "System Events"
set myList to {"dasmoo1Das ", "dasmoo1Das dasmoo1Das ", "dasmoo1Das dasmoo1Das dasmoo1Das ", "dasmoo1Das dasmoo1Das dasmoo1Das dasmoo1Das ", "dasmoo1Das dasmoo1Das dasmoo1Das ", "dasmoo1Das dasmoo1Das ", "dasmoo1Das "}
repeat with theItem in myList
tell process "chatterino"
set value of text area 1 of window 1 to theItem
key code 36
@infowolfe
infowolfe / gist:d624be962cbb9fe618e93fb35238c913
Created October 22, 2018 15:55
bug while attempting to delete moderator commands on osx
Process: chatterino [9173]
Path: /Applications/chatterino.app/Contents/MacOS/chatterino
Identifier: none.chatterino
Version: 0
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: chatterino [9173]
User ID: 501
Date/Time: 2018-10-22 11:46:52.043 -0400
--Def--
local entity_get_prop = entity.get_prop
local entity_set_prop = entity.set_prop
local entity_get_all = entity.get_all
local entity_get_players = entity.get_players
local entity_is_enemy = entity.is_enemy
local entity_get_local_player = entity.get_local_player
local ui_get = ui.get
local ui_new_checkbox = ui.new_checkbox
local ui_new_combobox = ui.new_combobox
local function is_local_player(entindex)
return entindex == entity.get_local_player()
end
local function is_local_player_userid(userid)
return is_local_player(client.userid_to_entindex(userid))
end
local autobuy_checkbox = ui.new_checkbox("MISC", "Miscellaneous", "Autobuy")
// ==UserScript==
// @name Steam Booster Pack Creator
// @namespace infowolfe
// @include https://steamcommunity.com/tradingcards/boostercreator/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js
// @version 1
// @grant none
// ==/UserScript==
$("body").on('DOMSubtreeModified', ".booster_creator_left", function() {
# - Move this to /etc/haproxy/haproxy.cfg
# - Update nbproc line to match your number of cores (i.e. 16 v 32)
# - Update your cpu-map to match the number of cores
# - Modify the line with IP address 10.136.2.248 below to match the public or private IP address to your fabric instance
# - When done, run `/etc/init.d/haproxy restart` to update haproxy
# https://www.twilio.com/engineering/2013/10/16/haproxy
global
log /dev/log local0
log /dev/log local1 notice