Skip to content

Instantly share code, notes, and snippets.

@all-user
all-user / config.cson
Created August 20, 2017 17:55
Nuclide configs
"*":
nuclide:
installRecommendedPackages: true
"nuclide-arcanist": {}
"nuclide-buck":
compileErrorDiagnostics: false
suggestTaskRunner: false
"nuclide-buck-files": {}
"nuclide-clang":
enableDefaultFlags: false
@all-user
all-user / search_symmetry_axis.swift
Last active August 29, 2015 14:16
CodeIQ 「中学入試から:対称軸の本数を数えよう」提出コード
//
// main.swift
//
import Foundation
let path = "~/Downloads/data.txt".stringByExpandingTildeInPath
if let data = String(
contentsOfFile: path,
@all-user
all-user / round-range.swift
Created February 2, 2015 04:18
CodeIQ 「中学入試から:概数と計算」提出コード
//
// main.swift
//
import Foundation
/**
* ~/Documents(/Users/ユーザ名/Documents)を取得するコードです。
* ここにdata.txtを配置する方法しか読み込む方法が分からなかったので、すいません。。。
*/