Skip to content

Instantly share code, notes, and snippets.

View garryyao's full-sized avatar

Garry garryyao

  • London
View GitHub Profile
@garryyao
garryyao / compare-editors.md
Last active September 16, 2020 19:47
Feature comparison of open-source wysiwyg editors with CNI's interests
@garryyao
garryyao / dnsmasq OS X.md
Last active January 31, 2018 16:00 — forked from ogrrd/dnsmasq OS X.md
Setup dnsmasq on OS X

Make a local DNS server for copilot dev

To setup your computer to work with *.copilot.local domains, e.g. copilot.copilot.local, copilot-auth.copilot.local and so on, without having to add to your hosts file each time.

Requirements

Install

{
"presets": ["es2015"]
}
/* your css here */
/* your css here */
/* your css here */
@garryyao
garryyao / video-source-fallback.html
Created September 18, 2015 02:32
Test video source fallback in HTML5
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<title>EFSET Tutorial Videos</title>
<link rel="stylesheet" type="text/css" href="bower_components/mediaelement/build/mediaelementplayer.min.css" media="all">
<link rel="stylesheet" type="text/css" href="bower_components/mediaelement/build/mejs-skins.css" media="all">
<!-- build:js videoplayer.js -->
@garryyao
garryyao / troopjs-compat.md
Last active August 29, 2015 14:09
TroopJS 3.0 Compatibility Guideline

TroopJS 3.0 Compatibilities Guide

The following document summarise the list of compatibility issues found on [3.0](https://github .com/troopjs/troopjs/releases/tag/3.0.0-pr.2%2Bfa7fcdb) compare with the last [2.x](https://github .com/troopjs/troopjs/releases/tag/2.0.5%2B01ab95d) build:

modules

generally we have done moved many internal/api-level modules in this version, the following map (non-exclusive) reflects changes that have been made from 2.x to 3.x:

@import url(http://weloveiconfonts.com/api/?family=entypo);
/* line 70, /Users/garry/workspace/error-prompt/fiddle.scss */
body {
background: #292931;
padding: 0;
margin: 0; }
/* line 76, /Users/garry/workspace/error-prompt/fiddle.scss */
[data-icon]:after {
font-family: "entypo";
@garryyao
garryyao / Flat-UI---Custom-input:file.markdown
Created October 30, 2014 06:13
A Pen by Geoffrey Crofte.