Skip to content

Instantly share code, notes, and snippets.

View kogcyc's full-sized avatar

kogcyc

  • 06:02 (UTC +01:00)
View GitHub Profile
@kogcyc
kogcyc / povray.lang
Created April 25, 2019 13:46
/usr/share/gtksourceview-3.0 SYNTAX POVRAY GEDIT
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language _name="POV-Ray 3.7" version="1.0" _section="Others" mimetypes="text/x-povray">
<escape-char>\</escape-char>
<string _name="String" style="String" end-at-line-end="FALSE">
<start-regex>"</start-regex>
<end-regex>"</end-regex>
</string>
@kogcyc
kogcyc / heroku_termux_heroku.txt
Created April 26, 2019 15:03
TERMUX HEROKU
wget http://cli-assets.heroku.com/heroku-cli/channels/stable/heroku-cli-linux-x64.tar.gz -O heroku.tar.gz
tar -xvzf heroku.tar.gz
mv blahblahblah heroku
mv heroku /data/data/com.termux/files/usr/lib/heroku
ln -s /data/data/com.termux/files/usr/lib/heroku/bin/heroku /data/data/com.termux/files/usr/bin/heroku
@kogcyc
kogcyc / intersection.txt
Last active October 15, 2019 17:40
intersection two 2 cylinders - formula
Here is the formula for calculating the intersection points of 2 cylinders where the centerlines of the cylinders intersect.
Definitions:
Brad = Branch Radius
Mrad = Main Radius
TX = the X coord of the intersection
TY = the Y coord of the intersection
TZ = the Z coord of the intersection
@kogcyc
kogcyc / 24-sept-23.markdown
Created September 23, 2024 16:31
24-SEPT-23