Skip to content

Instantly share code, notes, and snippets.

View Craftplacer's full-sized avatar

Crafti Craftplacer

View GitHub Profile
.user-home { background: hsl(var(--base-hue), 10%, 75%); }
.user-home__right-sidebar { background :hsl(var(--base-hue),10%,80%); }
.user-home__news-title { color: hsl(var(--base-hue),40%,30%); }
.news-post-preview__body { background: hsl(var(--base-hue), 50%, 55%); }
.user-home__beatmap-list-title { color: hsl(var(--base-hue), 40%, 30%); }
.user-home-beatmapset__meta { color: black; }
/* Userseite */
.bar { background-color: hsl(46, 75%, 80%); }
.beatmap-playcount__count { color: hsl(46, 69%, 32%); }

9th May 2020

  • Disabled quoting for bots
  • Invalid image URLs given by a Discourse forum won't be included anymore, causing the feed check to be aborted.

3rd May 2020

  • Implemented Discourse Feeds, check out cb!help server discourse on how to use.

13th April 2020

  • Fixed Quoting stop working
  • Its extension didn't had the Client variable set, so a helper function for retrieving a user's color failed.
:root { /* Background Palette */
--c0: hsl(0, 0%, 13%);
--c1: hsl(0, 0%, 17%);
--c2: hsl(0, 0%, 25%);
--c3: hsl(0, 0%, 36%);
--c6: hsl(0, 0%, 60%);
--bg-border: rgb(97, 97, 97);
}
:root { /* EZ Variables */
--background: var(--c0);

Keybase proof

I hereby claim:

  • I am craftplacer on github.
  • I am craftplacer (https://keybase.io/craftplacer) on keybase.
  • I have a public key ASDHTPqDi8-ylc-aWGboRSxgQvaZb8RhabbfyeYFoVbztwo

To claim this, I am signing this object:

/* ==UserStyle==
@name Compact Navigation Bar
@version 1.1.0
@description Compacts the vertical navbar into a horizontal iconic one.
@namespace github.com/Craftplacer
@author Craftplacer
==/UserStyle== */
@-moz-document domain("fedi.absturztau.be") {
:root {
--icon-size: 20px;
using System;
using System.IO;
using System.Linq;
using System.Reflection;
namespace BruderMussReflektieren
{
class Program
{
static void Main(string[] args)
@Craftplacer
Craftplacer / Json2Dart.cs
Last active July 24, 2020 18:37
Simple tool for making dart source code out of JSON files. (depends on Newtonsoft.Json and Humanizer)
using System;
using System.IO;
using System.Linq;
using System.Text;
using Humanizer;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Json2Dart
{
@Craftplacer
Craftplacer / FuckFandom.txt
Last active July 18, 2024 22:39
Filter for uBlock Origin that removes most of Fandom's elements from a wiki.
![Adblock Plus 2.0]
! Title: FuckFandom
! Expires: 30 days (update frequency)
! Homepage: https://gist.github.com/Craftplacer/04089c2c666c89e10818124c92d9c65b
fandom.com##.mcf-wrapper
fandom.com##.wds-global-footer
fandom.com##.global-navigation
fandom.com##.top-ads-container
@Craftplacer
Craftplacer / Program.cs
Created January 23, 2022 13:07
Mastodon-compatible archiver
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Newtonsoft.Json;
@Craftplacer
Craftplacer / oauth.dart
Last active April 19, 2022 12:16
Dart implementation of https://oauth.net/core/1.0a
import 'dart:convert';
import 'dart:math';
import 'package:crypto/crypto.dart';
import 'package:kaiteki/model/http_method.dart';
final DateTime _epoch = DateTime(1970);
/// Returns the seconds since January 1st 1970, required for the timestamp
/// parameter.
int secondsSinceEpoch() {