Skip to content

Instantly share code, notes, and snippets.

View xster's full-sized avatar
🌴
On vacation

xster

🌴
On vacation
View GitHub Profile
@xster
xster / error.dart
Created January 3, 2018 16:52
Flutter with empty exception stack
import 'package:flutter/material.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return new MaterialApp(
title: 'Flutter Demo',
@xster
xster / First run
Last active June 30, 2017 01:38
pod install with lots of dependencies
0.2837s Preparing
0.0005s
0.0002s Analyzing dependencies
0.0000s
0.0000s Inspecting targets to integrate
0.0000s Using `ARCHS` setting to build architectures of target `Pods-Runner`: (`arm64`)
0.0000s
0.0000s Fetching external sources
0.0151s -> Fetching podspec for `Flutter` from `/Users/xiao/Development/flutter/bin/cache/artifacts/engine/ios`
0.0013s -> Fetching podspec for `android_intent` from `/Users/xiao/.pub-cache/hosted/pub.dartlang.org/android_intent-0.0.1/ios`
@xster
xster / test.dart
Created April 20, 2017 23:29
TextField performance
import 'package:flutter/material.dart';
void main() {
runApp(new MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new MaterialApp(
@xster
xster / gist:844828
Created February 26, 2011 01:31
homebrew git fails
==> Build Environment
CC: /usr/bin/cc => /usr/bin/gcc-4.2
CXX: /usr/bin/c++ => /usr/bin/c++-4.2
LD: /usr/bin/cc => /usr/bin/gcc-4.2
CFLAGS: -O3 -w -pipe
CXXFLAGS: -O3 -w -pipe
MAKEFLAGS: -j8
==> Downloading http://kernel.org/pub/software/scm/git/git-1.7.4.1.tar.bz2
File already downloaded and cached to /Users/xiao/Library/Caches/Homebrew
/usr/bin/tar xf /Users/xiao/Library/Caches/Homebrew/git-1.7.4.1.tar.bz2