Skip to content

Instantly share code, notes, and snippets.

View yat1ma30's full-sized avatar
๐Ÿ•
On vacation

URA yat1ma30

๐Ÿ•
On vacation
View GitHub Profile
@k16shikano
k16shikano / SKILL.md
Last active November 20, 2026 12:00
japanese-tech-writing/SKILL
name japanese-tech-writing
description ๆ—ฅๆœฌ่ชžใฎๆŠ€่ก“ๆ–‡ๆ›ธใƒปๆ›ธ็ฑๅŽŸ็จฟใฎๆ–‡็ซ ่ฆ็ฏ„ใ€‚ๆฎต่ฝใจ่ซ–่จผใฎๆง‹ๆˆ๏ผˆใƒ‘ใƒฉใ‚ฐใƒฉใƒ•ใƒฉใ‚คใƒ†ใ‚ฃใƒณใ‚ฐ๏ผ‰ใ€่ซ–่จผใฎๅŽณๅฏ†ใ•๏ผˆใƒ„ใƒƒใ‚ณใƒŸใฉใ“ใ‚ใฎ้™คๅŽป๏ผ‰ใ€่ชญใฟๆ‰‹ใฎ่ฒ ่ทใฎ็ฎก็†ใ€่ฆ–็‚นใจ่ชžใ‚Šใ€ๆผ”ๅ‡บใฎๆŠ‘ๅˆถใ€LLM ใฃใฝใ„็ฉบๅฅใฎ็ฆๆญขใ€็ฟป่จณ่ชฟใฎๆฏ”ๅ–ฉใจๆ“ฌไบบๅŒ–ใฎ็ฆๆญข๏ผˆใ€Œ้‹ใถใ€ใ€ŒๅŠนใใ€ใ€Œ้–‹ใ‹ใ‚ŒใŸๅ•ใ„ใ€ใชใฉ๏ผ‰ใ€ๅ†—้•ทใฎๆŽ’้™คใ‚’ๅฎšใ‚ใ‚‹ใ€‚ๆ—ฅๆœฌ่ชžใงๆŠ€่ก“ๆ›ธใฎ็ซ ใ€่‰็จฟใ€่จ˜ไบ‹ใ€่งฃ่ชฌๆ–‡ใ‚’ๆ›ธใใจใใ€ใพใŸใฏๆŽจๆ•ฒใƒปใƒชใƒฉใ‚คใƒˆใ™ใ‚‹ใจใใซไฝฟ็”จใ™ใ‚‹ใ€‚
license Unlicense๏ผˆhttps://gist.github.com/k16shikano/67625f2a7d96e3bbdfae8d571a936063๏ผ‰

ๆ—ฅๆœฌ่ชžๆŠ€่ก“ๆ–‡ๆ›ธใฎๆ–‡็ซ ่ฆ็ฏ„

ๆ—ฅๆœฌ่ชžใงๆŠ€่ก“็š„ใชๅŽŸ็จฟ๏ผˆๆ›ธ็ฑใฎ็ซ ใ€่จ˜ไบ‹ใ€่งฃ่ชฌๆ–‡๏ผ‰ใ‚’ๆ›ธใใƒปๆŽจๆ•ฒใ™ใ‚‹ใจใใฏใ€ไปฅไธ‹ใฎ่ฆ็ฏ„ใซๅพ“ใ†ใ€‚

using System.Collections.Generic;
using System.IO;
using UnityEditor;
using UnityEditorInternal;
using UnityEngine;
// This is only useful for spritesheets that need to be automatically sliced (Sprite Editor > Slice > Automatic)
public class AutoSpriteSlicer
{
[MenuItem("Tools/Slice Spritesheets %&s")]
@tos-kamiya
tos-kamiya / latexใฎใ‚ฝใƒผใ‚นใซๆฏŽๅบฆๆ›ธใ่จญๅฎšใ‚’ใพใจใ‚ใจใ.md
Last active November 17, 2019 17:19
latexใฎใ‚ฝใƒผใ‚นใซๆฏŽๅบฆๆ›ธใ่จญๅฎšใ‚’ใพใจใ‚ใจใ

ๆฏŽๅบฆๆฏŽๅบฆ่จญๅฎšใ™ใ‚‹ใฎใงใพใจใ‚ใฆใŠใใ€‚ ็’ฐๅขƒใฏ Ubuntu Gnome 17.04, TexLive 2016ใ€‚


่ฟฝ่จ˜(2017.07.10)

ACMใฎๆ–ฐใ—ใ„ใƒ†ใƒณใƒ—ใƒฌใƒผใƒˆใซๅฏพๅฟœใ™ใ‚‹

ใ™ในใฆใฎไพๅญ˜้–ขไฟ‚ใ‚’่ฟฝใ„ใใ‚Œใฆใ„ใพใ›ใ‚“ใŒใ€ใจใ‚Šใ‚ใˆใšๆฌกใฎใ‚ˆใ†ใซใ™ใ‚‹ใจใ€ใƒ†ใƒณใƒ—ใƒฌใƒผใƒˆใซๅŒๆขฑใ•ใ‚Œใฆใ„ใ‚‹makeใงใ‚ตใƒณใƒ—ใƒซใŒใ‚ณใƒณใƒ‘ใ‚คใƒซๅฏ่ƒฝใซใชใ‚Šใพใ—ใŸใ€‚

## Based on: http://code.activestate.com/recipes/577654/
#!/usr/bin/env python
# Send DDE Execute command to running program
from ctypes import POINTER, WINFUNCTYPE, c_char_p, c_void_p, c_int, c_ulong, c_char_p
from ctypes.wintypes import BOOL, DWORD, BYTE, INT, LPCWSTR, UINT, ULONG
import time
# DECLARE_HANDLE(name) typedef void *name;
HCONV = c_void_p # = DECLARE_HANDLE(HCONV)
@robertmarsal
robertmarsal / gist:9feaa9150926efa4175a
Created December 17, 2014 21:09
Install f.lux on Ubuntu 14.10
sudo apt-get install python-glade2 python-appindicator
git clone https://github.com/Kilian/f.lux-indicator-applet.git
cd f.lux-indicator-applet
chmod +x setup.py
sudo ./setup.py install
fluxgui
@dhbradshaw
dhbradshaw / gist:e2bdeb502b0d0d2acced
Last active August 16, 2023 17:50
Rename field using migrations in django 1.7
To change a field name in django 1.7+
1. Edit the field name in the model (but remember the old field name: you need it for step 3!)
2. Create an empty migration
$ python manage.py makemigrations --empty myApp
3. Edit the empty migration (it's in the migrations folder in your app folder, and will be the most recent migration) by adding
migrations.RenameField('MyModel', 'old_field_name', 'new_field_name'),
to the operations list.
@jbenet
jbenet / simple-git-branching-model.md
Last active November 18, 2026 19:52
a simple git branching model

a simple git branching model (written in 2013)

This is a very simple git workflow. It (and variants) is in use by many people. I settled on it after using it very effectively at Athena. GitHub does something similar; Zach Holman mentioned it in this talk.

Update: Woah, thanks for all the attention. Didn't expect this simple rant to get popular.

@d3m3vilurr
d3m3vilurr / feedly_api.md
Last active February 9, 2026 08:39
Unofficial Feedly API Document

IDs

  • user_id - user/:uid
  • feed_id - feed/:feed_uri
  • category_id - :user_id/category/:category (special category: global.all, global.uncategorized)
  • tag_id - :user_id/tag/:tag (special tag: global.saved)

APIs

http://cloud.feedly.com/:version/:api

@Gab-km
Gab-km / whyILeftHeroku.rst
Last active December 30, 2022 10:56
ไฝ•ๆ•…็งใฏ Heroku ใ‹ใ‚‰้›ขใ‚ŒใŸใ‹ใ€ใŠใ‚ˆใณๆ–ฐใ—ใ„ AWS ใ‚ปใƒƒใƒˆใ‚ขใƒƒใƒ—ใฎใƒกใƒข

ไฝ•ๆ•…็งใฏ Heroku ใ‹ใ‚‰้›ขใ‚ŒใŸใ‹ใ€ใŠใ‚ˆใณๆ–ฐใ—ใ„ AWS ใ‚ปใƒƒใƒˆใ‚ขใƒƒใƒ—ใฎใƒกใƒข

ๅŽŸ่‘—่€…:Adrian Holovaty
ๅŽŸๆ–‡:Why I left Heroku, and notes on my new AWS setup

้‡‘ๆ›œๆ—ฅใ€็งใฏ Heroku ใ‹ใ‚‰ Amazon Web Services(AWS) ใ‚’็›ดๆŽฅไฝฟใ†ใ‚ˆใ†ใซ Soundslice ใ‚’็งป่กŒใ—ใพใ—ใŸใ€‚็งใฏใ“ใฎๅค‰ๆ›ดใŒใงใใฆใจใฆใ‚‚ใ€ใใ†ใจใฆใ‚‚ๅฌ‰ใ—ใใฆใ€็งใŒใฉใ†ใ‚„ใฃใŸใ‹ใจใ„ใ†ใ“ใจใจใ€ใ‚‚ใ—็š†ใ•ใ‚“ใŒๅŒใ˜ใ‚ˆใ†ใช็ซ‹ๅ ดใ ใฃใŸใ‚‰ไฝ•ๆ•…ใใ‚Œใ‚’ๆคœ่จŽใ™ในใใ‹ใจใ„ใ†ใ“ใจใซใคใ„ใฆๅบƒใไผใˆใŸใ„ใจๆ€ใ„ใพใ™ใ€‚

@alucky0707
alucky0707 / tak.js
Last active December 17, 2015 09:59
็ซนๅ†…้–ขๆ•ฐใฎใƒ™ใƒณใƒใƒžใƒผใ‚ฏ(http://qiita.com/items/b3f9ab63c63e9e6399e6)
/**
* @fileOverview ็ซนๅ†…้–ขๆ•ฐใฎใƒ™ใƒณใƒใƒžใƒผใ‚ฏ
* node tak.js name x y z
* ใจๅฎŸ่กŒใ—ใฆใใ ใ•ใ„ใ€‚
* @author ใ‚ใ‚‰ใฃใใƒ(twitter:alucky0707)
* @license <a href="http://en.wikipedia.org/wiki/MIT_License">X11/MIT License</a>
*/
var
util = require('util');