Skip to content

Instantly share code, notes, and snippets.

View lijunle's full-sized avatar

Junle Li lijunle

View GitHub Profile
@lijunle
lijunle / SassMeister-input.scss
Created October 14, 2016 07:03
Generated by SassMeister.com.
// ----
// Sass (v3.4.21)
// Compass (v1.0.3)
// ----
$ms-screen-lg-min: 100px;
$ms-screen-xl-min: 500px;
@mixin ms-u-lg2 {
@media (min-width: $ms-screen-lg-min) {
@lijunle
lijunle / .tmux.conf
Created July 1, 2016 15:59
Tmux configuration
set-option -g base-index 1
set-option -g mode-mouse on
set-option -g mouse-resize-pane on
set-option -g mouse-select-pane on
set-option -g mouse-select-window on
set-option -g default-shell $SHELL
set-window-option -g mode-keys vi
set-window-option -g window-status-current-bg yellow
@lijunle
lijunle / .gitconfig
Last active December 22, 2025 15:01
Various Configs
[user]
name = Junle Li
email = lijunle@gmail.com
[core]
excludesfile = ~/.gitignore
pager = cat
[gc]
auto = 0
[push]
autoSetupRemote = true
@lijunle
lijunle / Tutorial.fsx
Last active October 14, 2022 22:28
This sample will guide you through elements of the F# language.
// This sample will guide you through elements of the F# language.
//
// *******************************************************************************************************
// To execute the code in F# Interactive, highlight a section of code and press Alt-Enter or right-click
// and select "Execute in Interactive". You can open the F# Interactive Window from the "View" menu.
// *******************************************************************************************************
//
// For more about F#, see:
// http://fsharp.org
//
@lijunle
lijunle / .manifest
Created March 20, 2016 12:26
DocFX Example Output
{"Vsxmd":"Vsxmd.yml","Vsxmd.Converter":"Vsxmd.Converter.yml","Vsxmd.Converter.#ctor(XDocument)":"Vsxmd.Converter.yml","Vsxmd.Converter.ToMarkdown(XDocument)":"Vsxmd.Converter.yml","Vsxmd.Converter.ToMarkdown":"Vsxmd.Converter.yml","Vsxmd.IConverter":"Vsxmd.IConverter.yml","Vsxmd.IConverter.ToMarkdown":"Vsxmd.IConverter.yml"}
"atom-beautify":
prettyName: "Atom Beautify"
homepage: "https://github.com/Glavin001/atom-beautify#readme"
"atom-typescript":
prettyName: "Atom Typescript"
homepage: "http://atom.io/packages/atom-typescript"
"language-ts":
prettyName: "Language Ts"
homepage: "https://github.com/wingyplus/language-ts#readme"
"line-ending-converter":
@lijunle
lijunle / index.js
Last active March 11, 2016 09:43
React Cursor Demo
// jsfiddle: https://jsfiddle.net/lijunle/50jx1k2z/2/
let {Cursor} = ReactCursor;
const state1 = {
counters: [
{ id: 1, number: 1 },
{ id: 2, number: 2 },
{ id: 3, number: 3 },
{ id: 4, number: 4 },
@lijunle
lijunle / ESLint-Result.js
Last active September 21, 2015 12:58
ESLint Result
var fs = require('fs');
fs.readFile('./eslint-result.json', {encoding: 'utf-8'}, function (error, data) {
var fileList = JSON.parse(data);
var violations = {};
var total = 0;
fileList.forEach(function (file) {
var filePath = file.filePath;
@lijunle
lijunle / README.md
Last active August 29, 2015 14:17
Readme for Nancy.AttributeRouting.

Nancy.AttributeRouting

Enable attribute routing for Nancy project, and build route URL with compiled-time checked lambda expression.

Install

PM> Install-Package Nancy.AttributeRouting