View gist:bf2342a24fd5a80f235f2b323b876fca
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
<?php | |
require_once 'vendor/autoload.php'; | |
$client = new Predis\Client([ | |
/* ... */ | |
]); | |
$client->set('foo', 'bar'); | |
$value = $client->get('foo'); |
View redirect.fetch.test.node.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
var | |
jsdom = require('jsdom'); | |
jsdom.env( | |
'http://localhost:3012/', | |
["http://code.jquery.com/jquery.js"], | |
function (errors, window) { | |
if (errors) { | |
console.log('error', errors); | |
} else { |
View anchorIssue.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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>on screen test</title> | |
<style> | |
.box { | |
padding-top: 50px; | |
padding-bottom: 50px; | |
margin-bottom: 10px; |