A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes:
A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes:
| (function(exports) { | |
| 'use strict'; | |
| implementRequestBookmark(); | |
| /** | |
| * Expose requestBookmark() on navigator | |
| * @return {void} | |
| */ | |
| function implementRequestBookmark(){ |
| #!/usr/bin/env python | |
| # source: https://gist.github.com/mnot/210535 | |
| """ | |
| HTTP Link Header Parsing | |
| Simple routines to parse and manipulate Link headers. | |
| """ |
| # -*- coding: utf-8 -*- | |
| # <nbformat>3.0</nbformat> | |
| # <codecell> | |
| import json | |
| import jsonld | |
| import pprint | |
| import rdflib | |
| import rdflib_jsonld |
| var MultiGetSet = function(opt){ | |
| var getType = function(o) { | |
| return ({}).toString.call(o).match(/\s([a-zA-Z]+)/)[1].toLowerCase() | |
| }; | |
| if(!opt.public || !opt.private) | |
| return opt.public; | |
| if(opt.handler && opt.handler.init) |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| MIRROR = "http://packages.couchbase.com/releases/2.0.0-developer-preview-4" | |
| VERSION = "couchbase-server-community_x86_64_2.0.0-dev-preview-4.deb" | |
| # Vagrant: http://vagrantup.com | |
| Vagrant::Config.run do |config| | |
| # Use 64bit Ubuntu Lucid 10.04 | |
| config.vm.box = "lucid64" |
| A list of features that we want to see in CouchDB. Needs to be voted on so that it can become a priority queue. | |
| User Facing Features | |
| ==================== | |
| 1. Conflicts are the rule, not the exception | |
| All previous versions of CouchDB hide conflicts by default (selecting | |
| an arbitrary but consistent winning revision). Expert users can find | |
| and resolve conflicts. |
| # replace PAPERTRAIL_HOSTNAME and PAPERTRAIL_PORT | |
| # see http://help.papertrailapp.com/ for additional PHP syslog options | |
| function send_remote_syslog($message, $component = "web", $program = "next_big_thing") { | |
| $sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); | |
| foreach(explode("\n", $message) as $line) { | |
| $syslog_message = "<22>" . date('M d H:i:s ') . $program . ' ' . $component . ': ' . $line; | |
| socket_sendto($sock, $syslog_message, strlen($syslog_message), 0, PAPERTRAIL_HOSTNAME, PAPERTRAIL_PORT); | |
| } | |
| socket_close($sock); |