This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # anthropics/skills の skill-creator を取得し、リポジトリの .claude/skills/ に配置する。 | |
| # 前提: curl, tar。ルート判定に git を使うことがある(REPO_ROOT を指定すれば git は不要) | |
| # | |
| # --- Gist に置いて curl で実行する場合 --- | |
| # 1. このファイルを Gist にアップロードする(公開 / 非公開どちらでも可) | |
| # 2. Gist 画面の「Raw」を開き、ブラウザのアドレスバーの URL をコピーする | |
| # 3. 対象リポジトリのルートに cd してから: | |
| # curl -fsSL '<RAWのURL>' | bash | |
| # リポジトリ外から実行する場合は REPO_ROOT を指定: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "github.com/dghubble/go-twitter/twitter" | |
| "github.com/dghubble/oauth1" | |
| "log" | |
| "os" | |
| "regexp" | |
| "sort" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [dummy] | |
| aws_access_key_id = dummy | |
| aws_secret_access_key = dummy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Linq; | |
| public class Hello{ | |
| public static void Main(){ | |
| var n = int.Parse(System.Console.ReadLine()); | |
| var a = System.Console.ReadLine().Split(' '); | |
| for (var i=n-1; i>=0; i--) { | |
| System.Console.Write(a[i]); | |
| if (i-1 >= 0) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| public class CachingLoadExample : MonoBehaviour | |
| { | |
| string bundleURL = "http://localhost:9000/assets/StreamingAssets/sprites"; | |
| string assetName = "Test"; | |
| int version = 0; | |
| void Start() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| value at is not a member of controllers.ReverseAssets |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.{FileOutputStream, BufferedOutputStream} | |
| import java.net.URL | |
| import scala.language.postfixOps | |
| object Main { | |
| def main(args: Array[String]) = { | |
| val image_url = "http://pic.prepics-cdn.com/fuualbum0408/19574639.jpeg" | |
| val file_name = "hato.jpg" | |
| download(image_url, file_name) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # prefixキーをC-tに変更する | |
| set-option -g prefix C-t | |
| # C-bのキーバインドを解除する | |
| unbind C-b | |
| # マウス | |
| set-option -g mouse on | |
| # ウィンドウ履歴の最大行数 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| return array( | |
| 'paths' => [DOCROOT.'public/assets/'] | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #------------------------------ | |
| # githubflowのショートカットシェルスクリプトを生成する | |
| #------------------------------ | |
| use strict; | |
| use warnings; | |
| my $dir = $ARGV[0]; | |
| if (!$dir) { |
NewerOlder