Skip to content

Instantly share code, notes, and snippets.

View shaposhnikoff's full-sized avatar
🏠
Working from home

Shaposhnikoff shaposhnikoff

🏠
Working from home
  • Kiev,Ukraine
View GitHub Profile
@ajinkya5130
ajinkya5130 / ${NAME}Action.kt
Last active February 28, 2026 06:46
Compose UI Screen with ViewModel
/**
Created by ${USER} on ${DATE}
*/
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME} #end
sealed interface ${NAME}Action {
}
@ManotLuijiu
ManotLuijiu / ssh.config
Last active February 28, 2026 06:48
Connect to Host (Remote Server via SSH)
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_ed25519
Host {human_readable_name}
HostName {remote_server_ip}
User {Ubuntu_server_user}
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes
{
"title": "入部届",
"remark": "${service}で生成した標準的な入部届レイアウト例です。\n必要事項を整理し、学校・団体など幅広い場面で使用できる構成になっています。",
"info": {"rows":[30.17897824470657,17.008,20.119318829804378,20.119318829804378,20.119318829804378,20.119318829804378,20.119318829804378,40.238637659608756,20.119318829804378,40.238637659608756,20.119318829804378],"columns":[91.10899332811714,10.123221480901906,151.8483222135286,10.123221480901906,61.71432179362343,10.123221480901906,40.49288592360762,10.123221480901906,82.05959081751564],"areas":[{"id":"1772235102138","name":"print_area","type":"print","props":[{"name":"name","value":"印刷範囲"},{"name":"paper","value":"A4"},{"name":"paperMarginTop","value":"25"},{"name":"paperMarginBottom","value":"30"},{"name":"paperMarginLeft","value":"25"},{"name":"paperMarginRight","value":"20"}]}],"grids":[{"control":{"type":"label","props":[{"name":"name","value":"入部届"},{"name":"link","value":""}]},"group":"group0","font":{"size":18},"align":{"vertical":"center","horizontal":"center"}},{"group":"group0"},{"group":"g
@calebrob6
calebrob6 / compute_aef_block_stats.py
Created February 28, 2026 03:56
Compute per-block AEF embedding stats and PCA rasterization
#!/usr/bin/env python3
"""Compute mean and stdev of Alpha Earth Foundation embeddings per census block.
Required input data
-------------------
1. Census block shapefiles:
- Go to https://www.census.gov/cgi-bin/geo/shapefiles/index.php
- Select year "2025" (or desired year) and layer type "Blocks (2020)"
- Choose a state (e.g. "Washington") and download the ZIP
- Unzip to get tl_2025_53_tabblock20.shp (and companion files)
@serajmoner20041-ai
serajmoner20041-ai / index.html
Created February 28, 2026 03:56
SERAJ STORE
SERAJ STORE
[
{
"type": "git",
"name": "mitsumori",
"url": "https://gist.githubusercontent.com/KenjiNirasawa/d35b2e2134bd6f7fb06d9ba5c1d2a337/raw/mitshmori.json"
},
{
"type": "git",
"name": "nyuubu",
"url":"https://gist.githubusercontent.com/KenjiNirasawa/6ee364d4925860e1a0e357c06a88d9ef/raw/nyuubu.json"
{
"title": "見積書",
"remark": "${service}で生成した標準的な見積書レイアウト例です。\n商品・数量・単価・金額を整理し、幅広い用途に対応できる構成です。",
"info": {
"rows": [
31.18113333333333,
10.39371111111111,
31.18113333333333,
31.18113333333333,
31.18113333333333,
@tsangwpx
tsangwpx / set_kvm_cap_hall_poll.c
Last active February 28, 2026 06:48
Use ioctl to set up KVM_CAP_HALT_POLL in qemu
// vibe code product. Use with CAUTION.
// Unlicense.
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <linux/kvm.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ptrace.h>
@podhmo
podhmo / AIコーディングエージェントのコンテキストファイル効果 .md
Last active March 1, 2026 00:28
Updated via Gist Uploader - 2026-03-01T00:27:05.791Z

対話履歴

ユーザー: どういう論文ですか?どのような実験を行ったかが知りたいです


AIの思考プロセス