I hereby claim:
- I am joewalnes on github.
- I am joewalnes (https://keybase.io/joewalnes) on keybase.
- I have a public key whose fingerprint is 5EE8 93C3 28CD 4BE5 FD9D B392 E50E 80DF 9AD0 F330
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// Let's look at a snippet from a React example here: http://facebook.github.io/react/ | |
// ----------------------------- | |
// This is how you build the React virtual DOM with plain JavaScript. | |
return ( | |
React.DOM.div(null, | |
React.DOM.h3(null, "TODO"), | |
TodoList({items:this.state.items}), | |
React.DOM.form({onSubmit:this.handleSubmit}, |
MODULES := ./node_modules | |
BIN := $(MODULES)/.bin | |
.PHONY: install_modules all clean | |
all: install_modules filtrex.js filtrex.min.js | |
clean: | |
rm -f filtrex.js | |
rm -f filtrex.min.js |
Moved this post to Medium. It's easier on the eye.
1. Basic usage: | |
<sitemesh srcdir="src" | |
config="myconfig.xml" | |
destdir="dest" | |
includes="*.html"/> | |
2. Includes/excludes: | |
<sitemesh srcdir="src" | |
config="myconfig.xml" | |
destdir="dest" |
<sitemesh> | |
<!-- There can be multiple <mapping> elements --> | |
<!-- Apply decorator to all paths by default, unless another matches --> | |
<mapping decorator="/default-decorator.html"/> | |
<!-- More mappings, with paths. --> | |
<mapping path="/path1/*" decorator="/another-decorator.html"/> | |
<mapping path="/path1/*" decorator="/another-decorator.html"/> |
testing |
== In earlier versions of Node, HTTPS with Connect was easy == | |
var server = connect.createServer(middleware1, middleware2,...); | |
server.setSecure(crypto.createCredentials({ | |
key: myHttpsKey, | |
cert: myHttpsCert | |
})); | |
server.listen(port); |
This my hilarious conversation, attempting to get a good cable price with Comcast. | |
Jessica: Hello, I'm a live product specialist. I specialize in setting up new digital services. How may I help you today? | |
You: hello, I'm trying to figure out which package i should go for to get the best internet speeds | |
Jessica: I would be happy to go over the details of our packages with you. | |
Jessica: Let's move this chat and make it a window of its own. That way, you'll still see this web page while we chat. Please click 'Move My Chat' to move it now. | |
Jessica: Thank you for moving the chat. | |
Jessica: Before we continue, may I ask if you're an existing Comcast customer? | |
You: no i'm not.. i'm just about to move into a new house | |
Jessica: The internet speed is the same in our packages, what varies is the TV options. |
#include "Wire.h" | |
#define DS1307_ADDRESS 0x68 | |
struct DateTime { | |
int second; | |
int minute; | |
int hour; | |
int weekDay; | |
int monthDay; |