Rujukan | Nama | Alamat |
---|---|---|
KBBI | Kamus Besar Bahasa Indonesia | kbbi.kemdikbud.go.id |
EYD | Ejaan yang Disempurnakan | ejaan.kemdikbud.go.id |
TTBI | Tesaurus Tematis | tesaurus.kemdikbud.go.id |
Pasti | Padanan Istilah Asing–Indonesia | pasti.kemdikbud.go.id |
TBBBI | Tata Bahasa Baku Bahasa Indonesia | s.id/bi-tbbbi |
Content :
# Usage: python3 tldr_fail_test.py ${HOSTNAME} | |
# | |
# You can optionally pass the destination IP with --addr | |
# | |
# Author: davidben [at] chromium [dot] org | |
import argparse | |
import socket | |
import time |
Sometimes it seems like the first (and sometimes only) advice you get offered for almost any problem with a Raspberry Pi is "check your power supply". You think something like:
"hey, I'm using an official power supply sold as being matched with my Pi so how can there be any problem?"
You look up the specs then stick a controlled load across your supply and confirm that it can deliver the required number of Watts.
Yet your problems persist…
The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
- Use ESM yourself. (preferred)
Useimport foo from 'foo'
instead ofconst foo = require('foo')
to import the package. You also need to put"type": "module"
in your package.json and more. Follow the below guide. - If the package is used in an async context, you could use
await import(…)
from CommonJS instead ofrequire(…)
. - Stay on the existing version of the package until you can move to ESM.
// make sure you have changed your working directory to your project | |
cd app | |
// svelte | |
// see https://github.com/sveltejs/svelte/issues/2900#issuecomment-701644971 | |
npm install svelte | |
sed -i 's/svelte-\$/_$/g' ./node_modules/svelte/compiler.js | |
// sapper | |
npm install sapper |
ANSI escape codes can be printed to a shell to as instructions. The below is a list of codes I have used often in my CLI programs and I find myself looking up over and over again.
A great article about it can be found here.
Unless otherwise noted (either in this file or in a file's copyright section) the contents of this gist are Copyright ©️2020 by Christopher Allen, and are shared under spdx:Creative Commons Attribution Share Alike 4.0 International (CC-BY-SA-4.) open-source license.
If you more tips and advice like these, you can become a monthly patron on my GitHub Sponsor Page for as little as $5 a month; and your contributions will be multipled, as GitHub is matching the first $5,000! This gist is all about Homebrew, so if you like it you can support it by donating to them or becoming one of their Github Sponsors.