Skip to content

Instantly share code, notes, and snippets.

View microdesign's full-sized avatar
💭
Working hard

Martin Tonev microdesign

💭
Working hard
View GitHub Profile
@microdesign
microdesign / jQueryDroppable.js
Last active September 18, 2015 12:40 — forked from seanmcn/jQueryDroppable.js
jQuery Droppable (Accept only one Draggable)
$(".drop_area").droppable({
tolerance: "intersect",
accept: ".drop_item",
greedy: true,
drop : function(event, ui) {
$(this).droppable( "option", "disabled", true );
},
out : function(event, ui) {
$(this).droppable( "option", "disabled", false );
},
@microdesign
microdesign / web.config
Last active January 26, 2016 15:26 — forked from jatubio/web.config
IIS web.config file for Laravel 5
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<!-- Quitar los slash '/' del final de la ruta -->
<rule name="RewriteRequestsToPublic">
<match url="^(.*)$" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
</conditions>
@microdesign
microdesign / example.php
Created August 15, 2016 10:53 — forked from Webcreations907/example.php
Example VC Nesting
<?php
/************************************************************************
* Example Nested For VC
* vc_map() stuff should only be included when VC is enabled.
*
* This is just for a copy/paste test purpose.
*************************************************************************/