github.com/AlDanial/cloc v 1.98 T=0.01 s (1216.9 files/s, 67572.7 lines/s)
| Language | files | blank | comment | code |
|---|---|---|---|---|
| JSON | 5 | 0 | 0 | 8237 |
| JavaScript | 19 | 179 | 31 | 791 |
| #!/usr/bin/env bash | |
| now=$(date '+%Y%m%d%H%M%S') | |
| echo -e "SecsElapsed,Temp" >> test-${now}.csv | |
| runtime=900 | |
| resolution=5 | |
| SECONDS=0 | |
| while (( $SECONDS < $runtime )); do | |
| cpu_temp=$($(cat /sys/class/thermal/thermal_zone0/temp) / 1000) |
| import torch | |
| import cv2 | |
| import RRDBNet_arch as arch | |
| import numpy as np | |
| import BLIP.models.blip | |
| import os | |
| from torchvision import transforms | |
| from torchvision.transforms.functional import InterpolationMode | |
| from diffusers import StableDiffusionPipeline, StableDiffusionImg2ImgPipeline, LMSDiscreteScheduler |
If you're smart, you'll use the 64-bit Lite image, but I didn't find that at first and went with the 64-bit Desktop image. This meant more work cleaning up unnecessary packages.
| #include <Arduino.h> | |
| #include <ESP8266WiFi.h> | |
| #define WIFI_SSID "bar" | |
| #define WIFI_PSK "changeme" | |
| #define IFTTT_WEBHOOK_URL "https://maker.ifttt.com/trigger/YOUR EVENT NAME HERE/with/key/YOUR KEY HERE" | |
| #define IFTTT_WEBHOOK_HOST "maker.ifttt.com" | |
| #define IFTTT_WEBHOOK_PORT 80 | |
| #define HTTP_TIMEOUT 5 // 5 seconds |
| * AppleSkin - Adds saturation info to hunger bar | |
| * Biomes O' Plenty - Tons of new biomes | |
| * Chameleon - Library | |
| * Chisel - Adds a ton of blocks | |
| * Clumps - clumps XP orbs | |
| * Corail Tombstone - "death chest" | |
| * CraftTweaker2 | |
| * CTM - Library | |
| * FoamFix - Performance | |
| * Inventory Tweaks - Auto replace broken tools and auto-sort chests/inventory |