Or: “Everybody likes being given a glass of water.”
By Merlin Mann.
It's only advice for you because it had to be advice for me.
There are many use cases to use getAccessTokenSilently
outside of a component (for example, in an Axios Interceptor or an Apollo Client).
It's tempting to ask for the option to pass an Auth0Client
instance into the Auth0Provider
so that its getTokenSilently
method can used outside of the context of a component, eg.
const client = new Auth0Client();
export const getAccessToken = () => client.getTokenSilently();
Lenovo Thinkcentre M92P | |
When booting to USB installer disk installation proceeds as expected | |
1962 no operating system found | |
When booting into preview mode all disks load without issue, so its not the cable | |
Secure Boot option either not present or disabled | |
Last time I fixed this by adding a fake line to the boot loader from instructions on the web | |
Got a warning during installation about UEFI mode | |
Windows Fast Startup disabled | |
jfly comment below: |
<?php | |
namespace Deployer; | |
require 'recipe/common.php'; | |
// Project name | |
set('application', 'enovate.co.uk'); | |
// Project repository | |
set('repository', 'git@githosting.com:enovatedesign/project.git'); |
This document covers how to setup netboot.xyz, a service that provides iPXE-based installation and live boot of a bunch of operating systems, on a Ubiquiti EdgeRouter.
I've made a few assumptions throughout this document that will probably be different for your setup:
Granted, this is little more than an obfuscated way of having a publicly writable S3 bucket, but if you don’t have a server which can pre-sign URLs for you, this might be an acceptable solution.
For this to work, you take the following steps:
This script is no longer required with Docker for Mac which includes an option to run Docker at startup and doesn't use docker-machine
to administer the local Docker engine.
docker-machine create --driver virtualbox default
(this is the default with Docker toolkit).# Non-interactive command-line equivalents to raspi-config | |
# These are not guaranteed to work under all circumstances. | |
# I use them in a fabric script to do unattended setup of a | |
# Raspberry Pi immediately after having booted up a NOOBS | |
# and installed Raspbian. | |
# | |
# 1. Install NOOBS | |
# 2. When the config screen comes up, hit TAB TAB RETURN to exit from it | |
# 3. Type 'sudo service ssh start' at the command line (no quotes). | |
# 4. (Optional) copy a public key to the pi account on the pi. |
console.log("%c+","font-size: 1px; padding: 180px 320px; line-height: 360px; background: url(http://i.imgur.com/kZfvHRV.gif); background-size: 640px 360px; color: transparent;"); |