Skip to content

Instantly share code, notes, and snippets.

View ChiriVulpes's full-sized avatar
🦊
getting easily distracted

Chiri Vulpes ChiriVulpes

🦊
getting easily distracted
View GitHub Profile
@ChiriVulpes
ChiriVulpes / README.md
Last active August 17, 2024 22:33
Chiri's Trello UI/UX improvements
@ChiriVulpes
ChiriVulpes / wikipedia.dark.css
Created August 14, 2022 09:22
Dark theme for wikipedia (I probably missed some less commonly-seen stuff)
body {
background: #181818;
}
.mw-body, .parsoid-body {
background: #222;
color: #aaa;
border-color: #2b3942;
}
@ChiriVulpes
ChiriVulpes / scribble.favourites.css
Last active July 10, 2021 00:08
Adds a display for your own rating of a story over top of the story's actual rating. Only works for stories rated after installation.
:root {
--star-background: white;
}
.dark {
--star-background: #21282e;
}
.ownRating {
position: absolute;

Chirimojis for Scribble Hub

This allows you to create your own custom emoji picker of all the emojis that you want to be able to use on Scribble Hub.

Note: It completely replaces Scribble's default emoji.

Using this script:

  1. Add the content of scribble.chirimojis.js to a userscript extension in your browser, for example, Tampermonkey for Firefox.
  2. Add the content of scribble.chirimojis.css to a userstyles extension in your browser, for example, Stylish.
  3. Fill in your emoji to the customEmojis variable in scribble.chirimojis.js. There's an example of the format in the file.
@ChiriVulpes
ChiriVulpes / Chiristuff for your Bandcamp collection.md
Last active April 18, 2021 09:00
Chiristuff for your Bandcamp collection — M O R E S O N G

Chiristuff for your Bandcamp Collection

  • Dark theme
  • Expands your collection horizontally to fill your entire monitor width
  • Toggle a "compressed" view by clicking on the collection tab
  • Loops albums automagically
  • Moves the search/hidden items bar in your collection into the tabs bar when the bandcamp menu bar is not visible
  • Right click the title of the currently playing track or tracks in the queue to dislike them. Disliked tracks are automatically skipped

Install

  1. Install extensions that can add custom JavaScript & CSS to pages.
    • On Chrome, I use User JavaScript and CSS.
    • On Firefox, my girlfriend and others have had success with Tampermonkey and Stylish.
  2. In your extension for JavaScript, paste the contents of Scribble Garbage Vaporiser.js
  3. In your extension for CSS, paste the contents of Scribble Garbage Vaporiser.css
  4. Go to Scribble Hub. Should have worked. 😁

Use

  • Right click on a series link: Hide series.
@ChiriVulpes
ChiriVulpes / vec2i-serialize.ts
Last active May 9, 2021 20:57
vec2i serialize/deserialize to single int
export type Vec2i = readonly [x: number, y: number];
export namespace Vec2i {
export function serialize (...[x, y]: Vec2i) {
let number = 0;
let i = 0;
while (x || y) {
let val;
if (i % 2) {
val = y;
y >>= 1;
@ChiriVulpes
ChiriVulpes / Chirimode for GitHub Desktop.md
Last active August 11, 2022 05:59 — forked from ObserverOfTime/css-inject.js
Some CSS fixes and tweaks for GitHub Desktop

Chirimode for GitHub Desktop

  • Fixes a blur on the blue border at the bottom of the changes/history tabs.
  • Fixes the app toolbar having a 2px border.
  • Adds a line on the side of the repo dropdown so that it lines up with the repo button.
  • Tweaks the diff theme to match my VSCode syntax theme Azurish as closely as possible.

Install:

  1. Open dev tools with CTRL + SHIFT + I
  2. Go the console