Skip to content

Instantly share code, notes, and snippets.

import 'package:flutter/material.dart';
import 'dart:math' as math;
import 'dart:async';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active May 21, 2024 14:43
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@i-takehiro
i-takehiro / Drink.java
Last active July 16, 2021 13:17
第21回 DDD(ドメイン駆動設計)勉強会in仙台( http://connpass.com/event/28737/ ) のリファクタリング用コード
package vending;
public class Drink {
public static final int COKE = 0;
public static final int DIET_COKE = 1;
public static final int TEA = 2;
private int kind;
@sugamasao
sugamasao / Rakefile
Created November 8, 2013 04:38
rakeタスク名を取得する
# rake hoge
task :hoge do |task|
p task.name # => "hoge"
end