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:
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) |
# -*- coding: utf-8 -*- | |
# <nbformat>3.0</nbformat> | |
# <codecell> | |
import json | |
import jsonld | |
import pprint | |
import rdflib | |
import rdflib_jsonld |
#!/usr/bin/env python | |
# source: https://gist.github.com/mnot/210535 | |
""" | |
HTTP Link Header Parsing | |
Simple routines to parse and manipulate Link headers. | |
""" |
(function(exports) { | |
'use strict'; | |
implementRequestBookmark(); | |
/** | |
* Expose requestBookmark() on navigator | |
* @return {void} | |
*/ | |
function implementRequestBookmark(){ |
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:
{ | |
"@context": { | |
"@vocab": "http://www.w3.org/2004/02/skos/core#", | |
"broadMatch": { "@type": "@id" }, | |
"broader": { "@type": "@id" }, | |
"broaderTransitive": { "@type": "@id" }, | |
"closeMatch": { "@type": "@id" }, | |
"exactMatch": { "@type": "@id" }, | |
"hasTopConcept": { "@type": "@id" }, | |
"inScheme": { "@type": "@id" }, |
const { ToggleButton } = require('sdk/ui/button/toggle'); | |
let globalToggle = ToggleButton({ | |
id: 'my-global-toggle', | |
label: 'global function', | |
icon: './foo.png', | |
onChange: function() { | |
// delete the window state for the current window, | |
// automatically set when the user click on the button | |
this.state('window', null); |
Join the channel you want to register. Make sure you're an op (either the first to join, or someone who is an op there sets you to +o). | |
/join #newchannel | |
/msg chanserv register #newchannel | |
/msg chanserv set #newchannel mlock +cnt-s | |
/msg chanserv set #newchannel guard on | |
/msg chanserv set #newchannel secure on | |
/msg chanserv set #newchannel topiclock on | |
/msg chanserv set #newchannel keeptopic on | |
/msg chanserv set #newchannel url http://example.org/ |
* { | |
font-size: 12pt; | |
font-family: monospace; | |
font-weight: normal; | |
font-style: normal; | |
text-decoration: none; | |
color: black; | |
cursor: default; | |
} |