Skip to content

Instantly share code, notes, and snippets.

View ph00lt0's full-sized avatar
🪐
Hac Planeta Percute

Mare Polaris ph00lt0

🪐
Hac Planeta Percute
View GitHub Profile
@ph00lt0
ph00lt0 / Orthogonal-Connectors.md
Last active March 11, 2024 16:14 — forked from jose-mdz/README.md
Orthogonal Diagram Connector

Orthogonal Connectors

This algorithm returns the points that form an orthogonal path between two rectangles.

How to Use

// Define shapes
const shapeA = {left: 50,  top: 50, width: 100, height: 100};
const shapeB = {left: 200, top: 200, width: 50, height: 100};
@ph00lt0
ph00lt0 / languagetool.sh
Created January 7, 2024 20:32 — forked from eliocapelati/languagetool.sh
Grammarly replacement
#!/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"
@ph00lt0
ph00lt0 / watch-latex.sh
Last active March 9, 2022 13:17 — forked from alexnederlof/watch.sh
Auto recompile Latex in the background on OS X
#!/bin/bash
###
# A Script that automatically recompiles your
# Latex in the background on Mac OS X.
###
# Options
BIN_PATH=/usr/texbin
FILE=main
WATCH_FILE=chapters