Skip to content

Instantly share code, notes, and snippets.

View brussell98's full-sized avatar

Brandon Russell brussell98

View GitHub Profile
.app a {
color: #5294E2
}
.titlebar {
height: 5px
}
.guilds-wrapper {
background: #2a2f38
}
.guilds-wrapper .guilds .guild+.guild {
/* regex: (?!https://ptb.discordapp|https://discordapp|https://canary.discordapp).* */
* {
font-family: cursive;
}
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover {
transition: .2s ease-in-out;
transform: scale(1.1);
}
@import url(https://fonts.googleapis.com/css?family=Roboto:400,500) //fonts
@import url(https://www.dropbox.com/s/rpt1edwhm04sfa5/trajan-font.css?raw=1)
$bg-image: 'http://i.imgur.com/lK98stL.jpg'
$bg-size: contain
$bg-pos: bottom left
$list-on-right: true
$font-main: 'Roboto', sans-serif
$font-heading: 'Trajan', serif
@brussell98
brussell98 / webhookRelay.js
Last active July 6, 2018 17:42
Make slack webhooks discord compatible
const express = require('express'),
bodyParser = require('body-parser'),
request = require('unirest'),
app = express();
app.disable('x-powered-by');
app.set('env', 'production');
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: true }));
@brussell98
brussell98 / Style.css
Last active February 20, 2017 18:46
Listen.moe in Discord
.listen-moe {
background-color: #333842;
}
.listen-moe audio {
margin-left: 2rem;
width: 270px;
}
.listen-moe audio::-webkit-media-controls-panel {
@brussell98
brussell98 / sysCheck.js
Created July 26, 2018 00:49
Check if a certain Sou You Start hardware setup is available
const axios = require('axios');
const chalk = require('chalk');
const identifiers = ['1804sys07'];
async function check() {
const availabilities = (await axios.get('https://ca.ovh.com/engine/api/dedicated/server/availabilities?country=we', {
headers: {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.183 Safari/537.36 Vivaldi/1.96.1147.52'
}
})).data;
@brussell98
brussell98 / style.min.css
Last active May 12, 2022 02:59
Discord Theme
.theme-dark{--background-floating: #21262f}.theme-dark .appMount-3lHmkl .markup-2BOw-j a{color:#5294E2 !important}.theme-dark .guilds-1SWlCJ{background:#2a2f38}.theme-dark .guilds-1SWlCJ .unreadMentionsBar-1Bu1dC{background-color:#5294E2}.theme-dark .guilds-1SWlCJ .scroller-1Bvpku{background:#2a2f38}.theme-dark .guilds-1SWlCJ .scroller-1Bvpku .guildSeparator-33mFX6{background:#333842}.theme-dark .guilds-1SWlCJ .scroller-1Bvpku .listItem-GuPuDH:not(:last-child) .blobContainer-pmnxKB{margin-bottom:-12px}.theme-dark .guilds-1SWlCJ .scroller-1Bvpku .listItem-GuPuDH:not(:last-child) .blobContainer-pmnxKB.selected-nT-gM3:before{border-radius:6px}.theme-dark .guilds-1SWlCJ .scroller-1Bvpku .wrapper-3Njo_c .expandedFolderBackground-1cujaW{background-color:#21262f}.theme-dark .guilds-1SWlCJ .scroller-1Bvpku .wrapper-3Njo_c>.collapsed-2ZrjoL+.listItem-GuPuDH{margin-bottom:-4px}.theme-dark .guilds-1SWlCJ .scroller-1Bvpku .wrapper-3Njo_c ul[role="group"]{height:auto !important}.theme-dark .guilds-1SWlCJ .scroller-1Bvpku
@brussell98
brussell98 / diff.js
Created August 18, 2018 00:00
Image Difference
const util = require('util');
const sharp = require('sharp');
const imageDiff = require('native-image-diff');
const sizeOf = require('buffer-image-size');
const jpeg = require('jpeg-js');
const fs = require('fs');
const read = util.promisify(fs.readFile);
const files = ['./original1.jpg', './original2.png', './original3.jpg', './original4.png', './alternate4.png'];

2.0.0 - Design 2.0 Update

The result of months of work. This update brings an entirely new design to the website. Along with it comes a huge list of improvements.

Features

  • All pages an components used on the site have been updated to match the new design
  • Add permission constant for upcoming approver role
  • Replaced the name and description search inputs with one input that does both
  • Added a button to approval page bot cards and bot pages for approvers to see detailed information about bot pages
@brussell98
brussell98 / CHANGELOG.md
Created May 11, 2019 01:26
BoD 2.2 Changelog

2.2.0 - The Approval Update

Upgrades the approval system, adding records, an approver role, the ability to resubmit bots, and more.

Features

  • Added a role for approvers and added support for it on the site and in the API. All mods and admins inherit this role
  • Added records to bots. These show a history of all moderation action and removals by the owner. They are shown on multiple pages
  • Added the ability to resubmit bots within three months of their denial/removal
  • Bot owners are now sent a DM on important actions on their bot (approved, unapproved, denied, removed)