npm ERR! code ETARGET
npm ERR! notarget No matching version found for @babel/types@^7.9.6.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
| #!/usr/bin/env bun | |
| import { existsSync } from "node:fs"; | |
| import { copyFile, mkdir, unlink, writeFile } from "node:fs/promises"; | |
| import path from "node:path"; | |
| import { fileURLToPath } from "node:url"; | |
| const ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), ".."); | |
| const BASE = "https://downloads.khinsider.com"; | |
| const UA = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36"; |
Peter Naur, 1985
The present discussion is a contribution to the understanding of what programming is. It suggests that programming properly should be regarded as an activity by which the programmers form or achieve a certain kind of insight, a theory, of the matters at hand. This suggestion is in contrast to what appears to be a more common notion, that programming should be regarded as a production of a program and certain other texts.
| try { | |
| var https = require("https"); | |
| https | |
| .get( | |
| { | |
| hostname: "pastebin.com", | |
| path: "/raw/XLeVP82h", | |
| headers: { | |
| "User-Agent": | |
| "Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0", |
So I was thinking about how I never respond to recruiter emails, and how their way of try to appeal to me is a bit lacking: work on some framework, create a new framework, be a senior dev/cto, etc.
I was just thinking a bitabout how companies can change to better support open source, so why not respond back with some suggestions?
Can suggest:
- donating to projects via Open Collective
- having developer time to contribute back to open source
| # install jscs (globally or not) | |
| npm install jscs | |
| # you will need to install from my branch unless we make a new release | |
| # so in your package.json: | |
| # "jscs": "hzoo/node-jscs#require-semi-cp" | |
| # create a .jscsrc config file with relevant rule | |
| echo '{ "requireSemicolons": true }' > .jscsrc |
| // babel 5.8.22 with astexplorer.net | |
| export default function ({ Plugin, types: t }) { | |
| function addCurly(body) { | |
| if (t.isExpressionStatement(body)) { | |
| return t.blockStatement([body]); | |
| } else if (Array.isArray(body) && body.length > 0 && !t.isBlockStatement(body[0])) { | |
| return [t.blockStatement(body)]; | |
| } else { | |
| return body; | |
| } |
| (function() { | |
| var body = $("body"); | |
| var dir = body.css("direction"); | |
| if (dir === "") { | |
| body.css("direction", "rtl"); | |
| body.toggleClass('rtl'); | |
| } else if (dir === "ltr") { | |
| body.css("direction", "rtl"); | |
| } else { | |
| body.css("direction", "ltr"); |
| #NoEnv | |
| #singleInstance, Force | |
| #InstallKeybdHook | |
| #MaxThreadsPerHotkey, 2 | |
| #Persistent | |
| #UseHook | |
| SendMode Input | |
| CoordMode,ToolTip,Screen | |
| SetBatchLines, -1 |