A People's History of Microservices - Camille Fournier
Operational Insight: Concepts and Real-World Applications - Roy Rapoport
const TheComponent = () => { | |
const [error, setError] = React.useState(); | |
React.useEffect(() => { | |
const asyncOperation = async () => { | |
// do something async | |
}; | |
asyncOperation().catch(e => { | |
setError(() => { |
const Products = () => { | |
const { loading, data: products, refetch } = useApiGET(`/products`); | |
const api = useApi(); | |
if (loading) { | |
return <Loading />; | |
} | |
return ( | |
<div> | |
{products.map(p => ( |
import React, { useState, useEffect, useContext } from "react"; | |
import createAuth0Client from "@auth0/auth0-spa-js"; | |
import Auth0Client from "@auth0/auth0-spa-js/dist/typings/Auth0Client"; | |
interface Auth0Context { | |
isAuthenticated: boolean; | |
user: any; | |
loading: boolean; | |
popupOpen: boolean; | |
loginWithPopup(options: PopupLoginOptions): Promise<void>; |
import 'loaders.css/loaders.css'; | |
import './index.scss'; | |
import React, { PropTypes } from 'react'; | |
const LoadingIndicator = React.createClass({ | |
propTypes: { | |
children: PropTypes.func.isRequired, | |
isLoading: PropTypes.bool.isRequired | |
}, | |
render: function() { |
```yml | |
before_script: | |
- apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main --repository http://dl-cdn.alpinelinux.org/alpine/edge/community docker | |
- docker -v | |
- service docker start | |
``` |
################## | |
# Privacy Settings | |
################## | |
# Privacy: Let apps use my advertising ID: Disable | |
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 0 | |
# To Restore: | |
#Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 1 | |
# Privacy: SmartScreen Filter for Store Apps: Disable | |
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost -Name EnableWebContentEvaluation -Type DWord -Value 0 |
<aside class="sidebar"> | |
<nav class="menu"> | |
<div class="menu-item"> | |
<a href="" class="menu-item__link"> | |
<span class="menu-item__icon"> | |
<i class="ion-ios-home-outline"></i> | |
</span> | |
<span class="menu-item__text"> | |
Home | |
</span> |
Update-ExecutionPolicy Unrestricted | |
cinst ncrunch2.vs2013 | |
cinst resharper | |
choco install GitDiffMargin | |
Install-ChocolateyVsixPackage WebEssentials2013 http://visualstudiogallery.msdn.microsoft.com/56633663-6799-41d7-9df7-0f2a504ca361/file/105627/37/WebEssentials2013.vsix | |
Install-ChocolateyVsixPackage BuildVision http://visualstudiogallery.msdn.microsoft.com/23d3c821-ca2d-4e1a-a005-4f70f12f77ba/file/95980/7/BuildVisi |