Running GAP via Devbox on MacOS
Devbox is a pretty great interface for Nix....
Devbox is a pretty great interface for Nix....
Devbox is a pretty great interface for Nix. Natch, there re edge cases where devbox commands alone won't do. Recently, one of my python virtual environments in devbox kept having dependency problems....
Getting Devbox (or nix) to work with MacOS compile chains can be tricky. In my cse I needed to use an older version of Xcode (15)....
In general, in a MongoDB production environment using Mongoose, the driver should automatically reconnect to the database when it loses its connection....
The Yarn npm client provides support for flat installs, which solves our #1 issue with npm. - Justin Fagnani
C'mon npm 6!
One quick trick to find out....
“Insanely fast, headless full-stack testing using Node.js”
Now with a newer version of JSDOM underneath. Ba-bam!
Suppose we want to traverse an object obj
like so obj.key1.key2.key3...
. For any object, we’d have to check that the key (key1
, key2
, key3
, etc) exists while we traverse....
How to add emmet to atom for JSX without ruining your ability to tab. Go to the Atom
menu then Keymap...
and add this to your keymap.cson
file....
First of all, this tutorial is pretty dope. Here are some pointers:
Here’s a useful (semi-useless) discovery. To get gulp tasks to execute synchronously, we need to return the gulp stream at the end of each task so they can pass onto an implicit promise....
Because regex is awesome, I decided to write a little note about it. I don’t use a lot of regex in my JavaScript....
So, if you want to send some top secret stuff, you should probably talk to a security expert. But if you’re sending second-rank secret stuff to a Mac user Disk Utility is great....
Sometimes I get some cruft in my development environment. I’m a big fan of git stashes....
Ok, as I think I mentioned, there is no native ruby mp3 player. Fortunately, there is a paperclip and another server....
So, there’s no native Ruby mp3 player which could decode an mp3 into a WAV/PCM file. However, creating a waveform graph from a PCM/WAV file is actually fairly trivial....
So, I decided to make a soundcloud clone. It’s a hybrid multi/single page app: I’ll be making extensive use of Rails, but I’ll also have some backbone.js parts....
After creating a gist clone using backbone, we saw a demo of another (better) way of doing it using rabl, a JSON templating system....
Ostensibly one might think that a single page application would be simpler than a multi-page app. I mean, it’s just one page. The multi-page app might be dozens of pages....