This is inspired by A half-hour to learn Rust and Zig in 30 minutes.
Your first Go program as a classical "Hello World" is pretty simple:
First we create a workspace for our project:
This is inspired by A half-hour to learn Rust and Zig in 30 minutes.
Your first Go program as a classical "Hello World" is pretty simple:
First we create a workspace for our project:
| { | |
| "defaultSeverity": "error", | |
| "extends": [ | |
| "tslint:recommended" | |
| ], | |
| "jsRules": {}, | |
| "rules": { | |
| "quotemark": { | |
| "options": [ | |
| "single", | 
| { | |
| "compilerOptions": { | |
| /* Basic Options */ | |
| "target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */ | |
| "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ | |
| "lib": [ | |
| "es6", | |
| "dom" | |
| ], /* Specify library files to be included in the compilation: */ | |
| "allowJs": true, /* Allow javascript files to be compiled. */ | 
General:
/(?!([withStyles]))<([^"]+)>/
Javascript:
text.match(/(?!([withStyles]))<([^"]+)>/);| "React Container": { | |
| "prefix": "rx-container", | |
| "body": [ | |
| "import * as React from 'react';", | |
| "import { Dispatch, connect } from 'react-redux';", | |
| "", | |
| "import { State } from '../reducers';", | |
| "", | |
| "interface Props { }", | |
| "interface StateProps { }", | 
| [alias] | |
| st = status -sb | |
| co = checkout | |
| cb = checkout -b | |
| b = branch | |
| ba = branch -a | |
| br = !sh -c 'git branch -vv | sed "s/].*/]/"' - | |
| pr = remote prune origin | |
| so = remote show origin | |
| cp = cherry-pick | 
| background: linear-gradient(110deg, #246655, #662441); | |
| background-size: 400% 400%; | |
| -webkit-animation: AnimationName 30s ease infinite; | |
| -moz-animation: AnimationName 30s ease infinite; | |
| -o-animation: AnimationName 30s ease infinite; | |
| animation: AnimationName 30s ease infinite; | |
| @-webkit-keyframes AnimationName { | |
| 0%{background-position:52% 0%} | |
| 50%{background-position:49% 100%} | |
| 100%{background-position:52% 0%} |