Skip to content

Instantly share code, notes, and snippets.

View euantorano's full-sized avatar

Euan Torano euantorano

View GitHub Profile
{
"__inputs": [],
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
@euantorano
euantorano / steps.md
Created October 4, 2018 14:24
Build Zig on FreeBSD

FreeBSD Update

  • freebsd-update fetch
  • freebsd-update install

Package Update

  • pkg update -y

Ports Fetch

@euantorano
euantorano / keybase.md
Created March 5, 2015 17:58
keybase.md

Keybase proof

I hereby claim:

  • I am euantorano on github.
  • I am euantorano (https://keybase.io/euantorano) on keybase.
  • I have a public key whose fingerprint is 3705 B534 4400 C2AC 5C1E FFB8 8DCD 87C3 275A 7B24

To claim this, I am signing this object:

@euantorano
euantorano / php_tag_fixer
Created July 21, 2014 13:15
Removes closing PHP tags from files which currently have one withina directory.
#!/usr/bin/python
import os, sys, re, argparse
parser = argparse.ArgumentParser(description='Fix PHP file endings')
parser.add_argument('directory', metavar='d', help='The path to the PHP sources')
args = parser.parse_args()
path = args.directory
@euantorano
euantorano / .htaccess
Last active April 23, 2021 13:01
My htaccess Setup
<IfModule mod_mime.c>
AddType text/css .css
AddType application/x-javascript .js
AddType text/x-component .htc
AddType text/richtext .rtf .rtx
AddType image/svg+xml .svg .svgz
AddType text/plain .txt
AddType text/xsd .xsd
AddType text/xsl .xsl
AddType text/xml .xml