Skip to content

Instantly share code, notes, and snippets.

rl��r��#�n����p�<�b�$�rrp�l�����p��n�`rn|��n�܀�r����~�n���l`��#�n��;nr���;��?��rp�n���pp��<����b�ľ~�n�����rnr���;��?�l��r��l`�don't use rtc mem data
r�
SDK version:1.4.0
mode : sta(5c:cf:7f:01:5b:09)
add if0
0 = wifi_register_send_pkt_freedom_cb()
-1 = wifi_send_pkt_freedom(C0:00:00:00:63:6C:69:65:6E:74:61:70:6F:69:6E:74:61:70:6F:69:6E:74:10:00:07:00, 26, 0)
-1 = wifi_send_pkt_freedom(C0:00:00:00:63:6C:69:65:6E:74:61:70:6F:69:6E:74:61:70:6F:69:6E:74:20:00:07:00, 26, 0)
-1 = wifi_send_pkt_freedom(C0:00:00:00:63:6C:69:65:6E:74:61:70:6F:69:6E:74:61:70:6F:69:6E:74:30:00:07:00, 26, 0)
@stickytruth
stickytruth / data.csv
Last active August 29, 2015 14:19
The Button
We can't make this file beautiful and searchable because it's too large.
timestamp participants seconds_left
1428029331 527586 59
1428029334 527587 58
1428029336 527589 59
1428029337 527593 60
1428029340 527594 57
1428029343 527597 58
1428029344 527598 60
1428029345 527599 59
1428029346 527600 60
@stickytruth
stickytruth / example.py
Last active October 17, 2019 05:08
kernprof and flask
"""
Flask's reloader causes kernprof to fail.
Without the reloader it appears to work.
"""
from flask import Flask, request
import time
app = Flask(__name__)
app.testing = True
import argparse
import random
import json
GENDER = ['female', 'male']
JOBS = ["CEO", "Vice President", "Human Resources", "IT Manager", "Tech Support", "Sales Floor Employee"]
HAIR = ["White", "Black", "Red", "Blonde", "Brunette", "Grey"]
LENGTH = ["Short", "Medium", "Long", "Super Long"]
EYES = ["Brown", "Blue", "Green", "Hazel"]
GLASSES = [True, False]
{"default": {
"male": {
"diff": [4, 8, 12, 16],
"text": ["Variables are case-sensitive! $NAME $name $Name $NPC1NAME $NPC1name $NPC1Name", "Dumb $Name", "Semi-smart $job", "Smart $Job"]
},
"female": {
"diff": [4, 8, 12, 16],
"text": ["Variables are case-sensitive! $NAME $name $Name $NPC1NAME $NPC1name $NPC1Name", "Dumb $Job", "Semi-smart $Job", "Smart $Job"]
}
}, "CEO": {