- Scott Chacon on the Interwebs(リンク切れ)
- Scott Chacon on the Interwebs
- GitHub Flow - The best way to use Git and GitHub
31 Aug 2011
import UIKit | |
/// 閏年か判断する | |
/// | |
/// - parameter year: 年 | |
/// | |
/// - returns: 閏年の場合にtrue、それ以外はfalse | |
func isLeapYear(year: Int) -> Bool { | |
// 4以上ではない場合は弾く | |
guard year >= 4 else { |
# .bashrcを編集する | |
alias vibash='vi ~/.bashrc' | |
# .bashrcを更新する | |
alias rebash='source ~/.bashrc' | |
# Git | |
alias gst='git status' | |
alias gdf='git diff --staged' | |
alias gcm='git commit -m' | |
alias gcma='git commit --amend' |
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 |
# https://github.com/Homebrew/homebrew-bundle | |
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/core" | |
cask_args appdir: "/Applications" | |
# ---------------------------------------- | |
# brew | |
# ---------------------------------------- |
import 'dart:math'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/rendering.dart'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override |