- Developer Mode enabled (of course)
- ruby & crxmake
- jsoncpp
- nodejs & node-dweetio
- crouton with xiwi
- crouton extension
- Inside your chroot, compile both C++ sources using jsoncpp.
| // | |
| // buffer.c | |
| // | |
| // Created by Homework User on 10/20/18. | |
| // Copyright ยฉ 2018 JackMacWindows. All rights reserved. | |
| // | |
| #include "buffer.h" | |
| #include <stdlib.h> | |
| #include <string.h> |
| /* Requires C99 or C++14 or later */ | |
| /* Chunklist file format */ | |
| #include <stdint.h> | |
| #define CHUNKLIST_MAGIC 0x4C4B4E43 | |
| #define CHUNKLIST_FILE_VERSION_10 1 | |
| #define CHUNKLIST_CHUNK_METHOD_10 1 | |
| #define CHUNKLIST_SIGNATURE_METHOD_10 1 | |
| #define CHUNKLIST_SIG_LEN 256 | |
| #define CHUNKLIST_PUBKEY_LEN (2048/8) | |
| #define SHA256_DIGEST_LENGTH 32 |
| // requires libpng and png++ (brew install png++) (sudo apt-get install libpng++-dev) | |
| // compile with g++ -o 8ci-png 8ci-png.cpp -lpng | |
| // add -I/usr/local/include if on mac and errors out with "png++/png.hpp: no such file or directory" | |
| #include <iostream> | |
| #include <fstream> | |
| #include <vector> | |
| #include <png++/png.hpp> | |
| //-----------8ci palette--------------- | |
| std::vector<png::rgb_pixel> colors = { |
| // Copyright Pololu Corporation. For more information, see http://www.pololu.com/ | |
| #ifdef __arm__ | |
| #include "PololuHD44780.h" | |
| #define LCD_CLEAR 0x01 | |
| #define LCD_SHOW_BLINK 0x0F | |
| #define LCD_SHOW_SOLID 0x0E | |
| #define LCD_HIDE 0x0C | |
| #define LCD_CURSOR_L 0x10 | |
| #define LCD_CURSOR_R 0x14 |
| // compile with: g++ -o hexedit -std=c++11 hexedit.cpp -lncurses | |
| #include <iostream> | |
| #include <fstream> | |
| #include <sstream> | |
| #include <string> | |
| #include <utility> | |
| #include <iomanip> | |
| #include <stdint.h> | |
| #include <math.h> | |
| #include <ncurses.h> |
| #include <iostream> | |
| #include <fstream> | |
| #include <string> | |
| #include <cstdint> | |
| #include "exprtk.hpp" | |
| typedef struct { | |
| char sGroupID[4]; | |
| uint32_t dwFileLength; | |
| char sRiffType[4]; |
| function C8S1A(outHandler) { | |
| var c = {}; | |
| c.out = outHandler; | |
| c.cache = new Array(256); | |
| c.exec = function(f, argv) { | |
| if (typeof this[f] != "function") {this.out("Invalid instruction " + typeof this[f]); return;} | |
| var nv = new Array(); | |
| var iter = 0; | |
| var skip = -1; | |
| //console.log(argv); |
| #include <iostream> | |
| #include <string> | |
| #include <vector> | |
| #include <utility> | |
| #include <png++/png.hpp> | |
| typedef std::vector<std::pair<size_t, size_t> > points_t; | |
| bool verbose = false; | |
| points_t get_points(size_t x, size_t y, png::uint_32 w, png::uint_32 h, int s) { |