Skip to content

Instantly share code, notes, and snippets.

🍣
さーもん

mohemohe mohemohe

  • Mobilus
  • Yokohama, Kanagawa, Japan
View GitHub Profile
@mohemohe
mohemohe / mstdn.user.css
Last active Apr 4, 2019
Slack like Mastodon
View mstdn.user.css
/* ==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) {
View butimili.sh
#!/bin/bash
CMDS='
curl
jq
'
for cmd in $CMDS; do {
if [[ ! $(command -v "$cmd") ]]; then {
echo "'$cmd' コマンドがありません" 1>&2
View gist:afd823e954f17b949908f0eafd4aac45
✘ 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
View gist:64c8ba59c7160219081332f19e7b0794
✘ 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
View soundcloud.nsfw.user.css
.playableTile__artwork,
.selectionPlaylistBanner__artwork,
.soundBadge__artwork,
.userBadgeListItem__artwork,
.sound__artwork,
.userBadge__avatar,
.playbackSoundBadge__avatar,
.commentItem__avatar,
.usersList__item {
filter: blur(4px) grayscale(1);
View keybase.md

Keybase proof

I hereby claim:

  • I am mohemohe on github.
  • I am mohemohe (https://keybase.io/mohemohe) on keybase.
  • I have a public key whose fingerprint is 982B 99A0 AD7A F34A 522A E361 ABA4 B7AB 92DE 8243

To claim this, I am signing this object:

View maud.io.nsfw.user.js
// ==UserScript==
// @name maud.io NSFW
// @namespace net.ghippos.hide.nsfw.io.maud.mstdn
// @version 1.1
// @description FUCK TWITTER
// @author mohemohe <mohemohe@ghippos.net>
// @match https://mstdn.maud.io/*
// @grant none
// ==/UserScript==
@mohemohe
mohemohe / プロモツイート非表示.user.js
Last active Sep 1, 2018
プロモツイート非表示 user js
View プロモツイート非表示.user.js
// ==UserScript==
// @name プロモツイート非表示
// @namespace net.ghippos.delete.twitter.promo
// @version 1.1
// @description FUCK TWITTER
// @author mohemohe <mohemohe@ghippos.net>
// @match https://mobile.twitter.com/*
// @grant none
// ==/UserScript==
@mohemohe
mohemohe / mkalpinecontainer
Created Apr 10, 2018
Alpine Linuxをsystemd-nspawnで動かす
View mkalpinecontainer
#!/bin/bash
MIRROR=http://ftp.tsukuba.wide.ad.jp/Linux/alpine
VERSION=edge
if [ $UID -ne 0 ]; then
echo "rootじゃなきゃやだ" >&2
exit 1
fi
@mohemohe
mohemohe / install_byobu_yum.sh
Created Jan 15, 2018 — forked from ikegami-yukino/install_byobu_yum.sh
Install byobu to CentOS and Amazon Linux
View install_byobu_yum.sh
sudo yum install byobu -y --enablerepo=epel-testing
You can’t perform that action at this time.