Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/?q=function&page=1331&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=function

Returns an array of strings in format "username" or "username/projectName"

Found 18322 results for "function"(2294ms)

val_NGfT1TNGLhmain.tsx1 match

@dhvanil•Updated 5 months ago
1
2 export async function val_NGfT1TNGLh(req) {
3 try {
4 // Execute the code directly and capture its result

val_ILKOorzhdBmain.tsx1 match

@dhvanil•Updated 5 months ago
1
2 export async function val_ILKOorzhdB(req) {
3 try {
4 // Execute the code directly and capture its result

val_baxJyb52GUmain.tsx1 match

@dhvanil•Updated 5 months ago
1
2 export async function val_baxJyb52GU(req) {
3 try {
4 // Execute the code directly and capture its result

val_Fyjpc3EX7Qmain.tsx1 match

@dhvanil•Updated 5 months ago
1
2 export async function val_Fyjpc3EX7Q(req) {
3 try {
4 // Execute the code directly and capture its result

val_b1fGFNEZW2main.tsx2 matches

@dhvanil•Updated 5 months ago
1
2 export async function val_b1fGFNEZW2(req) {
3 try {
4 // Execute the code directly and capture its result
6 // Exploit combining precision and temporal glitches
7const temporalPrecisionExploit = () => {
8 // Create a function that forces temporal quantum snapping
9 const forceTimeSnap = (timestamp) => {
10 const quantum = 100; // Observed quantum size

val_uHoOdOO8N5main.tsx1 match

@dhvanil•Updated 5 months ago
1
2 export async function val_uHoOdOO8N5(req) {
3 try {
4 // Execute the code directly and capture its result

val_kU5QVhf3ALmain.tsx2 matches

@dhvanil•Updated 5 months ago
1
2 export async function val_kU5QVhf3AL(req) {
3 try {
4 // Execute the code directly and capture its result
6 // Advanced exploit of precision glitch - testing value manipulation
7const precisionExploitAdvanced = () => {
8 // Function to force value transitions
9 const forceTransition = (start, end, steps = 10) => {
10 let results = [];

val_M1RP28Wp5Vmain.tsx1 match

@dhvanil•Updated 5 months ago
1
2 export async function val_M1RP28Wp5V(req) {
3 try {
4 // Execute the code directly and capture its result

val_RcFf3oHVQlmain.tsx2 matches

@dhvanil•Updated 5 months ago
1
2 export async function val_RcFf3oHVQl(req) {
3 try {
4 // Execute the code directly and capture its result
6 // Exploit proof-of-concept for matrix precision glitch
7const exploitPrecisionGlitch = () => {
8 // Create a function that forces values into specific rational states
9 const forceValueSnap = (value, target) => {
10 // Use extremely high precision to force rational interpretation

val_gFodtl1Mdmmain.tsx2 matches

@dhvanil•Updated 5 months ago
1
2 export async function val_gFodtl1Mdm(req) {
3 try {
4 // Execute the code directly and capture its result
6 // Attempt to exploit the rational number correction mechanism
7const exploitRationalPrecision = () => {
8 // Create a function that forces rational interpretation
9 const forceRational = (num, denominator = 1000000) => {
10 // Convert any number to a rational approximation

getFileEmail4 file matches

@shouser•Updated 1 week ago
A helper function to build a file's email
tuna

tuna8 file matches

@jxnblk•Updated 2 weeks ago
Simple functional CSS library for Val Town
lost1991
import { OpenAI } from "https://esm.town/v/std/openai"; export default async function(req: Request): Promise<Response> { if (req.method === "OPTIONS") { return new Response(null, { headers: { "Access-Control-Allow-Origin": "*",
webup
LangChain (https://langchain.com) Ambassador, KubeSphere (https://kubesphere.io) Ambassador, CNCF OpenFunction (https://openfunction.dev) TOC Member.