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
| $remoteport = bash.exe -c "ifconfig eth0 | grep 'inet '" | |
| $found = $remoteport -match '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'; | |
| if( $found ){ | |
| $remoteport = $matches[0]; | |
| } else{ | |
| echo "The Script Exited, the ip address of WSL 2 cannot be found"; | |
| exit; | |
| } |
| import 'package:flutter/material.dart'; | |
| class NavigatorPage extends StatefulWidget { | |
| const NavigatorPage({ Key key, this.child }) : super(key: key); | |
| final Widget child; | |
| @override | |
| _NavigatorPageState createState() => _NavigatorPageState(); | |
| } |
| PX | REM | TW | |
|---|---|---|---|
| 4 | 0.25 | 1 | |
| 8 | 0.5 | 2 | |
| 16 | 1 | 4 | |
| 32 | 2 | 8 | |
| 48 | 3 | 12 | |
| 64 | 4 | 16 | |
| 80 | 5 | 20 | |
| 96 | 6 | 24 | |
| 112 | 7 | 28 |
| ##################### | |
| # | |
| # Use this with or without the .gitattributes snippet with this Gist | |
| # create a fixle.sh file, paste this in and run it. | |
| # Why do you want this ? Because Git will see diffs between files shared between Linux and Windows due to differences in line ending handling ( Windows uses CRLF and Unix LF) | |
| # This Gist normalizes handling by forcing everything to use Unix style. | |
| ##################### | |
| # Fix Line Endings - Force All Line Endings to LF and Not Windows Default CR or CRLF |