I hereby claim:
- I am gearnode on github.
- I am gearnode (https://keybase.io/gearnode) on keybase.
- I have a public key ASDFWGjK89DrIBF7H8_vxGc8qAKNk6hrGrE4uo070V7Uxwo
To claim this, I am signing this object:
| global | |
| daemon | |
| maxconn 3000 | |
| defaults | |
| timeout connect 10s | |
| timeout client 30s | |
| timeout server 30s | |
| mode http |
| package main | |
| import ( | |
| "fmt" | |
| ) | |
| func haveSumWithPair(list []int, sum int) bool { | |
| i := 0 | |
| y := len(list) - 1 |
| import React, { Component } from 'react' | |
| import PropTypes from 'prop-types'; | |
| import FormObject from './FormObject' | |
| export default class Form extends Component { | |
| static propTypes = { | |
| method: PropTypes.string.isRequired, | |
| action: PropTypes.string.isRequired, | |
| encType: PropTypes.string.isRequired, |
I hereby claim:
To claim this, I am signing this object:
| version: 2 | |
| jobs: | |
| build: | |
| working_directory: /home/safeguard | |
| docker: | |
| - image: elixir:1.4.1 | |
| environment: | |
| - MIX_ENV: test | |
| - image: postgres:9.6 | |
| steps: |
| #!/usr/bin/env ruby | |
| progress = 'Progress [' | |
| 1000.times do |i| | |
| # i is number from 0-999 | |
| j = i + 1 | |
| # add 1 percent every 10 times | |
| if j % 10 == 0 |
| # script | |
| ruby -r json -e 'STDIN.each { |res| puts JSON.pretty_generate(JSON.parse(res)) }' | |
| #usecase | |
| curl -X GET "http://api.gearnode.com" | ruby -r json -e 'STDIN.each { |res| puts JSON.pretty_generate(JSON.parse(res)) }' |
| # A sample Gemfile | |
| source "http://rubygems.org" | |
| gem "redis" | |
| gem 'eventmachine', :git => 'git://github.com/eventmachine/eventmachine.git' | |
| gem "em-hiredis" | |
| # gem "em-synchrony" | |
| gem "em-websocket" |
| # Require all | |
| def require_all path | |
| global = File.join(File.dirname(__FILE__), path, '*.rb') | |
| Dir[global].each do |file| | |
| require file | |
| end | |
| end |