Skip to content

Instantly share code, notes, and snippets.

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

mohemohe mohemohe

🍣
さーもん
View GitHub Profile
wait.....
fetch '@Naomii1@pawoo.net'
not found. skip.
wait.....
fetch '@Naomii2@pawoo.net'
not found. skip.
wait.....
fetch '@Naomii3@pawoo.net'
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 <eai@mizle.net>
// @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);
@mohemohe
mohemohe / keybase.md
Created September 14, 2018 04:58
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:

// ==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==