Yutaro Koizumi
2025-09-30
A Frontend Night to Know the Respective Merits of Next.js vs Nuxt
#include <coroutine> | |
#include <print> | |
// https://github.com/NVIDIA/stdexec/ | |
#include <stdexec/execution.hpp> | |
namespace ex = stdexec; | |
template<typename T> | |
class Lazy { | |
public: |
#!/usr/bin/env bash | |
# 1Password CLI の op run を、引数でもインジェクション出来るようにするラッパースクリプト。 | |
# https://gist.github.com/kawaz/a2d0c5bece913a34d2a6d4a02ca6cc3c | |
op_args=() | |
while (( 0 < $# )); do | |
a=$1 | |
shift | |
op_args+=("$a") | |
[[ $a == -- ]] && break |
# こいつは systemctl enable sshd-tcpd.socket する | |
[Unit] | |
Description=ssh | |
ConditionPathExists=!/etc/ssh/sshd_not_to_be_run | |
Conflicts=ssh.socket | |
[Socket] | |
ListenStream=22 | |
Accept=yes |
package dumb_handle_map | |
// NOTE: ONLY TO SHOW WHAT A GENERATION IS DOING | |
// BUT DOES NO INSERTION WHATSOEVER | |
Handle_Map :: struct($T: typeid) { | |
entries: [dynamic]Entry(T), | |
} | |
Entry :: struct($T: typeid) { |
// Ref: https://old.reddit.com/r/C_Programming/comments/1dlc4kw | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define new(n, t) (t *)calloc(n, sizeof(t)) | |
typedef struct node node; | |
struct node { |
import lldb | |
def is_slice_type(t, internal_dict): | |
return t.name.startswith("[]") or t.name.startswith("[dynamic]") | |
class SliceChildProvider: | |
def __init__(self, val, dict): | |
self.val = val | |
def num_children(self): |
#include <memory.h> | |
#define _XOPEN_SOURCE_EXTENDED 1 | |
#include <sys/mman.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <climits> | |
#include <algorithm> | |
int main() { |