Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View TondaHack's full-sized avatar

Antonin Hackenberg TondaHack

View GitHub Profile
@TondaHack
TondaHack / detox_workshop.md
Last active January 30, 2019 15:12
Detox worksho
  • Detox Introduction = Gray Box End-to-End Testing and Automation Framework for Mobile Apps
  • Basics (small test, lifecycle, matchers, )
  • Demo
  • Wallet implementation
    • Documenation
    • Debug vs. Release command
    • Mock server
  • Test Example
  • CircleCi - Debug

Keybase proof

I hereby claim:

  • I am tondahack on github.
  • I am antoninhack (https://keybase.io/antoninhack) on keybase.
  • I have a public key ASAhp37xhHtogFx_68-GSR1kVQdfcCsVx8QOKF0QIADA-Qo

To claim this, I am signing this object:

"joinRoom"
{
status: ...
response:
{
state:
{
author_id (int)
author_name (string) ##Let's move author_id here
id (int)
defmodule Test do 
def request() do
IO.inspect "test code"
end
end
import React from 'react';
export default ({userList}) =>(
<ul className="user-list">
{userList.map(({login, id})=>{
return (<li key={id}>{login}</li>);
})}
</ul>
);
import React, { Component } from 'react';
import 'whatwg-fetch'
import './App.css';
import UserList from './UserList';
class App extends Component {
constructor(props){
super(props)
this.state = {
iex(1)> SpecialRunner.run_it
message profile
FUNCTION CALLS % TIME [uS / CALLS]
-------- ----- ------- ---- [----------]
io:o_request/3 1 0.00 0 [ 0.00]
'Elixir.File.Stream':'__build__'/3 1 0.00 0 [ 0.00]
prim_file:drv_close/1 2 0.00 0 [ 0.00]
'Elixir.Stream':'-take/2-fun-1-'/1 1 0.00 0 [ 0.00]
'Elixir.Stream':'-each/2-fun-1-'/2 1 0.00 0 [ 0.00]
const tabsData = [
{
id: 1,
title: 'JSX',
content: 'It is called JSX, and it is a syntax extension to JavaScript. We recommend using it with React to describe what the UI should look like. JSX may remind you of a template language, but it comes with the full power of JavaScript.'
},
{
id: 2,
title: 'Stateless Component',
content: 'Stateless functional components are useful for dumb/presentational components. Presentational components focus on the UI rather than behavior, so it’s important to avoid using state in presentational components. Instead, state should be managed by higher-level “container” components, or via Flux/Redux/etc. Stateless functional components don’t support state or lifecycle methods. This is a good thing. Why? Because it protects from laziness.'
api_1 | db.schema
api_1 | Flyway 4.0.3 by Boxfuse
api_1 |
api_1 |
api_1 | /src/db/index.js:43
api_1 | if (e) throw e;
api_1 | ^
api_1 |
api_1 | Error: Command failed: flyway -user=root -password= -url=jdbc:mysql://localhost -schemas=todo_list -locations=filesystem:/src/db/sql,filesystem:/src/db/dev migrate
api_1 | ERROR: Unable to obtain Jdbc connection from DataSource (jdbc:mysql://localhost) for user 'root': Could not connect to address=(host=localhost)(port=3306)(type=master) : Connection refused
{
"manufacturers": [{
"name": "CUSTOMER SUPPLIED",
"manufacturer_id": 2149,
"enriched_part_count": "0",
"matched_part_count": "0",
"not_found_part_count": "1",
"total_part_count": "1",
"project_count": "8",
"account_count": "1",