This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module totify.tests | |
open NUnit.Framework | |
open FsUnit | |
open TinyNLP | |
let shouldBeTrue a = | |
Assert.AreEqual(a, true) | |
[<Test>] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (NSURL *) takeScreenshot:(NSString *)imageName { | |
UIViewController *root = [[[[UIApplication sharedApplication] delegate] window] rootViewController]; | |
UIGraphicsBeginImageContextWithOptions(root.view.bounds.size, NO, [UIScreen mainScreen].scale); | |
[root.view.layer renderInContext:UIGraphicsGetCurrentContext()]; | |
UIImage *image = UIGraphicsGetImageFromCurrentImageContext(); | |
NSData *imgData = UIImagePNGRepresentation(image); | |
UIGraphicsEndImageContext(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* @flow */ | |
var React = require('react-native'); | |
var { | |
AppRegistry, | |
StyleSheet, | |
Text, | |
View, | |
Animated | |
} = React; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: ci | |
sudo: yes | |
tasks: | |
- name: Install Docker on Ubuntu | |
apt: pkg=docker.io state=present | |
- name: Rename docker.io to docker | |
shell: ln -sf /usr/bin/docker.io /usr/local/bin/docker |
NewerOlder