How to use:
./wordle.sh
Or try the unlimit mode:
THIS GIST IS OUT OF DATE! Please use my new project template here to get started with Zig on Playdate: | |
https://github.com/DanB91/Zig-Playdate-Template | |
The rest of this is preservied for historical reasons: | |
This is a small snippet of some code to get you started for developing for the Playdate on Zig. This code should be used as a starting point and may not compile without some massaging. This code has only been tested out on macOS and you'll need to modify the addSharedLibrary() portion of build.zig to output a .dll or .so instead of a .dylib, depending on you platform. | |
This code will help you produce both an executable for the Playdate simulator and also an executable that actually run on the Playdate hardware. |
const fs = require('fs'); | |
const source = fs.readFileSync("./await2.wasm"); | |
const typedArray = new Uint8Array(source); | |
;(async function () { | |
var callback, frame | |
var buffer = Buffer.from("hello world!!!\n") | |
var result = await WebAssembly.instantiate(typedArray, { | |
env: { | |
print: function (ptr, len) { |
// put this in a file where your service worker used to live, like yourdomain.com/service-worker.js. You can find out this path in the SW dev tools of your browser | |
self.addEventListener('install', (e) => { | |
console.log('[Service Worker] Installing Service Worker ...', e); | |
self.skipWaiting(); | |
}); | |
self.addEventListener('activate', (e) => { | |
console.log('[ServiceWorker] Activate'); | |
self.registration |
Tutorial: https://www.youtube.com/watch?v=hIqMrPTeGTc
Paste the below code in your browser console (F12 > Console):
(()=>{
markAllVideosAsNotBeingInteresting({
iterations: 1
});
})();
I Don't Need Port Forwarding and Don't Care About CGNAT
This was rewritten 2022-11-30
This article is for users that want all these features:
# Dashboard | |
# Full example from https://github.com/rapidsai-community/showcase/tree/main/team_contributions/cuxfilter-tutorial | |
# Data | |
cux_df = cuxfilter.DataFrame.load_graph((final_df, edges)) | |
# Charts | |
chart1 = cuxfilter.charts.graph( | |
edge_source='src', edge_target='dst', | |
edge_color_palette=['gray', 'black'], |
For a version without the collapsible details sections (so you can search the whole thing in your browser), click here.
import os | |
from typing import Optional | |
from urllib.parse import urlencode | |
import httpx | |
from fastapi import Cookie, FastAPI | |
from fastapi.responses import HTMLResponse, RedirectResponse | |
# make sure to set these env vars |