.
sudo apt-get install openjdk-7-jre-headless
wget https://selenium.googlecode.com/files/selenium-server-standalone-2.38.0.jar
sudo apt-get install ruby1.9.1
sudo gem install foreman
| export { Content, initContentModel } from './model' | |
| import { Configuration, OpenAIApi } from 'openai' | |
| const configuration = new Configuration({ | |
| apiKey: process.env.OPENAI_API_KEY, | |
| }) | |
| const openai = new OpenAIApi(configuration) |
| config :apply, | |
| lorem_ipsum_result_feature_flag: false, | |
| fake_lorem_ipsum_feature_flag: true, | |
| fake_customer_event_feature_flag: true, | |
| fake_lorem_ipsum_result_feature_flag: true |
| ENTRYPOINT ["/bin/sh"] | |
| CMD ["-c", "sleep 1h"] |
| defmodule Apply.ApplicationsProcessing.FoobarEligibility do | |
| import Apply.ApplicationsProcessing.LoremIpsum | |
| def is_foobar_eligible(%{some_attribute: true}), do: false | |
| def is_foobar_eligible(%{some_other_attribute: true}), do: false | |
| def is_foobar_eligible(%{something_else: false}), do: false | |
| def is_foobar_eligible(%{exists_in_lorem_ipsum_foobar: true}), do: false |
| defmodule Apply.ApplicationsProcessing.FoobarEligibility do | |
| import Apply.ApplicationsProcessing.LoremIpsum | |
| def is_foobar_eligible( | |
| %{ | |
| event_data: %{ | |
| "event_data_we_are_interested" => %{ | |
| "foo" => | |
| %{ |
| import json, csv, requests, logging | |
| logging.basicConfig(level=logging.DEBUG) | |
| token = 'API TOKEN HERE' | |
| base_url = 'https://app.codacy.com' | |
| org_name = 'YOUR ORG HERE' | |
| provider = 'GIT PROVIDER HERE' # Github -> gh, Github Enterprise -> ghe, Bitbucket -> bb, BitBucket Server -> bbe, Gitlab -> gl, Gitlab Enterprise -> gle | |
| headers = {'Content-Type': 'application/json', 'Accept': 'application/json', 'api-token': token} |
| echo @" | |
| ---------------------------------------- | |
| ---------------------------------------- | |
| ---------------------------------------- | |
| hello servlet app | |
| ---------------------------------------- | |
| ---------------------------------------- | |
| a hello servlet app will be created into ./app | |
| setting up working dir... |
| \?; | |
| \d+; | |
| \d+ TABLE_NAME; | |
| drop schema SCHEMA_NAME cascade; | |
| create schema SCHEMA_NAME authorization OWNER_NAME; |
| //https://github.com/wjlroe/bowser/commit/26b760b0b1fc651a59cb0369e9a3520b2e241f1a | |
| /phantom/i.test(navigator.userAgent) |