Skip to content

Instantly share code, notes, and snippets.

🍣
さーもん

mohemohe mohemohe

🍣
さーもん
Block or report user

Report or block mohemohe

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mohemohe
mohemohe / Ubuntu18.04.sh
Last active Jul 30, 2019
ブチミリ標準StackScript
View Ubuntu18.04.sh
#!/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}
View Mastodon X Files.user.js
// ==UserScript==
// @name Mastodon X Files
// @namespace mizle.net
// @description :thinking_face:
// @author Eai <eai@mizle.net>
// @license MIT
// @version 1.2.2
// @include https://*/web/*
// @grant GM.xmlHttpRequest
@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==
You can’t perform that action at this time.