Skip to content

Instantly share code, notes, and snippets.

View vc7's full-sized avatar
🇹🇼
ミルクティー大好き

Lihsuan Chen vc7

🇹🇼
ミルクティー大好き
View GitHub Profile
tap 'homebrew/cask'
tap 'homebrew/cask-fonts'
tap 'homebrew/cask-versions'
tap 'homebrew/bundle'
tap 'AdoptOpenJDK/openjdk'
tap 'danger/tap'
brew 'git'
brew 'svn'
brew 'mas'
@vc7
vc7 / osx.sh
Last active May 31, 2020 07:34
# TODO
package com.j99;
public class Main {
public static void main(String[] args) {
for (int i = 1; i <= 9; i++) {
for (int j = 1; j <= 9; j++) {
System.out.print(i + " * " + j + " = " + i * j);
}
}
}
protocol LocationManageable {
var delegate: LocationManageableDelegate?
}
protocol LocationManageableDelegate {
func aMethod()
}
class LocationManager: LocationManageable {
static let shared = LocationManager()
import UIKit
func printCalendar(year: Int, month: Int) {
if month < 1 || month > 12 {
return
}
let calendar = Calendar(identifier: .gregorian)
北海道
青森県
岩手県
宮城県
秋田県
山形県
福島県
茨城県
栃木県
群馬県