I hereby claim:
- I am lowellbander on github.
- I am frombelow (https://keybase.io/frombelow) on keybase.
- I have a public key ASDf6BDgMkFSS1ZTTZcCfVszGh7karLQqMTlZXrgRSYOMAo
To claim this, I am signing this object:
runtime: nodejs16 |
steps: | |
- name: node | |
entrypoint: npm | |
args: ["install"] | |
- name: "gcr.io/cloud-builders/gcloud" | |
args: ["app", "deploy"] | |
timeout: "1600s" |
let express = require('express'); | |
var app = express(); | |
app.get('/', (req, res) => { | |
res.send('Here it is, the aid app!'); | |
}); | |
const PORT = process.env.PORT || 3000; |
I hereby claim:
To claim this, I am signing this object:
from random import randint as rand | |
numbers_dict = {} | |
while len(numbers_dict) < 20: | |
numbers_dict[rand(1, 60)] = "lowell & kelly forever" | |
numbers = numbers_dict.keys() | |
numbers.sort() | |
print(numbers) |
def makeHash(password): | |
return sha256(password.encode('utf-8')).hexdigest() | |
# the `password` argument must be encoded before being hashed to avoid the following error: | |
# TypeError: Unicode-objects must be encoded before hashing |
// run me in the desired directory: `node --harmony genPieces.js` | |
var fs = require('fs'); | |
var directory = process.cwd(); | |
String.prototype.contains = _ => this.indexOf(_) != -1; | |
var pieces = fs.readdirSync(directory) | |
.filter(_ => _.contains('.png') || _.contains('jpg')) | |
.map(_ => { | |
var title = _.substring(0, _.indexOf('.')); | |
return '\nnew Piece({\n\ttitle: \'' + title + '\',\n\t' | |
+ 'description: \'a description for ' + title + '\',\n\t' |
(defun unique (items) | |
(cond | |
((null items) t) | |
((contains (first items) (rest items)) nil) | |
(t (unique (rest items))) | |
) | |
) | |
(defun contains (needle haystack) | |
(cond |
(defun h204156534 (s) | |
(cond | |
((null s) 0) | |
(t (+ (delta (first s) 0 0) (h204156534 (rest s)))) | |
) | |
) | |
; DELTA returns the absolute value of the difference between the number of | |
; boxes and goals in ROW. BOXCARRY and GOALCARRY are both expected to have value | |
; 0 when DELTA is called by a function other than itself. |
(defun goal-test (s) | |
(cond | |
((null s) t) ; an empty map doesn't have boxes on non-goal squares | |
((has box (first s)) nil) | |
(t (goal-test (rest s))) | |
) | |
);end defun | |
(defun has (item items) | |
(cond |