Skip to content

Instantly share code, notes, and snippets.

View hironytic's full-sized avatar

Hironori Ichimiya hironytic

  • Tokushima, Japan
  • 22:38 (UTC +09:00)
  • X @hironytic
View GitHub Profile
@takasek
takasek / AtCoderTemplate.swift
Last active October 30, 2020 01:09
SwiftでAtCoderに挑戦するためのPlayground用テンプレート
import Foundation
struct Example {
let input: String
let expectation: String
}
// テストケース列挙
let examples: [(String, Example)] = [
("1", Example(
input: """
@uhooi
uhooi / Makefile
Last active July 17, 2023 02:18
Makefile for iOS App development
PRODUCT_NAME := Foo
SCHEME_NAME := ${PRODUCT_NAME}
WORKSPACE_NAME := ${PRODUCT_NAME}.xcworkspace
UI_TESTS_TARGET_NAME := ${PRODUCT_NAME}UITests
TEST_SDK := iphonesimulator
TEST_CONFIGURATION := Debug
TEST_PLATFORM := iOS Simulator
TEST_DEVICE ?= iPhone 11 Pro Max
TEST_OS ?= 13.3
@Eng-Fouad
Eng-Fouad / SampleMingw.kt
Created July 9, 2019 22:38
Kotlin Native Win32 GUI Sample
package sample
import kotlinx.cinterop.*
import platform.windows.*
@ExperimentalUnsignedTypes
fun WndProc(hwnd: HWND?, msg: UINT, wParam: WPARAM, lParam: LPARAM) : LRESULT
{
// This switch block differentiates between the message type that could have been received. If you want to
// handle a specific type of message in your application, just define it in this block.
@kazakago
kazakago / bitrise.yml
Last active February 8, 2019 01:55
bitrise.yml example
---
format_version: '4'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: android
workflows:
unittest_staging:
before_run: []
after_run:
- _unittest
- _danger
import 'package:flutter/widgets.dart';
abstract class Bloc {
void dispose();
}
class BlocProvider<BlocType extends Bloc> extends StatefulWidget {
final WidgetBuilder builder;
final BlocType Function() creator;
@voluntas
voluntas / death_march.md
Last active February 13, 2026 13:32
デスマーチが起きる理由 - 3つの指標

デスマーチが起きる理由 - 3つの指標

著者: 青い鴉(ぶるくろ)さん @bluecrow2

これは結城浩さんの運用されていた YukiWiki に当時 Coffee 様 (青い鴉(ぶるくろ)さん)がかかれていた文章です。 ただ 2018 年 3 月 7 日に YukiWiki が運用停止したため消えてしまいました。その記事のバックアップです。

今は 404 ですが、もともとの記事の URL は http://www.hyuki.com/yukiwiki/wiki.cgi?%A5%C7%A5%B9%A5%DE%A1%BC%A5%C1%A4%AC%B5%AF%A4%AD%A4%EB%CD%FD%CD%B3 になります。

昔、自分がとても感銘を受けた文章なので、このまま読めなくなるのはとてももったいないと思い、バックアップとして公開しています。

diff --git a/DemoBots/GeometryExtensions.swift b/DemoBots/GeometryExtensions.swift
index 5c5f97c..e5dc712 100644
--- a/DemoBots/GeometryExtensions.swift
+++ b/DemoBots/GeometryExtensions.swift
@@ -30,12 +30,6 @@ extension float2 {
}
}
-/*
- Extend `float2` to declare conformance to the `Equatable` protocol.
@tamx
tamx / gas_ss_atena.js
Last active September 3, 2026 02:31 — forked from githubmorley/gas_ss_atena.js
Googleスプレッドシート_宛名印刷
// 宛名印刷&住所録 テスト用データ
/*
1000001 ◯◯県◯◯市◯◯◯◯◯,1丁目2−3 ◯山 ◯太郎 様,◯子 様 2000001 ◯◯県◯◯市◯◯ 1丁目2−3,◯◯アパート◯◯◯号室 ◯村 ◯郎
1000002 ◯◯◯県◯◯◯市◯◯◯,2丁目3−4 ◯木 ◯男 様 2000001 ◯◯県◯◯市◯◯ 1丁目2−3,◯◯アパート◯◯◯号室 ◯村 ◯郎
1000003 ◯◯県◯◯◯郡◯◯◯◯,3丁目4−5 ◯村 ◯一  様,◯◯美 様 2000001 ◯◯県◯◯市◯◯ 1丁目2−3,◯◯アパート◯◯◯号室 ◯村 ◯郎
*/
// はがきのシートの設定
function setHagakiSheet(){
var margin_left = 1; // 左側の余白
@lattner
lattner / TaskConcurrencyManifesto.md
Last active September 21, 2026 22:06
Swift Concurrency Manifesto
@bricklife
bricklife / lldb-plugin-curl.py
Created January 13, 2017 08:10
LLDB Plugin - curl
#!/usr/bin/env python
import lldb
def process(debugger, command, result, internal_dict):
lldb.debugger.HandleCommand("""
expr -l swift --
func $process(URLRequest: NSURLRequest) {
func curl(URLRequest: NSURLRequest) -> String {
guard let URLString = URLRequest.URL?.absoluteString else {