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
var http = require('http'), | |
https = require('https'), | |
jsdom = require('jsdom'), | |
url = require('url'), | |
req; | |
req = http.request({ | |
method: 'POST', | |
host: 'stackoverflow.com', | |
path: '/users/signin', |
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
$ pandoc -D beamer > beamer.tex # See the template that pandoc uses to generate the latex | |
$ pandoc -t beamer file.md -i --toc -V theme:Szeged -V colortheme:crane -o file.pdf | |
# -i is to show incrementally the items of a list | |
# --toc generates the table of contents | |
# -V replaces a variable used in the beamer.tex template | |
# Reference: http://johnmacfarlane.net/pandoc/demo/example9/producing-slide-shows-with-pandoc.html |
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
Here is the kind of tool I want. | |
The design team is interested in helping us be faster at integrating their work. | |
Here is what the integration teams need: | |
- Font families: on which text? | |
- Font sizes: on which text? | |
- Cut icons and pictograms (PNG or SVG) | |
- Sizes of layout (columns, rows, borders) |
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
Why should I choose this or this class? Isn't there any skill that's available only to them later on? | |
What does clicking on "validate" (email) do? Nothing happens, and I don't get any mail. | |
Sending password in clear by mail? | |
Otherwise the tutorial is nice. I don't like the gameplay, but it's just me :-) |
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
/* | |
$ cpp -P -nostdinc test.js bundle.js | |
# OR | |
$ cpp -P -nostdinc test.js | |
# To give parameters, use -D, like this: | |
$ cpp -P -nostdinc -D DEV test.js |
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
router.get('/set-authentication', function(req, res) { | |
var groups = global.mysql.authentication.groups; | |
db.Group.find(groups, createIfNotExists); | |
function createIfNotExists(err, results) { | |
if (err) return res.send(500); | |
var missing = findMissing(groups, results); | |
db.Group.insert(missing, createAdminUser); |
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
Write a blog post about "return ASAP". | |
e.g. | |
``` | |
$user = getUser(); | |
if ($user) { | |
$group = getGroup($user); | |
if ($group) { | |
// do something |
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
$ sudo apt-get install libfixposix-dev |
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
jsfiddle: http://jsfiddle.net/FRsGS/2/ | |
A sample of how this could work: | |
HTML: | |
<output id="output"></output> | |
<input type="text" id="input"> | |
JS: |
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
./configure --prefix=/opt/php-zts --bindir=/opt/php-zts/bin --with-config-file-scan-dir=/opt/php-zts/modules.d --with-zlib --disable-phar --enable-debug --enable-maintainer-zts |