I hereby claim:
- I am richardbray on github.
- I am richbray (https://keybase.io/richbray) on keybase.
- I have a public key ASCLyjIa-d-1ov2SDJYGL9OPmfg6vaAPc8igJnyf9Wrpago
To claim this, I am signing this object:
| const secret = process.env.SECRET_KEY || "not found"; | |
| console.log(`SECRET_KEY: ${secret}`); | |
| return "Result: Code executed successfully"; |
| # ----------------------------------------------------------------------------- | |
| # tokyo night | |
| # ----------------------------------------------------------------------------- | |
| foreground: &foreground "#a9b1d6" | |
| background: &background "#1a1b26" | |
| current_line: ¤t_line "#1e202e" | |
| selection: &selection "#515c7e" | |
| comment: &comment "#51597d" | |
| cyan: &cyan "#7dcfff" |
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: otel-collector-config | |
| data: | |
| config.yaml: | | |
| receivers: | |
| otlp: | |
| protocols: | |
| http: |
| import { Cloudinary, Transformation } from "@cloudinary/url-gen"; | |
| import { fill } from "@cloudinary/url-gen/actions/resize"; | |
| import { source } from "@cloudinary/url-gen/actions/overlay"; | |
| import { image } from "@cloudinary/url-gen/qualifiers/source"; | |
| import { Position } from "@cloudinary/url-gen/qualifiers/position"; | |
| import { autoGravity, compass } from "@cloudinary/url-gen/qualifiers/gravity"; | |
| import { AdvancedImage } from "@cloudinary/react"; | |
| import { colorize } from "@cloudinary/url-gen/actions/effect"; | |
| function App() { |
| function log(originalMethod: any, _context: any) { | |
| function replacementMethod(this: any, ...args: any[]) { | |
| // const startTime = performance.now(); | |
| console.log(`${originalMethod.name} START`); | |
| const result = originalMethod.call(this, ...args); | |
| console.log(`${originalMethod.name} END`); | |
| // const endTime = performance.now(); | |
| // console.log(`Method ${originalMethod.name} took ${endTime - startTime} milliseconds`); | |
| return "result: " + result; | |
| } |
| #!/bin/bash | |
| # This script is a W.I.P | |
| # To use it, just save the file and run sh git-pull.sh | |
| git fetch | |
| git diff HEAD..FETCH_HEAD | |
| read -p "Do you want to merge? (Y/n) " answer |
| import { Hono } from 'hono'; | |
| import logger from './utils/logger'; | |
| const app = new Hono(); | |
| const fakeDB: Array<{ text: string; id: number }> = []; | |
| app.get('/', (c) => c.text('Simple Wishlist API')); | |
| app.get('/wishlist', (c) => { | |
| return c.json([...fakeDB], 200); |
| { | |
| "items": [ | |
| { | |
| "name": "Blue T-Shirt", | |
| "price": 19.99, | |
| "description": "A classic blue t-shirt made from soft cotton.", | |
| "image_url": "https://images.pexels.com/photos/11830106/pexels-photo-11830106.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2" | |
| }, | |
| { | |
| "name": "Red Hoodie", |
I hereby claim:
To claim this, I am signing this object:
| #ifdef GL_ES | |
| precision mediump float; | |
| #endif | |
| // Being in values from the CPU | |
| // Read only value sent to all the threads/processes | |
| uniform vec2 u_resolution; // Global vector shader variable | |
| float circleShape(float radius, vec2 position) { | |
| // distance(p1, p2) - returns the distance between two points |