tested on ubuntu 20.04 ref
xdotool key XF86AudioPlay
xrandr -s 1920x1080 -r 60 |
/* css aspect-ratio */ | |
.width-same-as-height{ | |
aspect-ratio: 1 / 1; | |
height: 100%; | |
} |
import { serve } from "https://deno.land/std/http/server.ts"; | |
serve(req => new Response("Hello World\n"),{ | |
port: 3000 | |
}); |
import { h, json, jsx, serve } from "https://deno.land/x/sift/mod.ts"; | |
serve({ | |
"/set": () => { | |
localStorage.x = `${Math.random()}` | |
return new Response("hola") | |
}, |
import net.ftp | |
import os | |
const( | |
backup_dir = "backup" | |
) | |
fn main(){ | |
println("Connecting...") | |
mut conn := ftp.new() |
tested on ubuntu 20.04 ref
xdotool key XF86AudioPlay
_.templateSettings = { | |
evaluate: /\~([^~]*?)\~/, ///{{--([\s\S]+?)}}/g, | |
interpolate: /{{([\s\S]+?)}}/g, | |
escape: /{{-([\s\S]+?)}}/g | |
}; | |
// ~ eval ~ | |
// {{ interpolate }} | |
// {{- escape }} |
import Fetcher from 'https://raw.githubusercontent.com/4ov/deno-fetcher/main/mod.ts' | |
const app = new Fetcher(); | |
app.get('/', (event)=>{ | |
event.respondWith(new Response('hola')) | |
}) | |
addEventListener('fetch', app.handle.bind(app)) |
I hereby claim:
To claim this, I am signing this object:
import { serve } from "https://deno.land/std@0.79.0/http/server.ts"; | |
const s = serve({ port: 8000 }); | |
for await (const req of s) { | |
req.respond({ body: "4" }); | |
} |