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
import 'package:flutter/material.dart'; | |
import 'package:flutter/cupertino.dart'; | |
import 'package:flutter/foundation.dart'; | |
import 'SplashScreen.dart'; | |
import 'HomePage.dart'; | |
import 'UploadPhoto.dart'; | |
final ThemeData kIOSTheme = new ThemeData( | |
primarySwatch: Colors.blueGrey, | |
accentColor: Colors.blueGrey, |
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
node smoke_test.js |
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
describe("Innovid Website", () => { | |
it("should present 'Innovid Video Marketing Platform' title when the page is loaded", async () => { | |
const page = await hygieia.open('http://www.innovid.com/', { | |
headless: true, | |
slowMo: 300, | |
timeout: 10000 | |
}); | |
await page.waitForNavigation(); |
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
const hygieia = require('@innovid/hygieia'); | |
hygieia.setup({ | |
viewport: { width: 1280, height: 800 } | |
}) | |
.specDir('./specs') | |
.reporters([{name: 'spec'}, {name: 'teamcity'}]) | |
.run(); |
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
brew tap foo/bar git@bitbucket.org:innovid/repo-name-with-the-script-to-install.git | |
#will clone that repository and add the formulas in it to the brew search path. | |
brew install hello-world | |
#will install our script. | |
brew uninstall hello-world | |
#will unlink the script from our path and delete it. | |
brew home hello-world | |
#will open the documentation web page of our script (as defined in the homepage property of our formula). | |
brew info hello-world | |
#will print a description of the script (including when and where it was installed, the formula that was used, and the size of the script). |
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
# `test do` will create, run in, and delete a temporary directory. | |
test do | |
create_wrapper | |
# asserting our formula logic works. | |
assert_equal %w(ddv-cli Library), Dir.glob(“*”) | |
end |
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
# Helper method for the common case of installing a Python application. | |
# Creates a virtualenv in `libexec`, installs all `resource`s defined | |
# on the formula, and then installs the formula. | |
def virtualenv_install_with_resources(options = {}) | |
python = options[:using] | |
if python.nil? | |
wanted = %w[python python@2 python@3 python3].select { |py| needs_python?(py) } | |
raise FormulaAmbiguousPythonError, self if wanted.size > 1 | |
python = wanted.first || "python2.7" | |
end |
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
#/usr/local/Homebrew/Library/Homebrew/language/python.rb <-- this trait is located here | |
# Mixin module for {Formula} adding virtualenv support features. | |
module Virtualenv | |
def self.included(base) | |
base.class_eval do | |
resource "homebrew-virtualenv" do | |
url PYTHON_VIRTUALENV_URL | |
sha256 PYTHON_VIRTUALENV_SHA256 | |
end | |
end |
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
class SomeCli < Formula | |
include Language::Python::Virtualenv | |
desc "A script that travels back in time and ..." | |
homepage "https://bitbucket.org/innovid/repo-name-with-the-script-to-install/src/HEAD/directory/" | |
version "0.19" | |
url "git@bitbucket.org:innovid/repo-name-with-the-script-to-install.git", :using => :git | |
resource "boto3" do | |
url "https://pypi.python.org/packages/32/08/42eae36fc58bb0b2da92c6fe2a274efec6c8bfe4f964bcdd1dddb9b6477a/boto3-1.5.36.tar.gz" |
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
brew tap innovid/hello git@bitbucket.org:innovid/repo-name-with-the-script-to-install.git | |
==> Tapping innovid/hello | |
Cloning into ‘/usr/local/Homebrew/Library/Taps/innovid/homebrew-hello’… | |
remote: Counting objects: …, done. | |
… | |
Tapped 1 formulae (1 files, 3KB) | |
#To undo this execute: brew untap innovid/hello |
NewerOlder