Skip to content

Instantly share code, notes, and snippets.

View sylecn's full-sized avatar

Yuanle Song sylecn

View GitHub Profile
@sylecn
sylecn / emacs-font-config.el
Created September 14, 2016 02:17
Emacs font config for Chinese users
(require 'cl)
(defun my-set-fontset (fontset alst)
"set fontset according to alst.
The alst contains TARGET FONT-SPEC pairs. TARGET should be from
most specific (latin) to most generic (nil). Otherwise, some
lines will have no effect.
see `set-fontset-font' for what could be used for TARGET and FONT-SPEC"
@sylecn
sylecn / designer.html
Last active April 26, 2016 03:41
designer
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {