Skip to content

Instantly share code, notes, and snippets.

@xblue55
xblue55 / UUID.php
Last active August 29, 2015 14:06 — forked from dahnielson/UUID.php
<?php
/**
* UUID class
*
* The following class generates VALID RFC 4122 COMPLIANT
* Universally Unique IDentifiers (UUID) version 3, 4 and 5.
*
* UUIDs generated validates using OSSP UUID Tool, and output
* for named-based UUIDs are exactly the same. This is a pure
* PHP implementation.
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-theme.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Untitled Document</title>
</head>
<body>
</body>
</html>
slug : textext
name : jQuery TextExt Plugin
homepage : http://textextjs.com
author : Alex Gorbatchev
copyright : Copyright 2011-2012 Alex Gorbatchev.
license : MIT
description : |
[TextExt] is a plugin for jQuery which is designed to provide functionality such as tag input and autocomplete.
The core design principle behind [TextExt] is modularity and extensibility. Each piece of functionality is separated
Effect.OuterGlow = Class.create(Effect.Highlight, {
setup: function() {
// Prevent executing on elements not in the layout flow
if (this.element.getStyle('display')=='none') { this.cancel(); return; }
this.oldStyle = { boxShadow: this.element.getStyle('box-shadow') };
},
update: function(position) {
this.element.setStyle({ boxShadow: '0px 0px ' + Math.round(30 - 30 * position) + 'px ' + this.options.startcolor });
},
finish: function() {
@xblue55
xblue55 / tokeninput.js
Created September 2, 2013 15:26 — forked from brousalis/tokeninput.js
Token input
/*
* jQuery Plugin: Tokenizing Autocomplete Text Entry
* Version 1.1
*
* Copyright (c) 2009 James Smith (http://loopj.com)
* Licensed jointly under the GPL and MIT licenses,
* choose which one suits your project best!
*
*/
@xblue55
xblue55 / demo
Created September 2, 2013 15:14
Demo
Demo