Skip to content

Instantly share code, notes, and snippets.

View mohemohe's full-sized avatar
🍣
さーもん

mohemohe mohemohe

🍣
さーもん
View GitHub Profile
@mohemohe
mohemohe / PKGBUILD
Created December 2, 2019 02:27
fcitx-mozc-neologd-ut+ut2 2019/12/02
# Maintainer: Yang Niao <ksmt4699 at gmail dot com>
# Contributor: MASAKI Haruka <yek at reasonset dot net>
# Contributor: UTUMI Hirosi <utuhiro78 att yahoo dott co dott jp>
# Contributor: Felix Yan <[email protected]>
# Contributor: ponsfoot <cabezon dot hashimoto at gmail dot com>
## Mozc compile option
_bldtype=Release
_mozcver=2.23.2815.102
@mohemohe
mohemohe / virtualbox.5s.sh
Last active November 15, 2019 07:09
VBoxManage bitbar or kargos
#!/bin/bash -e
PAUSE="/tmp/__bitbar_virtualbox_$(whoami)"
function start_watch() {
rm -f "$PAUSE"
exit $?
}
function pause_watch() {
wait.....
fetch '@[email protected]'
not found. skip.
wait.....
fetch '@[email protected]'
not found. skip.
wait.....
fetch '@[email protected]'
not found. skip.
wait.....
@mohemohe
mohemohe / Ubuntu18.04.sh
Last active July 30, 2019 04:26
ブチミリ標準StackScript
#!/bin/bash
TARGET_USER=mohemohe
groupadd -f wheel
useradd -G wheel -m -s /bin/bash ${TARGET_USER}
mkdir -p /home/${TARGET_USER}/.ssh
chmod 700 /home/${TARGET_USER}/.ssh
curl https://github.com/${TARGET_USER}.keys > /home/${TARGET_USER}/.ssh/authorized_keys
chmod 600 /home/${TARGET_USER}/.ssh/authorized_keys
chown ${TARGET_USER}: -R /home/${TARGET_USER}
// ==UserScript==
// @name Mastodon X Files
// @namespace mizle.net
// @description :thinking_face:
// @author Eai <[email protected]>
// @license MIT
// @version 1.2.2
// @include https://*/web/*
// @grant GM.xmlHttpRequest
@mohemohe
mohemohe / mstdn.user.css
Last active April 4, 2019 06:27
Slack like Mastodon
/* ==UserStyle==
@name Slack like Mastodon
@namespace io.plusminus.mstdn.like.slack
@version 1.0.0
@description Slack like Mastodon
@author mohemohe
==/UserStyle== */
@-moz-document regexp("https://mstdn\\..*/web/?.*") {
@media(min-width:631px) {
@mohemohe
mohemohe / butimili.sh
Last active January 25, 2019 06:46
#!/bin/bash
CMDS='
curl
jq
'
for cmd in $CMDS; do {
if [[ ! $(command -v "$cmd") ]]; then {
echo "'$cmd' コマンドがありません" 1>&2
✘ mohemohe@Arietta  ~ 
❯ ping -4 -c 10 google.co.jp [23:23:09]
PING google.co.jp (172.217.26.3) 56(84) bytes of data.
64 bytes from nrt20s02-in-f3.1e100.net (172.217.26.3): icmp_seq=1 ttl=56 time=5.18 ms
64 bytes from nrt20s02-in-f3.1e100.net (172.217.26.3): icmp_seq=2 ttl=56 time=4.82 ms
64 bytes from nrt20s02-in-f3.1e100.net (172.217.26.3): icmp_seq=3 ttl=56 time=4.75 ms
64 bytes from nrt20s02-in-f3.1e100.net (172.217.26.3): icmp_seq=4 ttl=56 time=4.62 ms
64 bytes from nrt20s02-in-f3.1e100.net (172.217.26.3): icmp_seq=5 ttl=56 time=4.79 ms
64 bytes from nrt20s02-in-f3.1e100.net (172.217.26.3): icmp_seq=6 ttl=56 time=4.73 ms
64 bytes from nrt20s02-in-f3.1e100.net (172.217.26.3): icmp_seq=7 ttl=56 time=4.66 ms
✘ mohemohe@Arietta  ~ 
❯ ping -4 -c 10 google.co.jp [23:23:09]
PING google.co.jp (172.217.26.3) 56(84) bytes of data.
64 bytes from nrt20s02-in-f3.1e100.net (172.217.26.3): icmp_seq=1 ttl=56 time=5.18 ms
64 bytes from nrt20s02-in-f3.1e100.net (172.217.26.3): icmp_seq=2 ttl=56 time=4.82 ms
64 bytes from nrt20s02-in-f3.1e100.net (172.217.26.3): icmp_seq=3 ttl=56 time=4.75 ms
64 bytes from nrt20s02-in-f3.1e100.net (172.217.26.3): icmp_seq=4 ttl=56 time=4.62 ms
64 bytes from nrt20s02-in-f3.1e100.net (172.217.26.3): icmp_seq=5 ttl=56 time=4.79 ms
64 bytes from nrt20s02-in-f3.1e100.net (172.217.26.3): icmp_seq=6 ttl=56 time=4.73 ms
64 bytes from nrt20s02-in-f3.1e100.net (172.217.26.3): icmp_seq=7 ttl=56 time=4.66 ms
@mohemohe
mohemohe / soundcloud.nsfw.user.css
Created November 16, 2018 07:04
SoundCloud NSFW
.playableTile__artwork,
.selectionPlaylistBanner__artwork,
.soundBadge__artwork,
.userBadgeListItem__artwork,
.sound__artwork,
.userBadge__avatar,
.playbackSoundBadge__avatar,
.commentItem__avatar,
.usersList__item {
filter: blur(4px) grayscale(1);