I hereby claim:
- I am dieface on github.
- I am dieface (https://keybase.io/dieface) on keybase.
- I have a public key ASCYgUA9_EsPUN72agJaM8QFCIu7_oonftK0v7T4xYPynAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
description "RESTful Server" | |
author "dieface" | |
# When to start the service | |
# used to be: start on startup | |
# until we found some mounts weren't ready yet while booting | |
start on started mountall and runlevel [2345] | |
# When to stop the service | |
stop on shutdown |
// Playground - noun: a place where people can play | |
import Foundation | |
typealias Byte = UInt8 | |
protocol GenericIntegerType: IntegerType { | |
init(_ v: Int) | |
init(_ v: UInt) | |
init(_ v: Int8) |
#!/bin/bash | |
# Arguments can include a quoted string to define the test string to be repeated | |
# If an argument is numbers only, it changes the rate at which to speak (words per minute, default 200) | |
play_all_voices() { | |
local voice | |
local rate=200 | |
local test_string="How are you?" | |
for arg in $@; do | |
if [[ $arg =~ ^[0-9]+$ ]]; then |
[{ | |
"name": "Brad Connelly", | |
"username": "Soledad.Cummings77", | |
"email": "Victoria.Mraz@gmail.com", | |
"address": { | |
"street": "Casimir Ridge", | |
"suite": "Apt. 803", | |
"city": "East Virginie shire", | |
"zipcode": "31760-5201", | |
"geo": { |
var ReactInstanceMap = require("react/lib/ReactInstanceMap"); | |
var ReactLifeCycle = require("react/lib/ReactLifeCycle"); | |
var ReactNativeComponent = require("react/lib/ReactNativeComponent"); | |
var ReactReconciler = require("react/lib/ReactReconciler"); | |
var emptyObject = require("react/lib/emptyObject"); | |
var invariant = require("react/lib/invariant"); | |
var warning = require("react/lib/warning"); | |
var ReactCompositeComponentMixin = require('react/lib/ReactCompositeComponent').Mixin; |
import { Component } from "React"; | |
export var Enhance = ComposedComponent => class extends Component { | |
constructor() { | |
this.state = { data: null }; | |
} | |
componentDidMount() { | |
this.setState({ data: 'Hello' }); | |
} | |
render() { |