Skip to content

Instantly share code, notes, and snippets.

View freddi-kit's full-sized avatar
🏠
WFH

freddi(Yuki Aki) freddi-kit

🏠
WFH
View GitHub Profile

Trace Server requests/responses in VSCode

Add the following configurations in settings.json. The top level id (Ruby TypeProf) is a language client id specified as the first argument of the constructor of LanguageClient. like new LanguageClient("Ruby TypeProf", ...);

{
    "Ruby TypeProf.trace.server": {
        "verbosity": "verbose",
 "format": "Text"
@inamiy
inamiy / recursive-struct.swift
Created February 9, 2021 06:23
Recursive struct in Swift using Box (indirect struct)
@propertyWrapper
class Box<T> {
var wrappedValue: T
var projectedValue: Box<T> {
Box(wrappedValue)
}
init(_ value: T) {
self.wrappedValue = value

autoscale: true slidenumber: true

Swiftのmodifyアクセサとコルーチン

わいわいswiftc #17

@omochimetaru


Forum:

@d-date
d-date / project.yml
Last active March 17, 2024 21:17
XcodeGen Example
name: XXXX
attributes:
LastUpgradeCheck: 1140
ORGANIZATIONNAME: "kankak, Inc."
options:
bundleIdPrefix: com.xxxx.xxxxxxxx
deploymentTarget:
iOS: 13.1.3
configs:
Develop Debug: debug

slidenumber: true autoscale: true

Swiftのコンパイル時計算

わいわいswiftc #12

omochimetaru


コンパイル時計算

slidenumber: true autoscale: true

Opaque Result Typeの解説

omochimetaru

わいわいswiftc #11


5秒なら

slidenumber: true autoscale: true

ABI安定化とLibrary Evolution

omochimetaru

わいわいswiftc #11


Swift5といえば

@marty-suzuki
marty-suzuki / UnidirectionalInputOutputViewModelWithKeyPath.swift
Last active March 28, 2019 09:43
Logic of Unidirectional Input / Output ViewModel Sample with Swift KeyPath (Sample logic of https://github.com/cats-oss/Unio)
// This sample works on Swift4.2 and Swift5!
// Let's try to execute this sample with Playground!
import Foundation
// - MARK: Artificially RxSwift classes
public enum Rx {
public final class Observable<E> {}
@kishida
kishida / LTTimer.html
Created December 11, 2018 05:19
LT Timer for 2 tracks
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>LT Timer at LINE Developer meetup #47 in Fukuoka</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
@ha1f
ha1f / Regex.swift
Last active May 5, 2020 18:36
Swiftで正規表現
//
// Regex.swift
// ha1fRegex
//
// Created by はるふ on 2016/09/30.
// Copyright © 2016年 はるふ. All rights reserved.
//
import Foundation