Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
check_success()
{
if [ "$?" -ne "0" ]; then
echo -e "\033[31m✘\033[0m"
exit 1
fi
echo -e "\033[32m✔\033[0m"
}
/* ==UserStyle==
@name Youtube Music Plus
@namespace kataba.me
@version 0.1.0
@description Make youtube music great again
@author katabame
==/UserStyle== */
@-moz-document domain("music.youtube.com")
{
html:not([style-scope]):not(.stype-scope)
@katabame
katabame / ConnectionTime.plugin.js
Last active August 10, 2021 17:26
VCに接続されている時間を表示するDiscordプラグイン | Discord plugin that displays how long connected to VC
//META{"name":"ConnectionTime","website":"https://kataba.me/","source":"https://gist.github.com/katabame/ef65c6379c8d50af8702c5932c6dbf5b"}*//
/*
MIT License
Copyright (c) 2018 katabame
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
$circle-width = 0.04em
$primary-color = #00BCD4
$secondary-color = #cccccc
.rect-auto
clip: rect(auto, auto, auto, auto)
.pie
position: absolute
border: $circle-width solid $primary-color
@katabame
katabame / tweetdeck.css
Last active September 23, 2021 02:24
Tweetdeckの背景を好きな画像に変更するやつ
/**********
Tweetdeckの背景を好きな画像に変更するやつ
LICENSE: WTFPL
-- 使い方 --
0. カスタムCSSをあてられる環境を作ります
https://better.tw/ をインストール
1. BetterTweetDeckの設定を開く
Chromeの拡張機能の設定から開くか、Tweetdeckの左端に追加されている青色のボタンをクリック
2. Custom CSSに移動し、このCSSをコピペ
oh-my-fish/theme-agnoster
oh-my-fish/plugin-balias
edc/bass
0rax/fish-bd
oh-my-fish/plugin-extract
fisherman/getopts
fisherman/spin
fisherman/z
function fish_greeting
screenfetch
end
function cd
builtin cd $argv
ls -a
end
alias rm='rm -i'
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
@katabame
katabame / ress.styl
Last active March 3, 2018 12:00
Stylus converted ress.css (https://github.com/filipelinhares/ress)
/* Original: ress.css (https://github.com/filipelinhares/ress) */
html
box-sizing border-box
overflow-y scroll
-webkit-text-size-adjust 100%
*, ::before, ::after
background-repeat no-repeat
box-sizing inherit
### Keybase proof
I hereby claim:
* I am katabame on github.
* I am katabame (https://keybase.io/katabame) on keybase.
* I have a public key ASAyQ9pXZ67feJDxofpjItSI5WMFMEoBw09TYPFIHe_EIQo
To claim this, I am signing this object: