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
| import React, { useState, useEffect } from 'react' | |
| import styled from 'styled-components' | |
| import { useCanvas } from 'utils/hooks' | |
| import debounce from 'lodash/debounce' | |
| export default function Glow() { | |
| const [ref, setRef] = useState<HTMLCanvasElement | null>(null) | |
| const [boxes, setBoxes] = useState<Box[]>([]) | |
| const [ctx, width, height] = useCanvas(ref) | |
| const moving = useMouseMoving() |
Hi there! Since this post was originally written, nvm has gained some new tools, and some people have suggested alternative (and potentially better) approaches for modern systems. Make sure to have a look at the comments to this article, before following this guide!
Trickier than it seems.
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
| exports.createHandler = function (method) { | |
| return new Handler(method); | |
| } | |
| Handler = function(method) { | |
| this.process = function(req, res) { | |
| params = null; | |
| return method.apply(this, [req, res, params]); | |
| } | |
| } |