Skip to content

Instantly share code, notes, and snippets.

import os
import shutil
from PIL import Image
assetpath = "C:\\Users\\kaste\\AppData\\Local\\Packages\\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\\LocalState\\Assets\\"
_, _, assets = next(os.walk(assetpath), (None, None, []))
jpegpath = "D:\\LockScreen\\Images\\"
_, _, jpegs = next(os.walk(jpegpath), (None, None, []))
#include "FastLED.h"
CRGB leds[600];
void setup()
{
FastLED.addLeds<WS2812B, 10, GRB>(leds, 600);
FastLED.setBrightness(255);
}
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Jigsaw puzzle</title>
<script type="text/javascript">
function save(filename, data)
{
var blob = new Blob([data], {type: "text/csv"});