View .prettierrc
{
"bracketSpacing": true,
"printWidth": 100,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}
View main.d
void main()
{
// Define an array of numbers, double[].
// Compiler recognizes the common
// type of all initializers.
auto arr = [ 1, 2, 3.14, 5.1, 6 ];
// Dictionary that maps string to int,
// type is spelled int[string]
auto dictionary = [ "one" : 1, "two" : 2,
"three" : 3 ];
View shortcut.txt
Select Multiple Line -> fn + opt + click + scrole
View 0.3.10_yarn.lock
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
"@mrmlnc/readdir-enhanced@^2.2.1":
version "2.2.1"
resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde"
dependencies:
call-me-maybe "^1.0.1"
glob-to-regexp "^0.3.0"
View npm-debug.log
12006 silly decomposeActions finalize has-flag@3.0.0
12007 silly decomposeActions refresh-package-json has-flag@3.0.0
12008 silly decomposeActions fetch source-map@0.6.1
12009 silly decomposeActions extract source-map@0.6.1
12010 silly decomposeActions preinstall source-map@0.6.1
12011 silly decomposeActions build source-map@0.6.1
12012 silly decomposeActions install source-map@0.6.1
12013 silly decomposeActions postinstall source-map@0.6.1
12014 silly decomposeActions finalize source-map@0.6.1
12015 silly decomposeActions refresh-package-json source-map@0.6.1
View LoadMeComp.ts
import {Component, Input, OnInit} from '@angular/core';
@Component({
selector: 'load-me',
template: `<h3 style="background-color: #00b0e8">
I am a component loaded from a Gist! {{inputText}}</h3>`
})
export class LoadMeComp implements OnInit{
@Input() inputText: string;
constructor() {
View .eslintrc.json
{
"extends": ["airbnb"],
"env": {
"browser": true,
"commonjs": true,
"es6": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
View gist:f063270d6a4f6913465e4d9b1e822e9f
root@fos4backup:~# iostat -x -k 1
Linux 4.9.0-6-amd64 (fos4backup) 06/20/2018 _x86_64_ (4 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
3.08 0.02 1.73 61.97 0.00 33.19
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
sdi 0.00 0.30 0.04 0.22 1.42 3.29 35.65 0.00 8.85 10.03 8.63 4.35 0.12
sdj 0.00 0.00 19.54 10.62 242.86 21.40 17.52 0.34 11.19 16.64 1.16 5.44 16.40
sdk 0.00 0.00 19.50 10.62 243.70 21.40 17.61 0.32 10.62 15.88 0.96 5.33 16.06
View tag.json
{
"code": 0,
"msg": "success",
"data": {
"total": 450,
"page": 1,
"items": [
{
"id": 201711080711087643,
"sortId": 15,
View main.d
void main()
{
// Define an array of numbers, double[].
// Compiler recognizes the common
// type of all initializers.
auto arr = [ 1, 2, 3.14, 5.1, 6 ];
// Dictionary that maps string to int,
// type is spelled int[string]
auto dictionary = [ "one" : 1, "two" : 2,
"three" : 3 ];