Lade die neueste "mainline"-Version (hier 1.7.9) von http://nginx.org/en/download.html herunter und entpacke sie:
$ wget http://nginx.org/download/nginx-1.7.9.tar.gz
$ tar xf nginx-1.7.9.tar.gz
# Configuration file for deploy-tools.sh | |
SITE="name.here.dingdong.space"; | |
THEME="theme-here"; | |
REPO="git@bitbucket.org:ding-dong/repo-here.git"; | |
BRANCH="branch-here"; |
// Created by Max Luster (@maxluster) | |
// Usage instructions at https://bugsnag.com/blog/responsive-typography-with-chained-media-queries | |
// Requires SASS >= 3.3 | |
// Enhanced by Breakpoint 2.4.x and Compass 1.0 (alpha) | |
// For SASS 3.2.x support, use https://gist.github.com/maxluster/c9ecc6e4a6770e507c2c | |
// Provides a simplified syntax for chaining media queries across named or numeric breakpoints | |
@mixin responsive($properties, $default-value, $responsive-values){ | |
// No named breakpoints by default |
<?php | |
add_filter('wp_title', 'archive_titles'); | |
/** | |
* Modify <title> if on an archive page. | |
* | |
* @author Philip Downer <philip@manifestbozeman.com> | |
* @link http://manifestbozeman.com | |
* @license http://opensource.org/licenses/gpl-license.php GNU Public License | |
* @version v1.0 | |
* |
Lade die neueste "mainline"-Version (hier 1.7.9) von http://nginx.org/en/download.html herunter und entpacke sie:
$ wget http://nginx.org/download/nginx-1.7.9.tar.gz
$ tar xf nginx-1.7.9.tar.gz
This content moved here: https://exploringjs.com/impatient-js/ch_arrays.html#quickref-arrays
<?php | |
/** | |
* Using WP Statuses for custom Post Types. | |
* | |
* @link http://github.com/imath/wp-statuses | |
*/ | |
// Exit if accessed directly. | |
defined( 'ABSPATH' ) || exit; |
/** | |
* World's simplest express server | |
* - used to serve index.html from /public | |
*/ | |
var express = require('express'); | |
var serveStatic = require('serve-static'); | |
var app = express(); | |
app.use(serveStatic(__dirname + '/public')); |
<script type="text/javascript"> | |
(function () { | |
"use strict"; | |
// once cached, the css file is stored on the client forever unless | |
// the URL below is changed. Any change will invalidate the cache | |
var css_href = './index_files/web-fonts.css'; | |
// a simple event handler wrapper | |
function on(el, ev, callback) { | |
if (el.addEventListener) { | |
el.addEventListener(ev, callback, false); |
invoices/123
?
in a URL like /assignments?showGrades=1
.#
portion of the URL. This is not available to servers in request.url
so its client only. By default it means which part of the page the user should be scrolled to, but developers use it for various things./** | |
* Get a random floating point number between `min` and `max`. | |
* | |
* @param {number} min - min number | |
* @param {number} max - max number | |
* @return {number} a random floating point number | |
*/ | |
function getRandomFloat(min, max) { | |
return Math.random() * (max - min) + min; | |
} |