Skip to content

Instantly share code, notes, and snippets.

@greymd
greymd / 全裸ネクタイ効果.md
Last active July 20, 2022 11:44
全裸ネクタイ効果

ぜんらねくたいこうか【全裸ネクタイ効果】

「全裸ネクタイのバイアス」とも。

漫画・アニメ・小説などの創作物において、極めて目立つツッコミ所が既にあるにもかかわらず、細々としたマイナーな指摘が先行する現象を指す。

作中で現実世界と比べておかしい点を指摘する際に用いられる表現。 また、指摘の内容が、作品が想定しているリアリティライン(現実レベルの度合い)を考慮していない状況でよく使われる。

指摘内容が特定の人がよく知る領域や、専門知識が必要な場合に発生しやすい。 知識をひけらかしたいといった欲求や、身近に感じているために期待するリアリティラインが作品の想定より高くなってしまう、内情をよく知るために自身の経験が想起されて創作として捉えられなくなってしまう、といった動機が存在すると考えられる。

@0187773933
0187773933 / GolangSSHTunnelForwardAndReverse.go
Last active March 30, 2024 09:21
Golang SSH Forward and Reverse Tunnel
package main
import (
"context"
"fmt"
"os"
"os/signal"
"path"
"sync"
"syscall"
@sjkillen
sjkillen / main.rs
Last active March 17, 2022 08:31
Rust Cartesian Product Iterator
mod util;
use std::ops::Range;
use util::*;
fn main() {
let v: Vec<Range<i32>> = [(1..4), (11..14), (111..114)]
.into_iter()
.map(|r| r.clone())
.collect();
for items in v.into_iter().flat_cprod() {
@Connie-Wild
Connie-Wild / channels.yml
Last active April 30, 2023 22:19
mirakurun BSCSチャンネル設定(2023/04/19現在)
- name: NHK BS1
type: BS
channel: BS15_0
serviceId: 101
- name: NHK BSプレミアム
type: BS
channel: BS03_1
serviceId: 103
- name: BS日テレ
type: BS
@mehdichaouch
mehdichaouch / google-dorks
Created March 22, 2020 17:53
Listing of a number of useful Google dorks.
Explanations:
cache: If you include other words in the query, Google will highlight those words within
the cached document. For instance, [cache:www.google.com web] will show the cached
content with the word “web” highlighted. This functionality is also accessible by
clicking on the “Cached” link on Google’s main results page. The query [cache:] will
show the version of the web page that Google has in its cache. For instance,
[cache:www.google.com] will show Google’s cache of the Google homepage. Note there
can be no space between the “cache:” and the web page url.
------------------------------------------------------------------------------------------
@chriswayg
chriswayg / create-cloud-template.sh
Last active February 25, 2024 02:53
This script will download a cloud image of many Linux distros and create a Proxmox 6 KVM template from it.
#!/bin/bash
set -o errexit
clear
printf "\n*** This script will download a cloud image and create a Proxmox VM template from it. ***\n\n"
### HOW TO USE
### Pre-req:
### - run on a Proxmox 6 server
### - a dhcp server should be active on vmbr1
@masarakki
masarakki / ex-dwango.md
Last active February 23, 2022 13:42
株式会社ドワンゴを退職しました

株式会社ドワンゴを退職しました

2011年3月15日に就職してから今日で8年と3ヶ月半・・・月にして99ヶ月・・・日数にして実に3033日 と・・・計算している間にも23秒が過ぎてしまったわけですが、株式会社ドワンゴを退職しました。 7月からはクックパッドで働きます。

ドワンゴでやってきたこと

@YuukiToriyama
YuukiToriyama / imagemagick_cube.bash
Created May 27, 2019 19:35
またつまらないシェル芸を作ってしまった
#!/bin/bash
convert -size 1500x500 pattern:checkerboard -fill Black -pointsize 400 -font "Symbola" -draw 'text 30,350 "Sh ell 💩"' -write mpr:L -crop 500x500+0+0! -virtual-pixel none -distort Perspective '0,0 100,350 500,0 100,150 0,500 250,400' -write mpr:tmp +delete mpr:L -crop 500x500+500+0! -virtual-pixel none -distort Perspective '0,0 100,150 500,0 250,100 0,500 250,200' mpr:tmp -composite -write mpr:tmp +delete mpr:L -crop 500x500+1000+0! -virtual-pixel none -distort Perspective '0,0 250,200 500,0 400,150 0,500 250,400' mpr:tmp -composite unko.png
@mala
mala / CVE-2019-5418_is_RCE.md
Last active February 7, 2021 04:25
Rails の CVE-2019-5418 は RCE (Remote code execution) です
@atsunoda
atsunoda / text_injection.md
Last active September 2, 2022 22:37
脆弱性報奨金制度で認定されづらいテキストインジェクション