This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections.Generic; | |
#if UNITY_EDITOR || !UNITY_FLASH | |
namespace tk2dRuntime.TileMap | |
{ | |
public static class ColliderBuilder2D | |
{ | |
public static void Build(tk2dTileMap tileMap, bool forceBuild) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BEGIN filter rubbish | |
SetEnvIfNoCase Via evil-spam-proxy spammer=yes | |
SetEnvIfNoCase Referer evil-spam-domain.com spammer=yes | |
SetEnvIfNoCase Referer evil-spam-keyword spammer=yes | |
SetEnvIfNoCase Via pinappleproxy spammer=yes | |
SetEnvIfNoCase Referer semalt.com spammer=yes | |
SetEnvIfNoCase Referer poker spammer=yes | |
SetEnvIfNoCase Referer buttons-for-website.com spammer=yes | |
SetEnvIfNoCase Referer semalt.semalt.com spammer=yes | |
SetEnvIfNoCase Referer make-money-online.7makemoneyonline.com spammer=yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section id="content" class="col-xs-12 account"> | |
<div class="row"> | |
<div class="col-xs-12"> | |
<ul class="nav nav-tabs" role="tablist"> | |
<li role="presentation"><a href="/account/#overview">Overview</a></li> | |
<li role="presentation"><a href="/account/#orders">Orders</a></li> | |
<li role="presentation"><a href="/account/#prescription" >Prescription</a></li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function clean_string( $input ){ | |
// Clean HTML (From: http://nadeausoftware.com/articles/2007/09/php_tip_how_strip_html_tags_web_page) | |
$input = preg_replace( | |
array( | |
// Remove invisible content | |
'@<head[^>]*?>.*?</head>@siu', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// jquery sortable for team / gallery priority ordering | |
$(function() { | |
var container = $('.sortable-container'); | |
//* user resorts list | |
container.sortable({ | |
update: function( event, ui ) { | |
update_via_ajax(); | |
} | |
}); | |
//* remove item from list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function average( $values ){ | |
return; | |
} | |
echo average(array(1, 5, 8, 34, 7, 20, 20)); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://gist.github.com/kevdotbadger/2de20b08627ac32ebb5e | |
$flat-turquoise: #1abc9c; | |
$flat-emerland: #2ecc71; | |
$flat-peter-river: #3498db; | |
$flat-amethyst: #9b59b6; | |
$flat-wet-asphalt: #34495e; | |
$flat-green-sea: #16a085; | |
$flat-nephritis: #27ae60; | |
$flat-belize-hole: #2980b9; | |
$flat-wisteria: #8e44ad; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$primary-color: $purple; | |
@function text-color($inverted: true){ | |
@if (lightness($primary-color) > 50 and $inverted == false) { | |
@return #444; | |
} @else { | |
@return #fff; | |
} | |
} |