Skip to content

Instantly share code, notes, and snippets.

Avatar

Euan euantorano

View GitHub Profile
@euantorano
euantorano / .htaccess
Last active Jul 7, 2017
My htaccess Setup
View .htaccess
<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
@euantorano
euantorano / php_tag_fixer
Created Jul 21, 2014
Removes closing PHP tags from files which currently have one withina directory.
View php_tag_fixer
#!/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
View 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 / steps.md
Created Oct 4, 2018
Build Zig on FreeBSD
View steps.md

FreeBSD Update

  • freebsd-update fetch
  • freebsd-update install

Package Update

  • pkg update -y

Ports Fetch

View MyBB Stats-1560010909436.json
{
"__inputs": [],
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
You can’t perform that action at this time.