Skip to content

Instantly share code, notes, and snippets.

# Privacy Policy
The use of this ("TurtleBot") application ("Discord Bot") in a server requires the collection of some specific user data ("Data"). The Data collected is used soley for bot function, and neither shared nor provided to any external services. This "Data" includes, but is not limited to Discord user ID, display names, & usernames. Use of the Bot is considered an agreement to the terms of this Policy.
## Access to Data
Access to Data is only permitted to Bot's developers, and only in the scope required for the development, testing, and implementation of features for Bot. Data is not sold, provided to, or shared with any third party, except where required by law or a Terms of Service agreement. You can view the data upon request using the `/turtlebot mydata` command.
## Storage of Data
@clovisd
clovisd / jenkins.css
Last active July 23, 2020 23:09
JenkinsCSS
@import url(https://fonts.googleapis.com/css?family=Roboto:400,700,500,300);@import url(https://fonts.googleapis.com/css?family=Roboto+Mono:400,700,500,300);@keyframes a{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes b{0%{opacity:1}50%{opacity:0}to{opacity:1}}[src$="blue.png"]{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIxOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjMDA5Njg4IiBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptLTIgMTVsLTUtNSAxLjQxLTEuNDFMMTAgMTQuMTdsNy41OS03LjU5TDE5IDhsLTkgOXoiLz48L3N2Zz4=)}[src$="red.png"]{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIxOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjRjQ0MzM2IiBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptMSAxNWgtMnYtMmgydjJ6bTAtNGgtMlY3aDJ2NnoiLz48L3N2Zz4=)}[src$="yellow.png

Keybase proof

I hereby claim:

  • I am clovisd on github.
  • I am clovisd (https://keybase.io/clovisd) on keybase.
  • I have a public key ASBV2JnHbc9DWTPfV4Q1IL2V9o2g3smZUMBivBHhxElEtAo

To claim this, I am signing this object:

<+DreadBot> Cl: Zach443: How feesible is it to create a BA API plugin that uses Modded Items and etc?
01:05 <+Zach443> Ummmm
01:06 <+DreadBot> Cl: this wouldn't be a PVP plugin, closer to something like Parkour that uses achievements and etc...
01:06 <+Zach443> Cl, I wasn't kidding about modded item shiz, ever since MC moved away from id's that whole deal got way more complicated
01:06 <+DreadBot> Cl: BA uses ID's still? O.o
01:06 <+Zach443> No
01:06 <+DreadBot> Cl: good.
01:06 <+Zach443> BA uses Material.whatever
01:07 <+Zach443> which is good for vanilla, bad for mods
01:07 <+Zach443> Because Material.MYSTICAL_MODDED_ITEM would return a ClassNotFound exception
<Files ~ "^\.(htaccess|htpasswd)$">
deny from all
</Files>
Options Indexes
AuthUserFile /var/www/htpasswords/.htpasswd
AuthGroupFile /dev/null
AuthName "Please enter your ID and password"
AuthType Basic
require valid-user
order deny,allow
DQoxDQpIYXJyeSBQb3R0ZXIgYW5kIHRoZSBTb3JjZXJlcidzIFN0b25lDQpDSEFQVEVSIE9ORQ0KVEhFIEJPWSBXSE8gTElWRUQNCk1yLiBhbmQgTXJzLiBEdXJzbGV5LCBvZiBudW1iZXIgZm91ciwgUHJpdmV0IERyaXZlLCB3ZXJlIHByb3VkIHRvIHNheQ0KdGhhdCB0aGV5IHdlcmUgcGVyZmVjdGx5IG5vcm1hbCwgdGhhbmsgeW91IHZlcnkgbXVjaC4gVGhleSB3ZXJlIHRoZSBsYXN0DQpwZW9wbGUgeW91J2QgZXhwZWN0IHRvIGJlIGludm9sdmVkIGluIGFueXRoaW5nIHN0cmFuZ2Ugb3IgbXlzdGVyaW91cywNCmJlY2F1c2UgdGhleSBqdXN0IGRpZG4ndCBob2xkIHdpdGggc3VjaCBub25zZW5zZS4NCk1yLiBEdXJzbGV5IHdhcyB0aGUgZGlyZWN0b3Igb2YgYSBmaXJtIGNhbGxlZCBHcnVubmluZ3MsIHdoaWNoIG1hZGUNCmRyaWxscy4gSGUgd2FzIGEgYmlnLCBiZWVmeSBtYW4gd2l0aCBoYXJkbHkgYW55IG5lY2ssIGFsdGhvdWdoIGhlIGRpZA0KaGF2ZSBhIHZlcnkgbGFyZ2UgbXVzdGFjaGUuIE1ycy4gRHVyc2xleSB3YXMgdGhpbiBhbmQgYmxvbmRlIGFuZCBoYWQNCm5lYXJseSB0d2ljZSB0aGUgdXN1YWwgYW1vdW50IG9mIG5lY2ssIHdoaWNoIGNhbWUgaW4gdmVyeSB1c2VmdWwgYXMgc2hlDQpzcGVudCBzbyBtdWNoIG9mIGhlciB0aW1lIGNyYW5pbmcgb3ZlciBnYXJkZW4gZmVuY2VzLCBzcHlpbmcgb24gdGhlDQpuZWlnaGJvcnMuIFRoZSBEdXJzbGV5cyBoYWQgYSBzbWFsbCBzb24gY2FsbGVkIER1ZGxleSBhbmQgaW4gdGhlaXINCm9waW5p
[03:35:32] [Server thread/INFO]: [CraftIRC] Enabled.
[03:35:32] [Server thread/INFO]: [CraftIRC] DEBUG [ON]
[03:35:32] [Thread-46/INFO]: [CraftIRC] Registering endpoint: globalchan
[03:35:32] [Thread-46/INFO]: [CraftIRC] Registering endpoint: IRCChan
[03:35:32] [Thread-46/INFO]: [CraftIRC] Registering endpoint: Blank
[03:35:32] [Thread-46/INFO]: [CraftIRC] Connecting to irc.esper.net:5555
[03:35:32] [Server thread/INFO]: [CraftIRC] Registering endpoint: towny
[03:35:32] [Server thread/INFO]: [TownyChat] -******* TownyChat enabled *******-
[03:35:32] [Thread-46/INFO]: 1433662532840 *** Connected to server.
[03:35:32] [Thread-46/INFO]: 1433662532841 >>>NICK DreadBotDev
#######################################
#### CraftIRC 3 configuration file ####
#######################################
# Welcome, new user! Please read carefully:
# CraftIRC is a very powerful and flexible tool for all your communication needs. Being fully customizable, it TAKES SOME TIME TO SET UP.
# Please set aside half an hour to READ THIS FILE CAREFULLY and configure everything according to your needs.
# If you don't follow these instructions, CraftIRC will NOT WORK PROPERLY! Pay special attention to sections marked as [CHANGES REQUIRED]
#######################################
#### CraftIRC 3 configuration file ####
#######################################
# Welcome, new user! Please read carefully:
# CraftIRC is a very powerful and flexible tool for all your communication needs. Being fully customizable, it TAKES SOME TIME TO SET UP.
# Please set aside half an hour to READ THIS FILE CAREFULLY and configure everything according to your needs.
# If you don't follow these instructions, CraftIRC will NOT WORK PROPERLY! Pay special attention to sections marked as [CHANGES REQUIRED]
import re
import requests
from lxml import html
from cloudbot import hook
from cloudbot.util import formatting
api_url = "http://wiki.battleplugins.org/api.php?action=opensearch"
mc_url = "http://wiki.battleplugins.org/"