- To reduce search space of "is there a new favourite/better alternative" shop to get <something>
- Cims may not be aware of the "new pizza place" that just opened (and only consider places they know exist)
- some other event needs to trigger their awareness of it, like:
- from walking/driving by the place
- proximity to Cims who know about it (family, coworkers, people at the park..)
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
# my humble homage to tilde.club | |
server { | |
listen 80; | |
# to disallow anything other than what's below (like a direct IP) | |
server_name _; | |
} | |
server { | |
listen 80; |
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
(function() { | |
const fs = require('fs'); | |
if (process.argv.length < 4) { | |
console.error('Not enough parameters given. Try this: "node littlegrep_async filename.txt term"'); | |
process.exit(1); | |
} | |
filename = process.argv[2]; | |
searchterm = process.argv[3]; |
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
(function() { | |
const fs = require('fs'); | |
if (process.argv.length < 4) { | |
console.error('Not enough parameters given. Try this: "node findinfile_sync filename.txt term"'); | |
process.exit(1); | |
} | |
const filename = process.argv[2]; | |
const searchterm = process.argv[3]; |
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
(function() { | |
const fs = require('fs'); | |
if (process.argv.length < 4) { | |
console.error('Not enough parameters given. Try this: "node littlemultifilegrep filename.txt term"'); | |
process.exit(1); | |
} | |
filenames = process.argv.slice(2, -1); | |
searchterm = process.argv.slice(-1); |
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
#include "dz60.h" | |
#define MODS_CTRL_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT)) | |
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |
LAYOUT( | |
F(0), KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, | |
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, | |
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, |
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
#!/bin/bash | |
set -e | |
VERSION=1.20.4 | |
LATEST_JSON=$(curl -X 'GET' \ | |
"https://api.papermc.io/v2/projects/paper/versions/$VERSION/builds" \ | |
-H 'accept: application/json' \ | |
| jq '.builds | last ') |