I hereby claim:
- I am mathieulesniak on github.
- I am mathieulesniak (https://keybase.io/mathieulesniak) on keybase.
- I have a public key whose fingerprint is 9307 DEB0 D6B6 716F 49E2 AF98 EA74 94CE 6348 41CE
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import React from 'react'; | |
class Timer extends React.Component { | |
constructor(props) { | |
super(props); | |
this.state = {secondsElapsed: 0}; | |
} | |
tick: function() { | |
this.setState({secondsElapsed: this.state.secondsElapsed + 1}); | |
} |
import React from 'react'; | |
import HelloWorld from './HelloWorld'; | |
class ComposedView extends React.Component { | |
render() { | |
return <div> | |
<HelloWorld name="Dan" /> | |
</div>; | |
} |
import React from 'react'; | |
class HelloWorld extends React.Component { | |
render() { | |
return <h1>Hello {this.props.name} !</h1>; | |
} | |
} | |
export default HelloWorld; |
import React from 'react'; | |
import HelloWorld from './HelloWorld'; | |
import ReactIsGreat from './ReactIsGreat'; | |
class ComposedView extends React.Component { | |
render() { | |
return <div> | |
<HelloWorld /> | |
<ReactIsGreat /> | |
</div>; |
import React from 'react'; | |
class ReactIsGreat extends React.Component { | |
render() { | |
return <h2>React is great !</h2>; | |
} | |
} | |
export default ReactIsGreat; |
import React from 'react'; | |
class HelloWorld extends React.Component { | |
render() { | |
return <h1>Hello World !</h1>; | |
} | |
} | |
export default HelloWorld; |
<?php | |
function postToSlack($message, $room, $fromName = null, $icon = null) | |
{ | |
$data = json_encode(array( | |
"username" => $fromName, | |
"channel" => "#{$room}", | |
"text" => $message, | |
"icon_emoji" => $icon | |
) | |
); |
### Keybase proof | |
I hereby claim: | |
* I am mathieulesniak on github. | |
* I am mathieulesniak (https://keybase.io/mathieulesniak) on keybase. | |
* I have a public key whose fingerprint is 905B 6756 00F4 74C7 C2F8 D58C 71D3 56FF 324C 7A38 | |
To claim this, I am signing this object: |
#include <SoftwareSerial.h> | |
// Pins | |
#define BT_PIN_TX 7 | |
#define BT_PIN_RX 6 | |
#define BT_PIN_KEY 5 | |
SoftwareSerial BTSerial(BT_PIN_RX, BT_PIN_TX); | |
void setup() |