I hereby claim:
- I am ericvaladas on github.
- I am ericvaladas (https://keybase.io/ericvaladas) on keybase.
- I have a public key ASDUWJSATChw98rF1xvpEyVE4_TbWb3QHLO5_sqH-vo91wo
To claim this, I am signing this object:
const Input = (props, state, validate) => { | |
return ( | |
<div> | |
<input {...props} onChange={e => props.onChange(e).then(validate)}/> | |
<span>{state.message}</span> | |
</div> | |
); | |
} | |
class App extends Component { |
render() { | |
return ( | |
<Form onSubmit={form => this.handleSubmit(form)}> | |
<Field validators={[minLength(3)]}> | |
{state => | |
<div> | |
<input name="username"/> | |
<span>{state.message}</span> | |
</div> | |
} |
I hereby claim:
To claim this, I am signing this object:
<?php | |
require_once('classes/class_dbo.php'); | |
$dbo = new DatabaseObject; | |
$doc = new DOMDocument(); | |
$doc->load( 'php://input' ); | |
$players = $doc->getElementsByTagName( "player" ); | |
foreach( $players as $player ) | |
{ |
<?php | |
header("Content-type: text/xml"); | |
require_once('classes/class_dbo.php'); | |
include('items.php'); | |
$dbo = new DatabaseObject; | |
$name = $dbo->sanitize($_GET['n']); | |
function xmlitem($tag, $item, $tooltip) | |
{ | |
$margin = 5; |
<?php | |
function queryItem($item){ | |
$dbo = new DatabaseObject ; | |
$resultSet4 = $dbo->query("SELECT id, name, level, ab, damages, damagel, hp, mp, ac, hit, dam, str, inte, wis, con, dex, regen, mr, ability FROM tblItems WHERE id = '".$item."';"); | |
$itemstats = $resultSet4->fetch_object(); | |
$itemid = $itemstats->id; | |
$itemname = $itemstats->name; | |
$itemname = str_replace("'", "`", "$itemname"); |
#!/usr/bin/env python | |
import os | |
import re | |
import subprocess | |
import sys | |
modified = re.compile('^(?:M|A)(\s+)(?P<name>.*)') | |
CHECKS = [ |
def wut(self): | |
print True |
hello world |
export WORKON_HOME=$HOME/.virtualenvs | |
source /usr/local/bin/virtualenvwrapper_bashrc |