Skip to content

Instantly share code, notes, and snippets.

View dgoldie's full-sized avatar

Doug Goldie dgoldie

  • Mountain View, CA
View GitHub Profile
@dgoldie
dgoldie / tuco_firefox.txt
Created October 31, 2014 19:02
tuco adventures
Erlang/OTP 17 [erts-6.0] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
Interactive Elixir (1.0.1-dev) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> use TucoTuco.DSL
:ok
iex(2)> TucoTuco.start_session :browser_test, :test_login, :firefox
** (exit) exited in: :gen_server.call(:tuco_tuco, {:start_session, %WebDriver.Config{browser: :firefox, name: :browser_test, root_url: ""}, :test_login})
** (EXIT) exited in: :gen_server.call(:browser_test, {:start_session, :test_login})
** (EXIT) no process
@dgoldie
dgoldie / gist:853c69d79f53baae5fcb
Created February 20, 2016 08:13
integration.sh errors
➜ orthrus git:(master) ./integration.sh
==> ex_aws
Compiled lib/ex_aws/config/defaults.ex
Compiled lib/ex_aws.ex
Compiled lib/ex_aws/client.ex
Compiled lib/ex_aws/actions.ex
Compiled lib/ex_aws/auth/utils.ex
Compiled lib/ex_aws/config.ex
Compiled lib/ex_aws/config/auth_cache.ex
Compiled lib/ex_aws/dynamo/encoder.ex
➜ ~ ab -n 1000 -c 100 http://127.0.0.1:4001/api/test/
This is ApacheBench, Version 2.3 <$Revision: 1706008 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 127.0.0.1 (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
@dgoldie
dgoldie / ignite.log
Last active April 30, 2017 21:06
trying to run ignite 2 quick example
➜ PizzaApp git:(master) ✗ react-native run-ios
Scanning 847 folders for symlinks in /Users/doug/code/work/angelhacks/spike_react/ignite_example/PizzaApp/node_modules (5ms)
Found Xcode project PizzaApp.xcodeproj
Launching iPhone 6 (iOS 10.3)...
Building using "xcodebuild -project PizzaApp.xcodeproj -configuration Debug -scheme PizzaApp -destination id=155D1A67-8CC5-409B-BBF1-8001726AF85F -derivedDataPath build"
User defaults from command line:
IDEDerivedDataPathOverride = /Users/doug/code/work/angelhacks/spike_react/ignite_example/PizzaApp/ios/build
12:05:54 back_end.1 | Started GET "/s/vmhqq19?dnt=true" for ::1 at 2019-01-22 12:05:54 -0800
12:05:54 back_end.1 | Processing by Shortener::ShortenedUrlsController#show as HTML
12:05:54 back_end.1 | Parameters: {"dnt"=>"true", "id"=>"vmhqq19"}
12:05:54 back_end.1 | Shortener::ShortenedUrl Load (0.7ms) SELECT "shortened_urls".* FROM "shortened_urls" WHERE ("shortened_urls"."expires_at" IS NULL OR "shortened_urls"."expires_at" > '2019-01-22 20:05:54') AND "shortened_urls"."unique_key" = $1 ORDER BY "shortened_urls"."id" ASC LIMIT $2 [["unique_key", "vmhqq19"], ["LIMIT", 1]]
12:05:54 back_end.1 | Shortener::ShortenedUrl Load (0.5ms) SELECT "shortened_urls".* FROM "shortened_urls" WHERE "shortened_urls"."unique_key" = $1 LIMIT $2 [["unique_key", "vmhqq19"], ["LIMIT", 1]]
12:05:54 back_end.1 | Destination Load (0.6ms) SELECT "destinations".* FROM "destinations" WHERE "destinations"."active" = $1 AND "destinations"."id" = $2 LIMIT $3 [["active", true], ["id", "33b7e59a-0901-463c-9495-e3a0f48d
{
"services": [
{
"serviceArn": "arn:aws:ecs:us-east-1:032936670503:service/worker",
"serviceName": "worker",
"clusterArn": "arn:aws:ecs:us-east-1:032936670503:cluster/production",
"loadBalancers": [],
"serviceRegistries": [],
"status": "ACTIVE",
"desiredCount": 1,
Successfully tagged dockerzon_sidekiq:latest
➜ dockerzon docker-compose up
Starting dockerzon_postgres_1 ... done
Recreating dockerzon_dockerzon_1 ... done
Starting dockerzon_redis_1 ... done
Recreating dockerzon_sidekiq_1 ... done
Attaching to dockerzon_redis_1, dockerzon_postgres_1, dockerzon_sidekiq_1, dockerzon_dockerzon_1
postgres_1 |
postgres_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgres_1 |