I hereby claim:
- I am lguardiola on github.
- I am lguardiola (https://keybase.io/lguardiola) on keybase.
- I have a public key ASBtq-FJcULQfSO8r-bxQ4hyod4g7He32zgfZjWIxVHyFwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
lguardiola@MacBook-Pro:~/Code/intern-examples/react-example|master | |
⇒ npm test | |
> [email protected] test /Users/lguardiola/Code/intern-examples/react-example | |
> intern-runner config=tests/intern | |
PASS: main - todoModel - default data (2ms) | |
PASS: main - todoModel - complete (empty model) (2ms) | |
0/2 tests failed | |
PASS: main - footer - construction (1ms) |
module['exports'] = function simpleHttpRequest (hook) { | |
// npm modules available, see: http://hook.io/modules | |
var request = require('request'); | |
request.get('http://httpbin.org/ip', function(err, res, body){ | |
if (err) { | |
return hook.res.end(err.messsage); | |
} | |
hook.res.end(body); | |
}) | |
}; |
FROM alpine:3.2 | |
MAINTAINER Leandro López <[email protected]> | |
# Install base packages | |
RUN apk update && apk upgrade | |
# Install ruby and ruby-bundler | |
RUN apk add curl-dev ruby-dev build-base ruby | |
# Clean APK cache |
"some line shorter than 80 characters" | |
"some line longer than 80 characters some line longer than 80 characters some line longer than 80 characters" |
10.times do |i| | |
puts i | |
end | |
puts DATA.read | |
__END__ | |
This is | |
a data content! |
# override date class | |
class Date | |
def self.years_from(date) | |
r = today.year - date.year | |
r-=1 if today.month < date.month | |
r-=1 if today.month == date.month && today.day < date.day | |
r | |
end | |
end |
diff --git a/distro/google-perftools-1.7/src/tcmalloc.cc b/distro/google-perftools-1.7/src/tcmalloc.cc | |
index 8d94d20..0769425 100644 | |
--- a/distro/google-perftools-1.7/src/tcmalloc.cc | |
+++ b/distro/google-perftools-1.7/src/tcmalloc.cc | |
@@ -137,6 +137,13 @@ | |
# define WIN32_DO_PATCHING 1 | |
#endif | |
+// GLibc 2.14+ requires the hook functions be declared volatile, based on the value of the | |
+// define __MALLOC_HOOK_VOLATILE. For compatibility with older/non-GLibc implementations, |
# encoding: utf-8 | |
Encoding.default_internal = "UTF-8" | |
Encoding.default_external = "UTF-8" | |
=begin | |
REFERENCES | |
ticket: https://www.pivotaltracker.com/story/show/20034615 |