Skip to content

Instantly share code, notes, and snippets.

View Nyoho's full-sized avatar
:octocat:
GitHubing

北䑓如法 Nyoho

:octocat:
GitHubing
View GitHub Profile
@Nyoho
Nyoho / sample-emacs-lisp-configuration.org
Created May 11, 2019 01:19
A sample of a org-babel based emacs configuration

Emacs configuration

Test

(message "Hello org-mode!")
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Process: Photos [2289]
Path: /Applications/Photos.app/Contents/MacOS/Photos
Identifier: com.apple.Photos
Version: 3.0 (3271.13.150)
Build Info: PhotoApp-3271013150000000~2
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Photos [2289]
User ID: 501
@Nyoho
Nyoho / 2018-0522-133418-report.org
Created May 22, 2018 10:58
YouTube動画の通報のやり方

YouTube動画の通報のやり方

動画通報のやり方

PC版

再生画面の右下の「…」→「報告」→「差別的または攻撃的な内容」→「差別や暴力の助長」→動画の中から差別用語などを探し「該当するタイムスタンプ」で時間指定 下の入力スペースに通報理由を記入→送信をクリック

スマートフォンアプリ版

1, 0
2, 0
3, 0
4, 0.
5, 2.20361*10^-280
@Nyoho
Nyoho / gist:3d0647fbf6c6e98b9b8c552ddeaab22f
Last active October 28, 2018 04:53
Bookmarklet that lets you open and close zenkaku-parenthesis parts 全角括弧内を開閉できるようにするブックマークレット
// 括弧内を開閉できるようにする。
javascript:(() => {
var s=document.createElement('style');s.innerText='.toggler0 { text-indent:0; width:16px; display: inline-block; animation: 0.2s ease-in forwards rotation; } .toggler1 { text-indent:0; width:16px; display: inline-block; animation: 0.2s ease-in reverse forwards rotation; } @keyframes rotation { 0%25 { transform: rotate(0deg) } 100%25 { transform: rotate(-90deg) } }';document.getElementsByTagName('head')[0].appendChild(s);
})();
[0,1].forEach((l) => {
const d=document;var s=d.body.innerHTML;d.body.innerHTML=s.replace(/(([^(]+?))/g,"<span style=\"\"><span onclick=\"var n=this.nextSibling;if(n.style.display === 'none'){n.style.display = '';this.className='';this.className = 'toggler1';}else{ n.style.display = 'none';this.className='';this.className = 'toggler0';} \" class=\"toggler0\" style=\"color: #aaa; cursor: pointer;\">▼</span><span style=\"display: none\"> ($1) </span></span>");
})
@Nyoho
Nyoho / suggestion.txt
Created May 13, 2018 10:24
Ordering of notification setting (in iOS + SDK Notifications)
I would like "notification time" and "last-used time" ordering feature in notification setting in Setting of iOS.
Current ordering is just alphabetical.
When I want to turn off notification sound or badge of some app, I always feel boring to find the app I turn off since I have many apps in iPhone, iPad.
I would like to suggest the following two ordering to the notification setting:
1. "Notification Time"-order. (It's useful when a user just gets a notification from an app and wants to turn it off.)
2. "Last-used time"-order. (It's useful when a user wants to turn an unnecessary badge for her/him off.)
@Nyoho
Nyoho / 2018-0307-pokemon-go-egg.org
Created March 7, 2018 14:52
しあわせたまご <2018-03-07 Wed>

<2018-03-07 Wed>

進化リスト

ポッポ60
コイキング89-911
イーブイ9781サンダースになった
イーブイ10001シャワーズになった
ミニリュウ99312段階
ポポッコ1
@Nyoho
Nyoho / a.markdown
Last active September 7, 2017 10:37
karabiner の設定の断片

これを rules の manipulators の中にぶち込む

"conditions": [
                                {
                                  "type": "frontmost_application_unless",
                                  "bundle_identifiers": [
                                    "^com\\.adobe\\..*"
                                  ]
                                }
@Nyoho
Nyoho / 2017-0810-pokemon-go-egg.org
Created August 10, 2017 10:24
しあわせたまご <2017-08-10 Thu>

<2017-08-10 Thu>

進化リスト

ポッポ66
サイホーン911
ヒメグマ3
マグマッグ2
ヒマナッツ3