Skip to content

Instantly share code, notes, and snippets.

View vinceyang15's full-sized avatar

Yang Xi vinceyang15

  • Shanghai, China
View GitHub Profile
@vinceyang15
vinceyang15 / tokenizer.mll
Created June 30, 2016 15:50 — forked from lindig/tokenizer.mll
Some Scanning Recipes for OCamlLex
{
(* short names for important modules *)
module L = Lexing
module B = Buffer
type token =
| STR of string
| INT of int
| ID of string
| PLUSEQ
@vinceyang15
vinceyang15 / uniq.js
Last active August 29, 2015 14:21 — forked from stoimen/uniq.js
array.filter(function(elem, index, self) {
return self.indexOf(elem) === index;
});
@import url("/usr/share/gnome-shell/theme/gnome-shell.css");
/* customizing GNOME Shell for desktop interface
with fonts size 9pt (instead default 11pt size) */
/* Text Styles */
/* default text style */
stage {
font-size: 9pt; /* 11pt */
}
;;; minimial-cedet-config.el --- Working configuration for CEDET from bzr
;; Copyright (C) Alex Ott
;;
;; Author: Alex Ott <[email protected]>
;; Keywords: cedet, C++, Java
;; Requirements: CEDET from bzr (http://cedet.sourceforge.net/bzr-repo.shtml)
;; Do checkout of fresh CEDET, and use this config (don't forget to change path below)