Skip to content

Instantly share code, notes, and snippets.

View justadaniel's full-sized avatar

Daniel Christmas justadaniel

View GitHub Profile
@justadaniel
justadaniel / BatchBuilderSettings.cs
Last active September 4, 2018 20:22 — forked from msklywenn/BatchBuilderSettings.cs
Unity Batch Builder
// DO WHAT THE CRAP YOU WANT TO PUBLIC LICENSE
// Version 3, December 2018
//
// Copyright (C) 2018 Daniel Christmas <[email protected]> & Sam Hocevar <[email protected]>
//
// Everyone is permitted to copy and distribute verbatim or modified
// copies of this license document, and changing it is allowed as long
// as the name is changed.
//
// DO WHAT THE CRAP YOU WANT TO PUBLIC LICENSE
// LoadingScreenManager
// --------------------------------
// built by Martin Nerurkar (http://www.martin.nerurkar.de)
// for Nowhere Prophet (http://www.noprophet.com)
//
// Licensed under GNU General Public License v3.0
// http://www.gnu.org/licenses/gpl-3.0.txt
using UnityEngine;
using UnityEngine.UI;
@justadaniel
justadaniel / spriteGlitch.shader
Created April 5, 2017 19:36 — forked from KeyMaster-/spriteGlitch.shader
A glitch effect shader for Sprites in Unity3D
//Copyright (c) 2014 Tilman Schmidt (@KeyMaster_)
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including without limitation the rights
//to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
//copies of the Software, and to permit persons to whom the Software is
//furnished to do so, subject to the following conditions:
//The above copyright notice and this permission notice shall be included in
@justadaniel
justadaniel / apache.conf
Last active February 23, 2016 09:14 — forked from jjulian/apache.conf
Apache rewrite rules to show a maintenance page
# Capistrano-style: if maintenance.php exists, it will be served for any request
# other than style and images. Use status code 503 to tell crawlers to come back later.
ErrorDocument 503 /system/maintenance.php
RewriteEngine On
RewriteCond %{REQUEST_URI} !\.(css|gif|jpg|png|js)$
RewriteCond %{DOCUMENT_ROOT}/system/maintenance.php -f
RewriteCond %{SCRIPT_FILENAME} !maintenance.php
RewriteRule ^.*$ - [redirect=503,last]