This is sample files for build openframeworks with Emscripten.
The article is available in ja-JP. 日本語の記事は以下にあります。
| import util from "util"; | |
| import events from "events"; | |
| import dgram from "dgram"; | |
| // ArtNet server class | |
| const listen = function (port, cb) { | |
| this.port = port; | |
| events.EventEmitter.call(this); | |
| // Set up the socket |
This is sample files for build openframeworks with Emscripten.
The article is available in ja-JP. 日本語の記事は以下にあります。
| name: Deployment | |
| on: deployment | |
| env: | |
| GCP_PROJECT: ${{ secrets.GCP_PROJECT }} | |
| GCP_REGION: ${{ secrets.GCP_REGION }} | |
| IMAGE: gcr.io/${{ secrets.GCP_PROJECT }}/${{.secrets.IMAGE_NAME }}:${{ github.event.deployment.environment }} | |
| jobs: |
| /** | |
| * Quick converter from JSON by FormatJS to POT for translation utilities. | |
| * stdin: JSON / stdout: POT | |
| */ | |
| const potHeader = `msgid "" | |
| msgstr "" | |
| "Project-Id-Version: JV-Campus skanda\\n" | |
| "Language: en_US\\n" | |
| "MIME-Version: 1.0\\n" |
| #include <ESP8266WiFi.h> | |
| #include <WiFiUdp.h> | |
| #define START_ADDR 1 | |
| #define SSID "***" | |
| #define PASSWORD "***" | |
| #define ART_NET_PORT 6454 | |
| #define ART_NET_ID "Art-Net\0" |
| /* | |
| * var_dump($_SERVER); | |
| */ | |
| array(72) { | |
| ["SERVER_SOFTWARE"]=> string(22) "Apache/2.4.38 (Debian)" | |
| ["REQUEST_URI"]=> string(7) "/events" | |
| ["REDIRECT_SCRIPT_URL"]=> string(7) "/events" | |
| ["REDIRECT_SCRIPT_URI"]=> string(40) "http://wp-mx3y2wughq-uw.a.run.app/events" | |
| ["REDIRECT_STATUS"]=> string(3) "200" |
Z:\interactive-cg\fltk-1.3.3
Z:\interactive-cg\fltk-1.3.3\lib
comctl32.lib;wsock32.lib;opengl32.lib;glu32.lib;odbc32.lib;odbccp32.lib;fltkd.lib;fltkformsd.lib;fltkgld.lib;fltkimagesd.lib;fltkjpegd.lib;fltkpngd.lib;fltkzlibd.lib;
| #include <wiringPi.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <unistd.h> | |
| int main(void) { | |
| int STROBE = 15; | |
| int DATA = 16; | |
| int CLK = 1; |