A Pen by lakasitosfm on CodePen.
Discover gists
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
Script started on 2025-02-11 19:24:51+00:00 [COMMAND="/home/ludovic/nuttx-release/run-job.sh sim-03" <not executed on terminal>] | |
Now running https://github.com/lupyuen/nuttx-release/blob/main/run-job.sh | |
Called by https://github.com/lupyuen/nuttx-release/blob/main/run-ci.sh | |
+ job=sim-03 | |
+ neofetch | |
.-/+oossssoo+/-. | |
`:+ssssssssssssssssss+:` | |
-+ssssssssssssssssssyyssss+- | |
.ossssssssssssssssssdMMMNysssso. | |
/ssssssssssshdmmNNmmyNMMMMhssssss/ |
The key reason for wanting schemafull JSON alongside object types in EdgeDB comes down to proper modeling of composite values that share their lifecycle with a parent entity. Let me explain with a concrete example:
Consider a Setting
resource that looks like this:
{
"id": "e2ba936c-fdfd-4873-8732-fb748e3f7f94",
"isActive": true,
"memberId": "member1",
"workspaceId": "workspace1",
"trigger": {
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
package com.model; | |
import jakarta.persistence.*; | |
/** | |
* Entity representing an address. | |
*/ | |
@Entity | |
public class Address { |
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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: dnsquery | |
labels: | |
app: dnsquery | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: |
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
import requests | |
from pwn import xor | |
def fetch(url): | |
return requests.get(url).json() | |
def main(): | |
ciphertext = fetch(f"http://aes.cryptohack.org/lazy_cbc/encrypt/{(b'a' * 32).hex()}/")['ciphertext'] | |
c0, c1 = ciphertext[:32], ciphertext[32:] |
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
import { writeFile } from 'fs/promises' | |
const DRAW_THINGS_URL = 'http://127.0.0.1:7860/sdapi/v1/txt2img' | |
const BATCH_COUNT = 5 | |
const IMG_SIZE = 512 | |
const MAX_FILE_NAME_LEN = 30 | |
const prompt = 'bunch of carrots' | |
const params = { |
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
%<<Roxio Creator NXT Gold Crack |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Will You Be My Valentine?</title> | |
<style> | |
/* pink Background with subtle Valentine-themed image */ | |
body { | |
background-color: pink; /* Set background color to pink */ |