View the [source of this content](http://github.github.com/github-flavored-markdown/sample_content.html).
Equivalent in AsciiDoc
View the [source of this content](http://github.github.com/github-flavored-markdown/sample_content.html).
#!/bin/bash | |
## Environments | |
# Exit the build pass if any command returns a non-zero value | |
#set -o errexit | |
# Echo commands | |
set -x |
import 'package:flutter/gestures.dart'; | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Swipe Demo', |
The script in this gist will help you buid the Google Protobuf library for use with Mac OS X and iOS. Other methods (such as homebrew or direct compilation) have issues that prevent their use. The libraries built by this script are universal and support all iOS device architectures including the simulator.
This gist was adapted from the original at https://gist.github.com/BennettSmith/7150245, and updated to deal with Xcode 7 and iOS 9, and download protobuf version 3.0.0.
import 'dart:async'; | |
import 'package:flutter/cupertino.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:html/parser.dart'; | |
import 'package:webview_flutter/webview_flutter.dart'; | |
import 'package:provider/provider.dart'; | |
import 'package:html/dom_parsing.dart'; |
import os | |
import sys | |
import time | |
import atomac | |
import subprocess | |
if len(sys.argv) < 2: | |
print "Usage: bouncer.py <path_to_logic_project> (<path_to_logic_project>)" | |
os.exit(1) |
* |