Skip to content

Instantly share code, notes, and snippets.

View nekoppoituki's full-sized avatar

Nekoppoi nekoppoituki

View GitHub Profile
@Tatakinov
Tatakinov / advent_calendar_2023_ukagaka_12_18.md
Last active November 28, 2024 14:03
伺か Advent Calendar 2023 18日目の記事
/*
* Global Media Controls Panel
* Written by Tam710562
*/
(() => {
'use strict';
const gnoh = {
i18n: {
@Tatakinov
Tatakinov / advent_2021_12_23.md
Created December 22, 2021 15:26
伺かAdventCalendar2021 12/23

YAYAでQuine

伺かAdventCalendar2021の23日の記事です。

プログラミングのトークをするゴーストやYAYAの開発ネタのトークをするゴーストに仕込むと面白いかもしれません。

Quineってなんぞ

ソースコードと出力結果が一緒になるやつ。Wikipediaが詳しいです。

@Tatakinov
Tatakinov / advent_2021.md
Created December 7, 2021 13:34
伺かAdventCalendar2021

里々のlintを作りたかった

伺かAdventCalendar2021の8日の記事です。

結論

作ってみたは良いものの、さとりすと使ってたら出番無いな!

lintとはなんぞや

lintとは静的解析ツールとも呼ばれるもので、ソースコード(…伺か的には辞書)に対して解析を行い、 「この変数使われてないよ」とか「ifの条件式が間違っていてifの中身が絶対に実行されないよ」とか教えてくれる奴です。 すごく便利。

@hideyukisaito
hideyukisaito / google_csharp_style_guide_ja.md
Last active December 23, 2024 08:01
C# at Google Style Guide 日本語訳

C# at Google Style Guide を日本語訳したものです。一部こなれていない箇所もあるので、お気づきの点があれば気軽にコメントでご指摘頂ければ幸いです。

C# at Google Style Guide 日本語訳

このスタイルガイドは Google 社内で開発された C# コード用であり、Google の C# コードのデフォルトのスタイルです。 Google C++ スタイルや Google Java スタイルなど、Google の他の言語に準拠した文体の選択を行います。

フォーマットについてのガイドライン

命名規則

Guix on WSL2

(updated versions of this document, plus more, live here)

This will show you how to get Guix running on WSL2.
We're going to go as "minimal" as possible, without starting off one of the readily available WSL2 distros.
Parts of this guide should help with understanding how to set up any custom distro on WSL, not just Guix.

Disclaimer: I'm a Guix nOOb! (hence going through the trouble of installing it on WSL2)

@tsunyan
tsunyan / エクスプローラ周り重い人向け覚書.bat
Last active March 11, 2026 12:14
エクスプローラ周り重い人向け覚書
@rem 「※※※」は私のコメントです(元増田のコメントではありません)
@rem エクスプローラ周り重い人向け覚書
@rem https://anond.hatelabo.jp/20191116220232
@rem ■ システム設定
@rem Windows Defender自身を検索して無限ループに陥る問題を解消する
@rem - 設定→更新とセキュリティ→Windows セキュリティ→ウイルスの驚異の防止
@rem - ウイルスと驚異の防止の設定→設定の管理

.NET Blog Performance Improvements で Peanut Butterと呼ばれる類の小手先の定数倍高速化まとめ(羅列) 個人的なメモをpublicにしただけなのであんまり信用しない方が。長文部分はだいたいわかってないで書いてる(数年前の自分・・・)
ランタイムやライブラリの進化で無意味になることがあります。
整えてないので見にくい。

原則

  • コピーを作らない
  • スタック上で完結させる(==アロケーションを避ける)Sapn<T>stackallocは強い。ただしスタック領域は狭い。
  • 仮想メソッドは遅い
  • ボックス化はもっと遅い
@Quipyowert2
Quipyowert2 / FOSS Alternatives to Adobe's Premiere Pro.md
Created April 28, 2019 01:18
FOSS Alternatives to Adobe's Premiere Pro

Open Source Video Editors:

  1. Blender - I'm not sure if this one counts since it is more of a CAD program than a video editor.

  2. Avidemux:

Avidemux is a free video editor designed for simple cutting, filtering and encoding tasks. It supports many file types, including AVI, DVD compatible MPEG files, MP4 and ASF, using a variety of codecs. Tasks can be automated using projects, job queue and powerful scripting.

  1. OpenShot:
@kamakuni
kamakuni / digitalsignature.md
Last active September 21, 2021 13:24
電子署名に関してまとめた

公開鍵暗号方式を利用した認証

  1. 送信者はキーペアを生成して、あらかじめ送信者に公開鍵と署名内容を伝える
  2. 送信者がデータを送信する際には、自分の秘密鍵で署名内容を暗号化し送信データに付与する
  3. 受信者は暗号化した署名内容を公開鍵で復号化し事前に知らされた署名内容と同じであれば本人であると確認できる

ダイジェスト

署名内容がいつも同じであると、暗号化された署名内容が漏洩した際、その内容を利用して そのため、送信するたびに署名内容を変更することが望ましい。