So I'm storing data in SQLite now, which means I need to make sure I know what I send to the database.
Which is why I define objects that look like this:
const GamePasswordModel = {
tableName: "gamePasswords",
primaryKey: "id",
columns: {So I'm storing data in SQLite now, which means I need to make sure I know what I send to the database.
Which is why I define objects that look like this:
const GamePasswordModel = {
tableName: "gamePasswords",
primaryKey: "id",
columns: {Si le fichier finit en ".md", alors les liens sont convertis automatiquement: https://itch.io/
On peut faire d'autres trucs rigolos comme des listes:
Pour plus d'infos: https://guides.github.com/features/mastering-markdown/
itch app tab fetching strategy:
| const {Key, registry, windef} = require("windows-registry"); | |
| let key; | |
| try { | |
| const path = "SOFTWARE\\Wow6432Node\\Microsoft\\XNA\\Framework\\v4.0"; | |
| key = registry.openKeyFromPredefined(windef.HKEY.HKEY_LOCAL_MACHINE, path, windef.KEY_ACCESS.KEY_QUERY_VALUE); | |
| const valBuf = registry.queryValueForKeyObject(key, "Refresh1Installed"); | |
| console.log("RefreshInstalled", valBuf.readInt32LE()); | |
| } finally { | |
| if (key && key.handle) { |
| async function main () { | |
| const noop = async () => null; | |
| const cherrypie = async () => { | |
| // throwing here is fine... | |
| // the next line loses stack trace info. comment it out to see it working | |
| await noop(); | |
| // throwing here is useless | |
| throw new Error("in c"); | |
| } |
| C:\msys64\home\amwenger\Dev\itch\node_modules\debug\src\browser.js:123 electron-compile:require-hook Got HMR signal! +33s | |
| C:\msys64\home\amwenger\Dev\itch\node_modules\debug\src\browser.js:123 electron-compile:require-hook Removing node module entry for C:\msys64\home\amwenger\Dev\itch\src\components\app.tsx +5ms | |
| C:\msys64\home\amwenger\Dev\itch\node_modules\debug\src\browser.js:123 electron-compile:require-hook Removing node module entry for C:\msys64\home\amwenger\Dev\itch\src\store\chrome-store.ts +1ms | |
| C:\msys64\home\amwenger\Dev\itch\node_modules\debug\src\browser.js:123 electron-compile:require-hook Removing node module entry for C:\msys64\home\amwenger\Dev\itch\src\reactors\route.ts +0ms | |
| C:\msys64\home\amwenger\Dev\itch\node_modules\debug\src\browser.js:123 electron-compile:require-hook Removing node module entry for C:\msys64\home\amwenger\Dev\itch\src\logger\index.ts +0ms | |
| C:\msys64\home\amwenger\Dev\itch\node_modules\debug\src\browser.js:123 electron-compile:require-hook Removing node module entry for |
| /* | |
| * Copyright (c) 2003 Fabrice Bellard | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal | |
| * in the Software without restriction, including without limitation the rights | |
| * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| * copies of the Software, and to permit persons to whom the Software is | |
| * furnished to do so, subject to the following conditions: | |
| * |
Omar is looking for:
(that would effectively act like a "patch" that doesn't delete removed files).
Here's what butler does: