All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.
This file contains hidden or 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
| <script> | |
| import { onMount } from 'svelte'; | |
| import { writable } from 'svelte/store'; | |
| const messages = writable([]); | |
| onMount(() => { | |
| const evtSource = new EventSource('/sse'); // Point to path | |
| evtSource.onmessage = function (event) { | |
| var dataobj = JSON.parse(event.data); |
This file contains hidden or 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
| To build IDJC (Internet DJ Console) on the latest version of Ubuntu, you can follow these steps: | |
| 1. Update your system: | |
| ``` | |
| sudo apt update | |
| sudo apt upgrade | |
| ``` | |
| 2. Install the required dependencies: | |
| ``` |
This file contains hidden or 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
| APP_NAME="<APP_NAME>" | |
| APP_TOKEN="<APP_TOKEN>" | |
| CAPROVER_URL="https://apps.your-caprover-hostname.com" |
This file contains hidden or 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
| #!/bin/bash | |
| << BLOCK | |
| MIT License. Do as you wish with this. | |
| Author: 2023 Nick Maietta <[email protected]> | |
| This is a bash script that deploys a SvelteKit application to CapRover using the Node 18 enviornment on Alpine Linux. | |
| The script starts by checking if the user has provided an environment name as a command-line argument. If no argument |
This file contains hidden or 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
| #!/bin/bash | |
| # This script prepares and deploys SvelteKit for Node servers. See: https://kit.svelte.dev/docs/adapter-node#deploying for details. | |
| APP_NAME="<replace_with_app_name>" | |
| APP_TOKEN="<replace_with_token>" | |
| CAPROVER_URL="https://root-domain.com" | |
| if ! [ -x "$(command -v caprover)" ]; then | |
| echo "Installing CapRover globally." |
This file contains hidden or 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
| # Caprover App Config | |
| APP_NAME=cool-app-frontend | |
| APP_TOKEN=113771eb3437d6df5c03bd47017270b584e9d894ed95fb353a607441c9f1d349 | |
| CAPROVER_SERVER=https://captain.example.com |
This file contains hidden or 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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <Response> | |
| <Say voice="woman" language="en-US">All systems are operational at this time.</Say> | |
| </Response> |
This file contains hidden or 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
| package main | |
| import ( | |
| "bytes" | |
| "fmt" | |
| "io" | |
| "log" | |
| "mime/multipart" | |
| "net/http" | |
| "os" |
This file contains hidden or 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
| // First, run a Chrome instance on your Mac: | |
| // /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 &> /dev/null &; disown | |
| const puppeteer = require('puppeteer-core'); | |
| const axios = require('axios'); | |
| const getBrowserWSEndpoint = async (baseUrl) => { | |
| const response = await axios.get(`http://${baseUrl}/json/version`); | |
| return response.data.webSocketDebuggerUrl; |