Skip to content

Instantly share code, notes, and snippets.

View tewfik-dj's full-sized avatar

Tewfik tewfik-dj

  • Algiers
View GitHub Profile
@keijiro
keijiro / LightmappedUnlit.shader
Created April 27, 2015 09:13
Lightmapped unlit shader for Unity 5.
Shader "Custom/Lightmapped Unlit"
{
Properties
{
_MainTex ("Base (RGB)", 2D) = "white" {}
}
CGINCLUDE
#include "UnityCG.cginc"
@em-piguet
em-piguet / sample.htaccess
Last active September 22, 2022 18:16
Add this in your .htaccess to get a better note on gtmetrix :)
# Make sure .htc files are served with the proper MIME type, which is critical
# for XP SP2. Un-comment if your host allows htaccess MIME type overrides.
AddType text/x-component .htc
# If your server is not already configured as such, the following directive
# should be uncommented in order to set PHP's register_globals option to OFF.
# This closes a major security hole that is abused by most XSS (cross-site