In your command-line run the following commands:
brew doctor
brew update
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://www.npmjs.org/install.sh | sh |
// Paste this in a node v4.x REPL. | |
// let iso = require('./iso.countries.js'); | |
// iso.writeCountryJsonFile('test.js', (country) => { let o={}; o['name'] = country['name']; o['ISO3166-1-Alpha-2'] = country['ISO3166-1-Alpha-2']; o['code'] = country['ISO3166-1-Alpha-2']; o['Dial'] = country['Dial']; return o;}); | |
'use strict'; | |
let fs = require('fs'); | |
let countries; | |
const writeCountryJsonFile = (outputFilename, mapFunction) => { |
public enum CurrencyCode { | |
/*This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. | |
This program is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of | |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
[ | |
{ | |
"name": "", | |
"official_name_en": "Channel Islands", | |
"official_name_fr": "Îles Anglo-Normandes", | |
"ISO3166-1-Alpha-2": "", | |
"ISO3166-1-Alpha-3": "", | |
"M49": "830", | |
"ITU": "", | |
"MARC": "", |
To build the extension, update the username/password and zip `background.js` and `manifest.json` in a single archive. | |
In your command-line run the following commands:
brew doctor
brew update
If you’re a software engineer in 2025, you should be using Agent Mode in your editor, either in VSCode, Cursor, or Windsurf. It’s by far the single biggest productivity boost I’ve ever experienced.
If you haven’t tried it yet, it’s a more advanced ChatGPT in your editor that can understand your codebase, answer questions, write features for you, write tests, and review your changes. I usually use it to write features and answer questions for me.
Use agent mode in VS Code Agent Mode in VSCode making edits to the code For those who have or haven’t tried it, you’ll need to know how to prompt it to get the most out of it. Though many of the same principles apply, t