Skip to content

Instantly share code, notes, and snippets.

@phlppschrr
phlppschrr / index.html
Created February 16, 2017 10:39
xZBovY
<p>In a few minutes there was, so far as the soldier could see, not a living thing left upon the common, and every bush and tree upon it that was not already a blackened skeleton was burning. The hussars had been on the road beyond the curvature of the ground, and he saw nothing of them. He heard the Martians rattle for a time and then become still. The giant saved Woking station and its cluster of houses until the last; then in a moment the Heat-Ray was brought to bear, and the town became a heap of fiery ruins. Then the Thing shut off the Heat-Ray, and turning its back upon the artilleryman, began to waddle away towards the smouldering pine woods that sheltered the second cylinder. As it did so a second glittering Titan built itself up out of the pit.</p>
<p>The second monster followed the first, and at that the artilleryman began to crawl very cautiously across the hot heather ash towards Horsell. He managed to get alive into the ditch by the side of the road, and so escaped to Woking. There his st
@phlppschrr
phlppschrr / SassMeister-input.scss
Last active October 26, 2016 09:35
Generated by SassMeister.com.
// ----
// libsass (v3.3.6)
// ----
// forked from http://www.sassmeister.com/gist/7f22e44ace49b5124eec
// =========================================================================
//
// PRECISE CONTROL OVER RESPONSIVE TYPOGRAPHY FOR SASS
// ---------------------------------------------------
@phlppschrr
phlppschrr / .phpstorm.meta.php
Last active August 29, 2015 14:26
.phpstorm.meta.php for ProcessWire CMS
<?php
/**
* ProcessWire PhpStorm Meta
*
* This file is not a CODE, it makes no sense and won't run or validate
* Its AST serves PhpStorm IDE as DATA source to make advanced type inference decisions.
*
* @see https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Advanced+Metadata
*/
<?php
/**
* ProcessWire API Variables
*
* @var $config Config
* @var $wire ProcessWire
* @var $log WireLog
* @var $notices Notices
* @var $sanitizer Sanitizer
* @var $database WireDatabasePDO
@phlppschrr
phlppschrr / SassMeister-input-HTML.html
Created March 9, 2015 15:06
Generated by SassMeister.com.
<div class="s1"></div>
<div class="s2">
<div class="x">
<div class="thumb"><div class="x"></div></div>
<div class="thumb"><div class="x"></div></div>
<div class="thumb"><div class="x"></div></div>
</div>
</div>
@phlppschrr
phlppschrr / SassMeister-input-HTML.html
Created January 20, 2015 09:35
Generated by SassMeister.com.
<div class="grid">
<div>Test</div>
<div>Test</div>
<div>Test</div>
<div>Test</div>
<div>Test
<br>666asfawf
<br>666asfawf
<br>666asfawf
</div>
@phlppschrr
phlppschrr / SassMeister-input-HTML.html
Last active August 29, 2015 14:13
Generated by SassMeister.com.
<div class="grid">
<div>Test</div>
<div>Test</div>
<div>Test</div>
<div>Test</div>
<div>Test
<br>666asfawf
<br>666asfawf
<br>666asfawf
</div>
@phlppschrr
phlppschrr / socialshare-2clicks.js
Created July 17, 2014 11:13
Simple Social-Share-Links "2 Klicks für mehr Datenschutz"
/*jshint browser:true*/
/*global gapi:false*/
(function(d){
"use strict";
// NodeLists in Arrays verwandeln
var toArray = function(nl){
var arr = [];
if(nl){
<pre><?php
ini_set('max_execution_time', 60*5); // 5 minutes, increase as needed
include("./index.php");
$dir = new DirectoryIterator(wire('config')->paths->files);
foreach($dir as $file) {
if($file->isDot() || !$file->isDir()) continue;
$id = $file->getFilename();
if(!ctype_digit("$id")) continue;
$page = wire('pages')->get((int) $id);