I hereby claim:
- I am jdudek on github.
- I am jdudek (https://keybase.io/jdudek) on keybase.
- I have a public key ASB4TLvGU86EvpINql2178lo8cj6xaSIzrUnO9236atnJQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
*.png diff=diff-image | |
*.jpg diff=diff-image | |
*.jpeg diff=diff-image | |
*.gif diff=diff-image |
The example I showed was just a little bit different. Paste this code instead:
import Html exposing (..)
import Mouse
main : Signal Html
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Clipboard example</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.5.5/clipboard.min.js"></script> | |
</head> | |
<body> | |
Install with: | |
<input type="text" value="elm package install evancz/elm-http 2.0.0" id="install-command" /> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Clipboard example</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.5.5/clipboard.min.js"></script> | |
</head> | |
<body> | |
Install with: | |
<input type="text" value="elm package install evancz/elm-http 2.0.0" id="install-command" /> |
~/tmp/git-example (master) $ git log | |
fc8f07f 2014-06-25 15:25:14 +0200 | A (HEAD, master) [Jan Dudek] | |
530ef46 2014-06-25 15:08:41 +0200 | initial commit [Jan Dudek] | |
~/tmp/git-example (master) $ git log b | |
86c2a22 2014-06-25 15:25:49 +0200 | B (b) [Jan Dudek] | |
530ef46 2014-06-25 15:08:41 +0200 | initial commit [Jan Dudek] | |
~/tmp/git-example (master) $ git log c | |
773f7a1 2014-06-25 15:26:13 +0200 | C (c) [Jan Dudek] |
var map = function (fn) { return function (arr) { return jQuery.map(arr, fn); } }; | |
var each = function (fn) { return function (arr) { jQuery.each(arr, fn); } }; | |
loadReplies: function() { | |
var _this = this, request; | |
request = jQuery.getJSON('/posts/' + this.get('id') + '/replies') | |
.then(map(Discourse.Post.create)) | |
.then(each(function (post) { post.set('topic', _this.get('topic'); })) |
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
robot.ahead(100); |
def m1 | |
/(a)/.match("abc") | |
p $1 | |
m2() | |
p $1 | |
end | |
def m2 | |
/(b)/.match("abc") | |
p $1 |
#include <stdio.h> | |
#include <stdlib.h> | |
#define AVL_AS_LIST | |
typedef int AvlKey; | |
struct AvlNode { | |
AvlKey key; | |
char balance; |