I hereby claim:
- I am stevearzh on github.
- I am stevearzh (https://keybase.io/stevearzh) on keybase.
- I have a public key ASA0kq_ParrxdPWoBRXZeoJeRapZhBJs0yqTZU17sAwR3go
To claim this, I am signing this object:
| #!/bin/bash | |
| ########################################### | |
| #This shell is modified from Leon Lee, or-# | |
| #iginal version see here: # | |
| # # | |
| #https://gist.github.com/anonymous/1117004# | |
| # # | |
| # # | |
| #Notice: To run this shell, you should in-# |
| ;; ------------------------------------------------------------ ;; | |
| ;; MELPA | |
| ;; ------------------------------------------------------------ ;; | |
| (require 'package) | |
| (dolist (source '( | |
| ("melpa" . "http://melpa.org/packages/") | |
| )) | |
| (add-to-list 'package-archives source t)) | |
| (when (< emacs-major-version 24) | |
| ;; For important compatibility libraries like cl-lib |
| class Vertex { | |
| constructor (label, wasVisited) { | |
| this.label = label; | |
| this.wasVisited = wasVisited; | |
| } | |
| } | |
| class Graph { | |
| constructor (v) { | |
| this.vertices = v; |
I hereby claim:
To claim this, I am signing this object:
| # Copy and self modified from ys.zsh-theme, the one of default themes in master repository | |
| # Clean, simple, compatible and meaningful. | |
| # Tested on Linux, Unix and Windows under ANSI colors. | |
| # It is recommended to use with a dark background and the font Inconsolata. | |
| # Colors: black, red, green, yellow, *blue, magenta, cyan, and white. | |
| # http://xiaofan.at | |
| # 2 Jul 2015 - Xiaofan | |
| # Machine name. | |
| function box_name { |
| ;; -*- mode: emacs-lisp -*- | |
| ;; This file is loaded by Spacemacs at startup. | |
| ;; It must be stored in your home directory. | |
| (defun dotspacemacs/layers () | |
| "Configuration Layers declaration. | |
| You should not put any user code in this function besides modifying the variable | |
| values." | |
| (setq-default | |
| ;; Base distribution to use. This is a layer contained in the directory |
| $J.post("/app/7", { sessionid: g_sessionID, appid_to_clear_from_queue: 955560 }) |
| function is_ascii(str) { | |
| return /^[\x00-\x7F]*$/.test(str); | |
| } | |
| function is_seperator(c) { | |
| return [" ", ",", "。", ",", ";", ",", "?", ".", "?", ";", "《", "》"].indexOf(c) > -1; | |
| } | |
| function random_choice(arr) { | |
| return arr[Math.floor(arr.length * Math.random())]; |