Emphasis
This text will be italic This will also be italic
This text will be bold This will also be bold
You can combine them
import React, { Component } from "react"; | |
import PropTypes from "prop-types"; | |
import { withRouter } from "react-router"; | |
import { withStyles } from "@material-ui/core/styles"; | |
import compose from "recompose/compose"; | |
import { connect } from "react-redux"; | |
import Typography from "@material-ui/core/Typography"; | |
const styles = theme => ({}); |
Emphasis
This text will be italic This will also be italic
This text will be bold This will also be bold
You can combine them
//https://stackoverflow.com/questions/1988349/array-push-if-does-not-exist | |
// SOURCE: https://stackoverflow.com/a/36683363 | |
// Code Snippet : https://stackoverflow.com/questions/1988349/array-push-if-does-not-exist | |
var newItem = "OLD_ITEM_1"; | |
var array = ["OLD_ITEM_1", "OLD_ITEM_2"]; | |
array.indexOf(newItem) === -1 ? |
// Source : https://stackoverflow.com/questions/881425/html-agility-pack-parsing-li | |
List<string> lstLiInnerTexts = new List<string>(); | |
foreach (HtmlNode li in doc.DocumentNode.SelectNodes("//li")) { | |
lstLiInnerTexts.Add(li.InnerText); | |
} |
#Edit Environment Variable, Windows | |
rundll32.exe sysdm.cpl,EditEnvironmentVariables |
//Full Path till the executable, In case of shadow copies, this will be the temp directory | |
System.Reflection.Assembly.GetExecutingAssembly().Location; | |
//Permanent path of the assembly | |
System.Reflection.Assembly.GetExecutingAssembly().CodeBase; | |
//Local Codebase Path | |
new Uri(System.IO.Path.GetDirectoryName(codeBase)).LocalPath; | |
//Full Path till the directory |
@echo off | |
Rem The cd without any parameters is used to display the current working directory | |
cd | |
Rem Changing the path to Program Files | |
cd\Program Files | |
cd | |
Rem Changing the path to Program Files |
# List all Network Connections | |
wmic nic get name,macaddress | |
NetSh Interface httpstunnel Show Interfaces | |
NetSh Interface IPv4 Show Interfaces | |
NetSh Interface IPv6 Show Interfaces | |
reg add HKLM SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001] /v NetworkAddress /d 0123456789AB |
Picking the right architecture = Picking the right battles + Managing trade-offs
import React, { Component } from "react"; | |
import { Header } from "react-native-elements"; | |
import EStyleSheet from 'react-native-extended-stylesheet'; | |
import {Platform} from 'react-native'; | |
class AppBarNE extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { |