https://noisebridge.net/wiki/Flaschen_Taschen https://github.com/hzeller/flaschen-taschen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scotty-macbook-air:server scotty$ make FT_BACKEND=terminal | |
c++ -Wall -O3 -I../common -DFT_BACKEND=2 -c -o main.o main.cc | |
main.cc:66:9: error: use of undeclared identifier 'getresuid' | |
if (getresuid(&ruid, &euid, &suid) >= 0) { | |
^ | |
main.cc:76:9: error: use of undeclared identifier 'setresgid' | |
if (setresgid(g->gr_gid, g->gr_gid, g->gr_gid) != 0) { | |
^ | |
main.cc:85:9: error: use of undeclared identifier 'setresuid' | |
if (setresuid(p->pw_uid, p->pw_uid, p->pw_uid) != 0) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "FastLED.h" | |
FASTLED_USING_NAMESPACE | |
// FastLED "100-lines-of-code" demo reel, showing just a few | |
// of the kinds of animation patterns you can quickly and easily | |
// compose using FastLED. | |
// | |
// This example also shows one easy way to define multiple | |
// animations patterns and have them automatically rotate. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "FastLED.h" | |
FASTLED_USING_NAMESPACE | |
#if FASTLED_VERSION < 3001000 | |
#error "Requires FastLED 3.1 or later; check github for latest code." | |
#endif | |
#define BRIGHTNESS 96 | |
#define FRAMES_PER_SECOND 240 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
class Flaschen(object): | |
def __init__(self, host, port, width, height, layer=0): | |
self.host = host | |
self.port = port | |
self.width = width | |
self.height = height | |
self.layer = layer | |
self.pixels = [] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 | |
SECTION | |
2 | |
HEADER | |
9 | |
$ACADVER | |
1 | |
AC1014 | |
9 | |
$HANDSEED |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer