Skip to content

Instantly share code, notes, and snippets.

View ubinix-warun's full-sized avatar
🎯
Focusing

Warun C. ⚡ ubinix-warun

🎯
Focusing
View GitHub Profile
Generate a personalized morning fitness routine based on my fitness level, time availability, and specific goals

fitness level: beginner
time availability: 20 mins
goals: core
preferences or limitations: no equipment, no lunge or jumping 

import { Hono } from 'hono'
import type { Callback, CloudFrontRequest } from 'hono/lambda-edge'
import { handle } from 'hono/lambda-edge'
type Bindings = {
callback: Callback
request: CloudFrontRequest
}
const app = new Hono<{ Bindings: Bindings }>()
import * as cdk from 'aws-cdk-lib';
import { NodejsFunction } from 'aws-cdk-lib/aws-lambda-nodejs';
import * as lambda from 'aws-cdk-lib/aws-lambda';
import * as logs from 'aws-cdk-lib/aws-logs';
import * as destinations from 'aws-cdk-lib/aws-logs-destinations';
import { Construct } from 'constructs';
export class CloudwatchLineNotifyStack extends cdk.Stack {
public readonly watchFn: lambda.Function;
@ubinix-warun
ubinix-warun / Nostamask -- Introduction.md
Last active March 14, 2024 03:02
Nostamask 👺 -- Navigating Nostr Safely with Nostamask Snap.

Nostamask 👺 -- Navigating Nostr Safely with Nostamask Snap.

In an ever-evolving landscape of blockchain technologies and decentralized networks, seamless interaction and secure transactions have become paramount. Introducing Nostamask, a revolutionary Snaps plugin for Metamask, designed to redefine how users connect with the Nostr Network.

The Nostamask project addresses the challenges users currently face when navigating the complexities of Nostr Network interactions through Metamask.

We create Nostamask by extend the functionality of MetaMask Flask with Snaps, use nostr-tools interact Nostr network via relays and fork twitter-clone style to demonstrate the Snaps, use [Infura IPFS](https://docs.infura.io/networks/ipfs/http-api-m

<!doctype html>
<html>
<head>
<script src= "node_modules/xterm/lib/xterm.js"></script>
</head>
<body>
<div id="terminal"></div>
<script>
var term = new Terminal ({ scrollback: 9999999 });
</script>