Skip to content

Instantly share code, notes, and snippets.

[Unit]
Description=docker-run
[Service]
User=glot
Group=glot
Restart=always
RestartSec=10
ExecStart=/home/glot/bin/docker-run
Environment="SERVER_LISTEN_ADDR=0.0.0.0"
{"image": "vermusl/create-react-app", "payload": {
"language": "buildcreatereactapp",
"files": [
{
"content": "<!DOCTYPE html>\n<html lang=\"en\">\n\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">\n\t<meta name=\"theme-color\" content=\"#000000\">\n\t<!--\n manifest.json provides metadata used when your web app is added to the\n homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/\n -->\n\t<link rel=\"manifest\" href=\"%PUBLIC_URL%/manifest.json\">\n\t<link rel=\"shortcut icon\" href=\"%PUBLIC_URL%/favicon.ico\">\n\t<!--\n Notice the use of %PUBLIC_URL% in the tags above.\n It will be replaced with the URL of the `public` folder during the build.\n Only files inside the `public` folder can be referenced from the HTML.\n\n Unlike \"/favicon.ico\" or \"favicon.ico\", \"%PUBLIC_URL%/favicon.ico\" will\n work correctly both w
#include <emscripten.h>
// #include <stdio.h>
#include <stdlib.h>
char str[] = "Function from C (Web Assemblly) called!";
EMSCRIPTEN_KEEPALIVE
char* functionFromC () {
return &str[0];
}
#ufw status
Status: active
To Action From
-- ------ ----
6521/tcp ALLOW Anywhere
80/tcp ALLOW Anywhere
3306/tcp ALLOW 8.8.8.8
21/tcp ALLOW 8.8.8.8
6521/tcp ALLOW Anywhere (v6)