Skip to content

Instantly share code, notes, and snippets.

View zacps's full-sized avatar

Zac Pullar-Strecker zacps

View GitHub Profile
import time
import numpy as np
from playsound import playsound
CREEPY_TEXT = [
"breathing",
"can I be your friend",
"give me my body back",
import time
import cv2
import serial
SERIAL_PORT = '/dev/ttyUSB0'
CLASSIFIER_YML = 'haarcascade_frontalface_default.xml'
‌‌‌᠎‌​‍᠎‌⁠᠎​᠎‌⁠‌᠎‌‍​᠎‌‌‍᠎⁠⁠⁠᠎‍᠎‍​‌​᠎⁠​​᠎‍​‌᠎‍​‍᠎‍᠎‍᠎‍⁠᠎⁠​⁠᠎‌‍‌​᠎‌⁠‌⁠᠎⁠​‍᠎‍​‌᠎‌᠎⁠​​᠎‌⁠‍‌᠎‍​⁠᠎‍⁠᠎⁠​‍᠎‍​‍᠎‌⁠⁠​᠎⁠​‍᠎‍​‍᠎‍​​᠎‍​​᠎‌⁠‌⁠᠎⁠​‍᠎‌‌᠎‍᠎⁠᠎⁠​​᠎‍​‌᠎‍‌᠎‌​‌‌᠎⁠‌᠎‌⁠⁠᠎​᠎​᠎‍​​​᠎‌‌‍᠎‌‌​​᠎‍​​‌᠎‌‍‌᠎​᠎​᠎​
This is a test to check that google will return results for invis_encoder encoded UUIDs.
The UUID encoded here is: f12bdca8-f46f-4ea7-a220-cccc49680e7d
@zacps
zacps / assembler.py
Last active June 1, 2019 23:57
Simple assembler for CS130 creature scripts
"""
# A primitive assembler for creature instructions.
## Usage
```
python assembler.py src.txt out.txt
```
## Source format
CREATE OR REPLACE VIEW mytable AS SELECT * FROM
(
VALUES
(1, '2018-08-03 05:00:00+00', 100, 10, 1000),
(2, '2018-08-03 05:00:00+00', 100, 11, 1001),
(3, '2018-08-03 05:00:00+00', 100, 12, 1002),
(4, '2018-08-03 05:00:00+00', 100, 13, 1003),
--
(5, '2018-08-03 05:01:00+00', 200, 20, 2000),
(6, '2018-08-03 05:01:00+00', 100, 10, 1000),
libwinpty_sys-c542213752f0d127.rlib(BackgroundDesktop.o) : error LNK2019: unresolved external symbol __imp_CreateDesktopW referenced in function "public: __cdecl BackgroundDesktop::BackgroundDesktop(void)" (??0BackgroundDesktop@@QEAA@XZ)
libwinpty_sys-c542213752f0d127.rlib(BackgroundDesktop.o) : error LNK2019: unresolved external symbol __imp_CloseDesktop referenced in function "public: void __cdecl BackgroundDesktop::dispose(void)" (?dispose@BackgroundDesktop@@QEAAXXZ)
libwinpty_sys-c542213752f0d127.rlib(BackgroundDesktop.o) : error LNK2019: unresolved external symbol __imp_GetThreadDesktop referenced in function "class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > __cdecl getCurrentDesktopName(void)" (?getCurrentDesktopName@@YA?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@XZ)
libwinpty_sys-c542213752f0d127.rlib(BackgroundDesktop.o) : error LNK2019: unresolved external symbol __imp_CreateWindowStationW referenced
NO
YES
YES
YES
NO
NO
YES
NO
YES
NO
This file has been truncated, but you can view the full file.
4 4
2 1 2
0
1 3
0
2 2 1
0
1 3
0
1
1
0
0
2
2
1
This file has been truncated, but you can view the full file.
5 3 10
1 2 3 5 5
1 5
4 5
2 1
1 1 10
10
1 1
4 1 10
-10 0 10 20