This algorithm returns the points that form an orthogonal path between two rectangles.
// Define shapes
const shapeA = {left: 50, top: 50, width: 100, height: 100};
const shapeB = {left: 200, top: 200, width: 50, height: 100};
This algorithm returns the points that form an orthogonal path between two rectangles.
// Define shapes
const shapeA = {left: 50, top: 50, width: 100, height: 100};
const shapeB = {left: 200, top: 200, width: 50, height: 100};
#!/usr/bin/env bash | |
echo "Installing Language Tool server using brew" && | |
brew install languagetool && | |
echo "Starting Language Tool Service" && | |
brew services start languagetool | |
# install the browser extension from: https://languagetool.org/#firefox_chrome | |
# Go to extension options > advanced > LanguageTool server > Select "Local server (localhost) - requires LanguageTool server running locally" |
# Copyright by ph00lt0 | |
# Managed by ph00lt0 at https://github.com/ph00lt0 | |
# License: available in repo | |
facebook.com | |
instagram.com |
dd if=/dev/zero of=zerofillfile bs=1M | |
rm zerofillfile | |
(shut down VM) | |
Host: VBoxManage modifyhd --compact (insert path to VDI file) |
User-agent: archive.org_bot | |
Disallow: / | |
User-agent: ia_archiver | |
Disallow: / | |
User-agent: web collector | |
Disallow: / | |
User-agent: Sniper |
#!/bin/sh | |
ffsend upload --no-interact --downloads 3 --expiry-time 5d --copy "$@"; | |
terminal-notifier -message "Files have been uploaded" -title "⬆ Send" -open 'Clipboard' -contentImage https://user-images.githubusercontent.com/15004290/189523837-9caa68b6-cb84-49e0-a52d-25c6feae3bf0.png; |
... | |
<dict> | |
<key>LSUIElement</key> | |
<string>1</string> | |
... |
server { | |
... | |
location / { | |
rewrite ^/app/uploads/armember/(.*)$ /vault.php?listing=$1 last; | |
} | |
... | |
} |
location ~ ^/images/(.*) { | |
return 301 /assets/images/$1; | |
} |