This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Hello, and welcome to makefile basics. | |
# | |
# You will learn why `make` is so great, and why, despite its "weird" syntax, | |
# it is actually a highly expressive, efficient, and powerful way to build | |
# programs. | |
# | |
# Once you're done here, go to | |
# http://www.gnu.org/software/make/manual/make.html | |
# to learn SOOOO much more. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// See comments below. | |
// This code sample and justification brought to you by | |
// Isaac Z. Schlueter, aka isaacs | |
// standard style | |
var a = "ape", | |
b = "bat", | |
c = "cat", | |
d = "dog", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**package | |
* { "name": "npm-test-single-file" | |
* , "main": "index.js" | |
* , "version": "1.2.3" | |
* , "description":"No package.json in sight!" | |
* , "dependencies": { "minimatch": "*" } | |
* } | |
**/ | |
module.exports = "I'm just a lonely index, naked as the day I was born." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file:///Users/isaacs/Developer/vltpkg/vltpkg/src/graph/dist/esm/reify/build.js:17 | |
await graphRun({ | |
^ | |
Error: failed graph traversal | |
at async build (file:///Users/isaacs/Developer/vltpkg/vltpkg/src/graph/dist/esm/reify/build.js:17:5) | |
at async reify_ (file:///Users/isaacs/Developer/vltpkg/vltpkg/src/graph/dist/esm/reify/index.js:64:5) | |
at async reify (file:///Users/isaacs/Developer/vltpkg/vltpkg/src/graph/dist/esm/reify/index.js:30:9) | |
at async command (file:///Users/isaacs/Developer/vltpkg/vltpkg/src/vlt/dist/esm/commands/install.js:24:5) | |
at async Module.run (file:///Users/isaacs/Developer/vltpkg/vltpkg/src/vlt/dist/esm/index.js:36:9) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file:///Users/isaacs/Developer/vltpkg/vltpkg/src/graph/dist/esm/reify/build.js:17 | |
await graphRun({ | |
^ | |
Error: failed graph traversal | |
at async build (file:///Users/isaacs/Developer/vltpkg/vltpkg/src/graph/dist/esm/reify/build.js:17:5) | |
at async reify_ (file:///Users/isaacs/Developer/vltpkg/vltpkg/src/graph/dist/esm/reify/index.js:64:5) | |
at async reify (file:///Users/isaacs/Developer/vltpkg/vltpkg/src/graph/dist/esm/reify/index.js:30:9) | |
at async command (file:///Users/isaacs/Developer/vltpkg/vltpkg/src/vlt/dist/esm/commands/install.js:24:5) | |
at async Module.run (file:///Users/isaacs/Developer/vltpkg/vltpkg/src/vlt/dist/esm/index.js:36:9) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 9a03c3e2d958202a0d1b9477a25406b5bd904a30 Mon Sep 17 00:00:00 2001 | |
From: isaacs <i@izs.me> | |
Date: Mon, 8 Jul 2024 10:44:26 -0700 | |
Subject: [PATCH] Add note about using EOL release versions | |
As much as we can recommend against this, people are still going to do it | |
sometimes. We may as well help users reduce the risk and also give package | |
authors something to point to when the predictable breakage occurs. | |
--- | |
apps/site/pages/en/about/previous-releases.mdx | 9 +++++++++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 0536a49691e13aa2c858770a447657332c07a3c9 Mon Sep 17 00:00:00 2001 | |
From: isaacs <i@izs.me> | |
Date: Mon, 8 Jul 2024 10:32:06 -0700 | |
Subject: [PATCH] fix: correct 'Edit this page' links | |
--- | |
apps/site/util/gitHubUtils.ts | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/apps/site/util/gitHubUtils.ts b/apps/site/util/gitHubUtils.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let g:coc_global_extensions = ['coc-tsserver', 'coc-json'] | |
" Add CoC Prettier if prettier is installed | |
" if isdirectory('./node_modules') && isdirectory('./node_modules/prettier') | |
" let g:coc_global_extensions += ['coc-prettier'] | |
" endif | |
nmap <leader>gn <Plug>(coc-diagnostic-prev) | |
nmap <leader>gm <Plug>(coc-diagnostic-next) | |
nmap <leader>gd <Plug>(coc-definition) | |
nmap <leader>gy <Plug>(coc-type-definition) | |
nmap <leader>gi <Plug>(coc-implementation) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// look at this glorious shit!! look what you can do with with!! | |
const someObject = { | |
foo: 'bar', | |
baz: 1, | |
asdf: ['quux'], | |
} | |
with (someObject) { | |
console.log(foo) |
NewerOlder