Skip to content

Instantly share code, notes, and snippets.

View Scribble Chirimojis.md

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.
@kabili207
kabili207 / README.md
Last active Jun 23, 2022
Rclone systemd user service
View README.md

rclone systemd service

Preparation

This service will use the same remote name you specified when using rclone config create. If you haven't done that yet, do so now.

Next, create the mountpoint for your remote. The service uses the location ~/mnt/<remote> by default.

mkdir ~/mnt/dropbox
@kabili207
kabili207 / create-shared-git.sh
Created Apr 4, 2019
Initializing git repo as group writable
View create-shared-git.sh
git init --shared=0665 scripts
cd scripts
chgrp linux_admins .
setfacl -R -m g:linux_admins:rwX .
find . -type d | xargs setfacl -R -m d:g:linux_admins:rwX
@kabili207
kabili207 / get_friend_codes.sh
Created Jun 18, 2017
Wii Friend Code Uploader
View get_friend_codes.sh
#!/bin/bash
function join_by { local IFS="$1"; shift; echo "$*"; }
upload=1
counter=0
found=( )
sess_id=$(od -N 4 -t uL -An /dev/urandom | tr -d " ")
View keybase.md

Keybase proof

I hereby claim:

  • I am kabili207 on github.
  • I am kabili207 (https://keybase.io/kabili207) on keybase.
  • I have a public key whose fingerprint is BB95 6AA1 C9D4 5952 9747 59A7 503E 289B 2B37 B0EB

To claim this, I am signing this object:

@kabili207
kabili207 / prefs.js
Created May 3, 2016
Adding custom tags to thunderbird
View prefs.js
user_pref("mailnews.tags.$cl_1.color", "#CC0000");
user_pref("mailnews.tags.$cl_1.tag", "red");
user_pref("mailnews.tags.$cl_10.color", "#FFFF00");
user_pref("mailnews.tags.$cl_10.tag", "yellow");
user_pref("mailnews.tags.$cl_2.color", "#3333FF");
user_pref("mailnews.tags.$cl_2.tag", "blue");
user_pref("mailnews.tags.$cl_3.color", "#006600");
user_pref("mailnews.tags.$cl_3.tag", "green");
user_pref("mailnews.tags.$cl_4.color", "#999999");
user_pref("mailnews.tags.$cl_4.tag", "grey");
@kabili207
kabili207 / Kodi-MyMusic48.sql
Created Sep 24, 2015
SQL to pickup where Kodi left off when database creation fails
View Kodi-MyMusic48.sql
use MyMusic48;
delimiter //
CREATE TRIGGER tgrDeleteAlbum AFTER delete ON album FOR EACH ROW BEGIN
DELETE FROM song WHERE song.idAlbum = old.idAlbum;
DELETE FROM album_artist WHERE album_artist.idAlbum = old.idAlbum;
DELETE FROM album_genre WHERE album_genre.idAlbum = old.idAlbum;
DELETE FROM albuminfosong WHERE albuminfosong.idAlbumInfo=old.idAlbum;
DELETE FROM art WHERE media_id=old.idAlbum AND media_type='album';