Optional - Set format on save and any global prettier options
npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-node eslint-config-node
| #!/bin/sh | |
| # | |
| # Wrapper script for the letsencrypt client to generate a server certificate in | |
| # manual mode. It uses openssl to generate the key and should not modify the | |
| # server configuration. It can be called off-side, i.e. not on the destination | |
| # server. | |
| # | |
| # usage: letsencrypt_create.sh DOMAIN [DOMAIN...] | |
| set -e |
| import 'package:flutter/cupertino.dart'; | |
| import 'package:flutter/material.dart'; | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return new MaterialApp( | |
| title: 'Squircle', | |
| home: new Scaffold( |
| // 1. Go to https://analytics.twitter.com/ | |
| // 2. Keep scrolling till the end until all the stats data is loaded | |
| // 3. Right click on the page click on last option "Inspect" a window should open select console from that | |
| // 4. copy this entire function | |
| function getVal (val) { | |
| val=val.replace(/\,/g,''); |
| // eslint-react | |
| { | |
| "root": true, | |
| "parser": "@typescript-eslint/parser", | |
| "parserOptions": { | |
| "ecmaVersion": 2021, | |
| "sourceType": "module", | |
| "project": "./tsconfig.json", | |
| "tsconfigRootDir": ".", | |
| // "warnOnUnsupportedTypeScriptVersion": "false", |
| { | |
| "Part statement": { | |
| "prefix": "pts", | |
| "body": [ | |
| "part '${TM_FILENAME_BASE}.g.dart';", | |
| ], | |
| "description": "Creates a filled-in part statement" | |
| }, | |
| "Part 'Freezed' statement": { | |
| "prefix": "ptf", |
| # /.config/kitty/kitty.conf | |
| # vim:fileencoding=utf-8:ft=conf:foldmethod=marker | |
| #: Fonts {{{ | |
| #: kitty has very powerful font management. You can configure | |
| #: individual font faces and even specify special fonts for particular | |
| #: characters. |
| # vim:fileencoding=utf-8:ft=conf:foldmethod=marker | |
| #: Fonts {{{ | |
| #: kitty has very powerful font management. You can configure | |
| #: individual font faces and even specify special fonts for particular | |
| #: characters. | |
| # font_family Monaco | |
| font_family Source Code Pro |