Create a Meteor app and put the client_/server_ files in a client/server directories. Also, create a public dir to save the uploaded files.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<title>bug-preserve-inputs</title> | |
</head> | |
<body> | |
{{> hello}} | |
</body> | |
<template name="hello"> | |
Radio Test: <input type="radio" name="myradio" {{isChecked}} /><br/><br/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# 'ab' program freezes after lots of requests, why? | |
# http://stackoverflow.com/questions/1216267/ab-program-freezes-after-lots-of-requests-why | |
# Enter sudo mode | |
sudo -i | |
# net.inet.ip.portrange.first: 49152 -> 32768 | |
sysctl -w net.inet.ip.portrange.first=32768 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2013-03-11 11:22:00 DEBUG nova.utils [req-0918d30d-00b8-45b0-b2b8-a4743c879ac6 50398e8030bb497a9a4bbd1429576ad2 411625da55b546e2ba68b8dc9e111ab6] Result was 0 execute /usr/lib/python2.7/dist-packages/nova/utils.py:203 | |
2013-03-11 11:22:00 DEBUG nova.utils [req-0918d30d-00b8-45b0-b2b8-a4743c879ac6 50398e8030bb497a9a4bbd1429576ad2 411625da55b546e2ba68b8dc9e111ab6] Running cmd (subprocess): env LC_ALL=C LANG=C qemu-img info /var/lib/nova/instances/_base/876d0b1240b2bfa3bb04fa14f184db987604d322.converted execute /usr/lib/python2.7/dist-packages/nova/utils.py:187 | |
2013-03-11 11:22:00 DEBUG nova.utils [req-0918d30d-00b8-45b0-b2b8-a4743c879ac6 50398e8030bb497a9a4bbd1429576ad2 411625da55b546e2ba68b8dc9e111ab6] Result was 0 execute /usr/lib/python2.7/dist-packages/nova/utils.py:203 | |
2013-03-11 11:22:00 DEBUG nova.utils [req-0918d30d-00b8-45b0-b2b8-a4743c879ac6 50398e8030bb497a9a4bbd1429576ad2 411625da55b546e2ba68b8dc9e111ab6] Got semaphore "/var/lib/nova/instances/_base/876d0b1240b2bfa3bb04fa14f184db987604d322" for metho |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Flatten das boostrap */ | |
.well, .navbar-inner, .popover, .btn, .tooltip, input, select, textarea, pre, .progress, .modal, .add-on, .alert, .table-bordered, .nav>.active>a, .dropdown-menu, .tooltip-inner, .badge, .label, .img-polaroid { | |
-moz-box-shadow: none !important; | |
-webkit-box-shadow: none !important; | |
box-shadow: none !important; | |
-webkit-border-radius: 0px !important; | |
-moz-border-radius: 0px !important; | |
border-radius: 0px !important; | |
border-collapse: collapse !important; | |
background-image: none !important; |
var Util = require('util');
var EventEmitter = require('events').EventEmitter;
function myfunc(cb) {
EventEmitter.call(this);
this.emit('end');
cb();
}
Util.inherits(myfunc, EventEmitter);
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Meteor packages used by this project, one per line. | |
# | |
# 'meteor add' and 'meteor remove' will edit this file for you, | |
# but you can also edit it by hand. | |
autopublish | |
insecure | |
preserve-inputs | |
jquery | |
bootstrap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
this.MysqlBinlogTailer = MysqlBinlogTailer; | |
var EventEmitter = require('events').EventEmitter; | |
var fs = require('fs'); | |
var path = require('path'); | |
/** | |
* Tails a Mysql binlog and emits an event for every query executed. | |
*/ |
The following document is a written account of the Code School screencasting framework. It should be used as a reference of the accompanying screencast on the topic.
You're probably aren't going to take the time to read this document if you're not interested, but there are a lot of nice side effects caused by learning how to create quality screencasts.
- Communicating more effectively - At Envy Labs we produce screencasts for our clients all the time. Whether it's demoing a new feature or for a presentation for an invester, they're often much more effective and pleasent than a phone call or screen sharing.
The following document is a written account of the Code School screencasting framework. It should be used as a reference of the accompanying screencast on the topic.
You're probably aren't going to take the time to read this document if you're not interested, but there are a lot of nice side effects caused by learning how to create quality screencasts.
- Communicating more effectively - At Envy Labs we produce screencasts for our clients all the time. Whether it's demoing a new feature or for a presentation for an invester, they're often much more effective and pleasent than a phone call or screen sharing.
OlderNewer