Skip to content

Instantly share code, notes, and snippets.

View creesch's full-sized avatar
💭
I am not actually sure...

creesch creesch

💭
I am not actually sure...
View GitHub Profile
.sitetable .thing.stickied .title a {
-webkit-animation: color 2s infinite;
-webkit-animation-direction: alternate;
-moz-animation: color 2s infinite;
-moz-animation-direction: alternate;
-ms-animation: color 2s infinite;
-ms-animation-direction: alternate;
-o-animation: color 2s infinite;
-o-animation-direction: alternate;
animation: color 2s infinite;
.side .md h4:nth-of-type(1) {
list-style-type:none!important;
position: absolute;
font-size: 14px;
display: block;
top: 70px; /*Change this in relation to your header's height*/
left: 5px; /*adjust this is well*/
margin:0;
background-color: #f6f7f8!important; /*Change for different background color*/
color: #555; /*Change for different for color*/
.side .md h5:nth-of-type(1) {
position: absolute;
display: inline-block;
padding: 0;
top: 36px;
left: 291px;
text-align: left;
width: auto;
overflow: hidden;
z-index: 99;
body:not(.moderator) .thing.deleted.comment>.entry>.tagline>time {
display: none;
}
body:not(.moderator) .thing.deleted.comment>.entry {
padding: 0 !important;
margin: 0 !important;
height: 12px;
}
.md {
max-width: 60em;
}
.md .-headers,.md h1,.md h2,.md h3,.md h4,.md h5,.md h6 {
border: 0;
-webkit-font-smoothing: antialiased;
}
.md .-headers code,.md h1 code,.md h2 code,.md h3 code,.md h4 code,.md h5 code,.md h6 code {
function tbConfig() {
//Setup
var tbconfig = new TB.Module('Toolbox Config');
tbconfig.shortname = 'TBConfig'; // for backwards compatibility
//Default settings
tbconfig.settings['enabled']['default'] = true;
tbconfig.init = function () {
@echo off
echo Activating SDK...
call addon-sdk\bin\activate.bat
echo.
echo Building extension...
call cfx xpi --force-mobile
echo.
// Chunking abused for ratelimiting
TBUtils.forEachChunkedRateLimit = function (array, chunkSize, call, complete, start) {
if (array === null) finish();
if (chunkSize === null || chunkSize < 1) finish();
if (call === null) finish();
var counter = 0;
//var length = array.length;
function doChunk() {
@creesch
creesch / config.js
Created October 15, 2015 08:07
Very much W.I.P. probably will need a bit of refactoring here and there.
global.lemmingPrefs = {
ircConfig : {
channels: ['#channel', '#channel2'],
// snoonet requires bots to be registered as a bot
server: 'irc.snoonet.org',
botName: 'this is a bot',
botAuthPassword: 'password'
},
redditConfig: {
<!--
This is the entire html structure needed in order to trigger toolbox buttons.
Most of it should work smoothly but there might be some styling issues for obvious reasons.
-->
<div class="thing color-processed" data-subreddit="history" data-author="noeatnosleep">
<div class="entry mod-button" subreddit="history">
<span class="subreddit" style="display:none">history</span>
<span class="author user" style="display:none">noeatnosleep</span>
<a class="bylink" style="display:none" href="https://orangechat.io/#/r/history">channel link</a>
<a href="javascript:;" title="Perform various mod actions on this user" class="global-mod-button">mod</a><br>