Note: The current date (THURSDAY April 17, 2025) was set in the System Prompt.
what day is it?
First, I need to determine the current date and time provided.
The given date is 2025-04-17T09:13:51.843-04:00.
git fetch origin | |
git reset --hard origin/main | |
git clean -fxd |
#!/usr/bin/env bash | |
export PROJECT_ID=$(gcloud config get-value project) | |
export PROJECT_USER=$(gcloud config get-value core/account) # set current user | |
export PROJECT_NUMBER=$(gcloud projects describe $PROJECT_ID --format="value(projectNumber)") | |
export IDNS=${PROJECT_ID}.svc.id.goog # workflow identity domain | |
export GCP_REGION="us-east1" # CHANGEME (OPT) | |
export GCP_ZONE="us-east1-c" # CHANGEME (OPT) | |
export NETWORK_NAME="default" |
import http from 'k6/http'; | |
import { sleep } from 'k6'; | |
export default function() { | |
const response = http.get('https://example.com/'); | |
console.log(response.timings.duration); | |
sleep(5); | |
} |
#!/usr/bin/env node | |
console.log("Hello world!") |
/** | |
* Author: Mitch Allen (https://mitchallen.com) | |
* https://scriptable.com/ | |
*/ | |
var fs = require('fs'); | |
function generate(limit) { | |
let width = 1024 |
"use strict"; | |
var assert = require('assert'); | |
const demoMain = require('..'); | |
describe('demo-main', function () { | |
context('smoke test', function () { | |
it('should add first two numbers and subtract the third', function (done) { | |
const a = 100, b = 200, c = 50; |
"use strict"; | |
var tools = require('@YOUR-SCOPE/demo-tools'); | |
module.exports = demoMain; | |
function demoMain(a,b,c) { | |
// return a + b - c | |
return tools.subtract(tools.add(a,b),c); | |
} |
'use strict'; | |
var assert = require('assert'); | |
const demoTools = require('..'); | |
describe('demo-tools', function () { | |
context('smoke test', function () { | |
it('add should add two numbers together', function (done) { | |
assert.strictEqual(demoTools.add(100,200),300); |
"scripts": { | |
"test": "mocha __tests__/*.test.js" | |
} |