Author: Chris
Date: 2017-02-17
線上MarkDown編輯器
// save to windows-user directory | |
linters: with_defaults(object_name_linter = NULL, | |
object_length_linter(50), | |
commented_code_linter = NULL, | |
object_usage_linter = NULL, | |
line_length_linter(120), | |
cyclocomp_linter = cyclocomp_linter(50)) |
#!/usr/bin/env bash | |
# Copyright (c) 2017 Brian 'redbeard' Harrington <redbeard@dead-city.org> | |
# | |
# dumpcerts.sh - A simple utility to explode a Traefik acme.json file into a | |
# directory of certificates and a private key | |
# | |
# Usage - dumpcerts.sh /etc/traefik/acme.json /etc/ssl/ | |
# | |
# Dependencies - | |
# util-linux |
%Categorias | |
categoria(fantasia). | |
categoria(novela). | |
categoria(ciencia_ficcion). | |
categoria(misterio). | |
categoria(poemas). | |
categoria(historia). | |
categoria(autoayuda). | |
categoria(romance). | |
categoria(aventura). |
Author: Chris
Date: 2017-02-17
線上MarkDown編輯器
/* | |
d3.phylogram.js | |
Wrapper around a d3-based phylogram (tree where branch lengths are scaled) | |
Also includes a radial dendrogram visualization (branch lengths not scaled) | |
along with some helper methods for building angled-branch trees. | |
Copyright (c) 2013, Ken-ichi Ueda | |
All rights reserved. |
// check version | |
node -v || node --version | |
// list locally installed versions of node | |
nvm ls | |
// list remove available versions of node | |
nvm ls-remote | |
// install specific version of node |
Do you want to do remote development on your WSL2 container in Visual Studio Code? Read this.
wsl --update
to make sure you are running the latest WSLsudo apt-get install openssh-server
sudo systemctl enable --now ssh
to automatically start ssh when WSL starts.# YAML cheat sheet | |
# Reference: https://www.youtube.com/watch?v=cdLNKUoMc6c | |
# object | |
person: | |
# string value. single/double quotes | |
# anchoring | |
name: &name "daniel" # anchor name doesn't have to be the same as key name | |
occupation: 'student' |
# As of SQL 2017 | |
/Record @id @type @time | |
/Record/ConnectivityTraceRecord/ClientConnectionId | |
/Record/ConnectivityTraceRecord/IsClient | |
/Record/ConnectivityTraceRecord/LocalHost | |
/Record/ConnectivityTraceRecord/LocalPort | |
/Record/ConnectivityTraceRecord/OSError | |
/Record/ConnectivityTraceRecord/RecordSource | |
/Record/ConnectivityTraceRecord/RecordTime |