Node.js is just JavaScript running on the server side. That's it. That's all there is to it.
- Express Docs, if you want to get started and already know JavaScript this is the place to be
Node.js is just JavaScript running on the server side. That's it. That's all there is to it.
/* Vertically centered text with SVG */ | |
div { | |
width: 300px; | |
height: 150px; | |
background: #f06; | |
font: bold 150% sans-serif; | |
text-shadow: 0 1px 2px rgba(0,0,0,.5); | |
overflow: hidden; resize: both; /* just for this demo */ | |
color: white; |
This guide will walk you through how you can use a GitHub repository to house your wiki content, have DocPad render it, and automatically update on changes. It's also really nice as we get to benefit from the github project workflow for our wiki, that is issues, pull requests, etc.
We use this workflow heavily by linking the DocPad Website and the DocPad Documentation repositories allowing us to have users edit and submit pull requests for improvements to our documentation, and once merged, the website regenerates automatically.
var gulp = require('gulp'), | |
jade = require('gulp-jade'), | |
stylus = require('gulp-stylus'), | |
autoprefixer = require('gulp-autoprefixer'), | |
csso = require('gulp-csso'), | |
imagemin = require('gulp-imagemin'), | |
uglify = require('gulp-uglify'), | |
concat = require('gulp-concat'), | |
browserSync = require('browser-sync'), | |
clean = require('gulp-clean'), |
#!/bin/bash | |
target_branch="production" | |
working_tree="PATH_TO_DEPLOY" | |
while read oldrev newrev refname | |
do | |
branch=$(git rev-parse --symbolic --abbrev-ref $refname) | |
if [ -n "$branch" ] && [ "$target_branch" == "$branch" ]; then | |
<snippet> | |
<content><![CDATA[ | |
<!-- begin $1 --> | |
<div class="$1"> | |
$2 | |
</div> | |
<!-- end $1 --> | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>di</tabTrigger> |
Автоматизация фронтенда — сегодня и завтра http://rhr.me/pres/automation/
Автоматизация или смерть! http://devex-web-frontend.github.io/auto-or-die/
DOM-шаблонизаторы — не только быстро http://www.slideshare.net/basisjs/moscow-js-domtemplates
Редкие звери