Skip to content

Instantly share code, notes, and snippets.

View kouki-dan's full-sized avatar

Kouki Saito kouki-dan

View GitHub Profile
#include<stdio.h>
int main(void){
(*********printf)("Hello world!!\n");
}
@kouki-dan
kouki-dan / bomber-map-example.txt
Last active November 30, 2016 16:41
bomber-map-example.txt
:black_square_for_stop::black_square_for_stop::black_square_for_stop::black_square_for_stop::black_square_for_stop::black_square_for_stop::black_square_for_stop::black_square_for_stop::black_square_for_stop::black_square_for_stop::black_square_for_stop:
:black_square_for_stop::joy::white_large_square::white_large_square::package::package::package::white_large_square::white_large_square::white_large_square::black_square_for_stop:
:black_square_for_stop::white_large_square::black_square_for_stop::package::black_square_for_stop::package::black_square_for_stop::package::black_square_for_stop::white_large_square::black_square_for_stop:
:black_square_for_stop::white_large_square::white_large_square::package::package::package::white_large_square::package::white_large_square::package::black_square_for_stop:
:black_square_for_stop::package::black_square_for_stop::white_large_square::black_square_for_stop::white_large_square::black_square_for_stop::package::black_square_for_stop::white_large_square::black_square_for_st
/*
* https://folio-sec.com/mypage/history/balance を開いて開発者ツールを開いてこのスクリプトをコピペしてください
*/
function waitMottoMiru(completion) {
setTimeout(function() {
var mottoMiru = document.querySelectorAll("div[class*=\"More__more\"] > button")
if (mottoMiru.length == 0) {
completion();
return;
@kouki-dan
kouki-dan / gist:211c66ee327ca7905e61134578f4902f
Last active September 23, 2018 17:18
複数の条件付きプロトコル適合
struct Hoge<T> {
let t: T
init(t: T) {
self.t = t
}
}
protocol FooProtocol {
}
@kouki-dan
kouki-dan / good-way.swift
Last active April 8, 2024 23:24
Swift UndoManager usage
import UIKit
class Counter {
let manager = UndoManager()
var count = 0
@objc func increment() {
count += 1
manager.registerUndo(withTarget: self, selector: #selector(Counter.decrement), object: nil)
}
@kouki-dan
kouki-dan / main.yml
Created August 22, 2019 17:08
GitHub Actions CI for iOS Apps
# .github/workflows/main.yml
name: CI
on: [push]
jobs:
build:
runs-on: macOS-10.14