ANSI escape codes
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.
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.
This seems super easy and should be simple... (Famous last words)
<div class="a b"></div>
.a {
MO
Premise: A framework to add files to a monorepo easily.
config.mo.js
export default {
Original article: https://aaronparecki.com/2016/07/29/10/git-tower and https://github.com/pstadler/keybase-gpg-github
Install https://gpgtools.org/
Install https://keybase.io/
Create a new GPG key on keybase.io ore transfer your old one
Set up Git to sign all commits
SVG with two colors embedded
To free up some space in your slack workspace and having to delete each file by hand
To run the app you first need a legacy token from slack for your workspace.
Then download the cleanSlack.js
file and run it via Node.js.
By default the script will delete files older than a year. You can change that in the TIMESTAMP
variable.
I recently had several days of extremely frustrating experiences with service workers. Here are a few things I've since learned which would have made my life much easier but which isn't particularly obvious from most of the blog posts and videos I've seen.
I'll add to this list over time – suggested additions welcome in the comments or via twitter.com/rich_harris.
Chrome 51 has some pretty wild behaviour related to console.log
in service workers. Canary doesn't, and it has a load of really good service worker related stuff in devtools.
List all node processes:
ps -e|grep node
Make note of the process ID and kill it by:
I hereby claim:
To claim this, I am signing this object: