Skip to content

Instantly share code, notes, and snippets.

View eudoxia0's full-sized avatar
😼
codin'

Fernando Borretti eudoxia0

😼
codin'
View GitHub Profile
@eudoxia0
eudoxia0 / app.js
Created July 29, 2016 18:08
React mailbox example
var App = React.createClass({
getInitialState: function(){
return { mailbox_id: null };
},
handleSelectMailbox: function(id) {
this.setState({ mailbox_id: id });
},
render: function() {
@eudoxia0
eudoxia0 / bin.css
Last active July 29, 2016 17:49
React drag and drop
.bin {
width: 300px;
margin: 35px auto;
padding: 45px;
color: white;
font-size: 2em;
text-align: center;
border-radius: 5px;
@eudoxia0
eudoxia0 / app.js
Created July 28, 2016 19:38
React modal component
var App = React.createClass({
getInitialState: function() {
return { isModalOpen: false };
},
openModal: function() {
this.setState({ isModalOpen: true });
},
closeModal: function() {
@eudoxia0
eudoxia0 / add_task.js
Last active July 28, 2016 19:09
React Kanban app
var AddTask = React.createClass({
getInitialState: function() {
return { text: "" };
},
handleChange: function(event) {
this.setState({text: event.target.value});
},
render: function() {
@eudoxia0
eudoxia0 / test.rst
Last active August 29, 2015 14:06
test readme

Title


@eudoxia0
eudoxia0 / test.c
Created April 27, 2014 15:57
Buggy 'Hello, world'
#include <stdio.h>
int main () {
char* strings[] = {
"hello"
"world"
};
int a = 10;
printf("%s, %s!\n", strings[0], strings[1]);
return a;
@eudoxia0
eudoxia0 / keybase.md
Created April 10, 2014 23:42
Keybase verification

Keybase proof

I hereby claim:

  • I am eudoxia0 on github.
  • I am eudoxia (https://keybase.io/eudoxia) on keybase.
  • I have a public key whose fingerprint is 0BEB 966C D48D 3C10 C2C2 559C E403 F687 DA4A 6CAB

To claim this, I am signing this object: