Skip to content

Instantly share code, notes, and snippets.

@barbietunnie
barbietunnie / jest-array-object-match.md
Last active September 18, 2026 09:06 — forked from andreipfeiffer/jest-toContainObject.js
Matching all or part of an object in array with Jest

Jest matching objects in array

You can check if an Array contains a subset of an object as follows:

const state = [
  { type: 'START', data: 'foo' },
  { type: 'START', data: 'baz' },
  { type: 'END', data: 'foo' },
];
@almahmudbd
almahmudbd / free-ai-api.md
Last active September 18, 2026 09:02
Free Ai Api keys and credits for agentic coding.

Free AI API Keys for Agentic Coding

Usage Tips

  • Do not subscribe to every service at once. Most free credits expire quickly. Test them one by one and move to the next when your current credits run out.
  • Register, verify your account, and claim your credits. Follow each platform's documentation to connect your coding tools.
  • Keep your API keys private. Do not share them publicly. (save or star this gist for future update)

List 1: Top Sites in This Genre

@ossa-ma
ossa-ma / SKILL.md
Last active September 18, 2026 08:54
the writing whip: a Claude Code skill that bans AI writing tropes and response behaviours (tropes.fyi)

name: the writing whip description: >- Kill all AI writing tropes and behaviours at the source: generation. Focus on quelling behaviour-driven triggers. Load before writing, especially for anything longer than a paragraph and re-check output against it, extremely important for communications, documentation, outbound, client-facing copy and for your own replies to the user. metadata: category: writing author: Ossama Chaib

@Arkellys
Arkellys / REG.md
Last active September 18, 2026 08:52
A short guide to answer some of the most common questions and issues on React+Electron apps.
@GOROman
GOROman / gaitame.c
Last active September 18, 2026 08:51
#がいためIMU テスト
/****************************************************************************
* Included Files
****************************************************************************/
#include <nuttx/config.h>
#include <sys/ioctl.h>
#include <time.h>
@AneurysAdames
AneurysAdames / office-activation.md
Created September 4, 2024 12:01
Office Activation Command by Omman

Office 2021

Method 1: Using my command line

Step 1.1: Open cmd program with administrator rights.

  • First, you need to open cmd in the admin mode, then run all commands below one by one.

Step 1.2: Get into the Office directory in cmd.

  • For x86 and x64
cd /d %ProgramFiles(x86)%\Microsoft Office\Office16
cd /d %ProgramFiles%\Microsoft Office\Office16
@k16shikano
k16shikano / SKILL.md
Last active September 18, 2026 08:51
cognitive-rhythm-writing/SKILL.md
name cognitive-rhythm-writing
description 説明的な文章に緩急を設計するための規範。緩急を装飾ではなく認知モードの切替(観察→逡巡→断定→再観察)と未回収の緊張の管理として扱い、文の拍、段落の密度波形、節の入り方、緩みと駄文の判別、執筆後の機械的な点検手順を定める。読み物として読ませたい章・記事・解説文を生成するとき、または「密度はあるが平坦でおもしろくない」文章を診断・修正するときに使用する。

認知リズムを生むための日本語ライティング規範

密度の高い文章が退屈になるのは、情報が多いからではなく、全文が同じ認知モードで書かれているからである。 この規範は、読者の認知モード(観察する、迷う、確信する、確かめ直す)を意図的に切り替え、常に「続きを読む理由」を維持することで、読み進める推進力を作る。

@ashwch
ashwch / git-worktrees-zero-to-hero.md
Last active September 18, 2026 08:43
Git Worktrees: From Zero to Hero - A comprehensive guide to using Git worktrees with submodules
@rxaviers
rxaviers / gist:7360908
Last active September 18, 2026 08:33
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@Cryptophobia
Cryptophobia / fedora-43-hibernation-setup.md
Last active September 18, 2026 08:33
Fedora 43 Hibernation Setup

Enabling Hibernation on Fedora 43

A complete guide to enable hibernation on Fedora 43 (Workstation) with UEFI and btrfs filesystem, including fixes for Secure Boot and SELinux issues.

Complete Command Reference

Run these commands in sequence to enable hibernation:

# Calculate swap size (RAM-based formula)