You can get really good official docs here now https://github.com/adafruit/circuitpython/tree/main/ports/espressif
Below are the old notes (19 Oct 2020)
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
(() => { | |
const SHOW_SIDES = false; // color sides of DOM nodes? | |
const COLOR_SURFACE = true; // color tops of DOM nodes? | |
const COLOR_RANDOM = false; // randomise color? | |
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
const THICKNESS = 20; // thickness of layers | |
const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
# On Windows, within a VS developer prompt | |
# Dump the exports of msvcrt.dll | |
dumpbin.exe /exports C:\Windows\System32\msvcrt.dll > msvcrt.txt | |
# Copy msvcrt.txt to a Linux box | |
# Convert the file to Unix line endings | |
dos2unix msvcrt.txt |
You can get really good official docs here now https://github.com/adafruit/circuitpython/tree/main/ports/espressif
Below are the old notes (19 Oct 2020)
HMODULE hUser = GetModuleHandleA("user32.dll"); | |
if (hUser) | |
{ | |
pfnSetWindowCompositionAttribute setWindowCompositionAttribute = (pfnSetWindowCompositionAttribute)GetProcAddress(hUser, "SetWindowCompositionAttribute"); | |
if (setWindowCompositionAttribute) | |
{ | |
ACCENT_POLICY accent = { ACCENT_ENABLE_BLURBEHIND, 0, 0, 0 }; | |
WINDOWCOMPOSITIONATTRIBDATA data; | |
data.Attrib = WCA_ACCENT_POLICY; | |
data.pvData = &accent; |
This work, excluding the Arch Linux logo, is made available under CC0: https://creativecommons.org/publicdomain/zero/1.0/ |
000000 Officially Xerox | |
000001 SuperLAN-2U | |
000002 BBN (was internal usage only, no longer used) | |
000003 XEROX CORPORATION | |
000004 XEROX CORPORATION | |
000005 XEROX CORPORATION | |
000006 XEROX CORPORATION | |
000007 XEROX CORPORATION | |
000008 XEROX CORPORATION | |
000009 powerpipes? |
# if netid is logged in, send a random cat fact to all of its terminals. | |
# usage: crontab -e. paste in: | |
# 0 * * * * python ~/catfact.py | |
# logs in ~/victims.txt | |
# why did i spend so much time on this. | |
# this got me banned from the school servers for two days | |
messagechance = 5 # 1 is 1%, 99 is 99%. keep in mind this will only run if they're logged in. | |
postscript = '\n this has been an automated cat fact. contact me to unsubscribe. or to subscribe others.\n' | |
listofnetids = ['netids','go','here'] |
| HEADER | EMPHASIS | HORIZONTAL_LINE | LIST | TABLE
; Websocketclient by Netzvamp | |
; Version: 2016/01/08 | |
DeclareModule WebsocketClient | |
Declare OpenWebsocketConnection(URL.s) | |
Declare SendTextFrame(connection, message.s) | |
Declare ReceiveFrame(connection, *MsgBuffer) | |
Declare SetSSLProxy(ProxyServer.s = "", ProxyPort.l = 8182) | |
Enumeration |
import java.util.ArrayList; | |
public class HelloWorld { | |
public static final Integer a = 104; | |
private volatile static Object ob = "o"; | |
public static void good() { | |
class NiceInnerClass { public NiceInnerClass(){System.out.print('e'); abstract class xx {}}} | |
Object object = new NiceInnerClass(); | |
} |