Skip to content

Instantly share code, notes, and snippets.

View leonguyen's full-sized avatar

Nam Nguyen leonguyen

View GitHub Profile
@HDDen
HDDen / OutputmodMinify.php
Last active January 18, 2024 15:41 — forked from Rodrigo54/php-html-css-js-minifier.php
PHP class to Minify HTML, CSS and JavaScript
<?php
/**
* Class OutputmodMinify
*
* include_once 'OutputmodMinify.php';
* $html = \OutputmodMinify::minify($html);
*/
/**
* -----------------------------------------------------------------------------------------
@kirkbushell
kirkbushell / paginator.js
Created March 28, 2013 04:07
Paginator module for AngularJS, in combination with Laravel's paginator class
/**
* Paginator
*
* The paginator can be used within any controller to easily set up
* some pagination options, including number of pages, page navigation
* and more. It is built to work with Laravel's own pagination library,
* which returns data in a particular format.
*
* Usage:
* Before you can use paginator, make sure you specify the URLs to your pagination
@tiendq
tiendq / jquery.ui.datepicker-vi-VN.js
Created March 27, 2013 08:01
Vietnamese localization for the jQuery UI date picker plugin. Tested with jQuery UI 1.10.2
/* Vietnamese localization for the jQuery UI date picker plugin. */
/* Written by Tien Do ([email protected]) */
jQuery(function ($)
{
$.datepicker.regional["vi-VN"] =
{
closeText: "Đóng",
prevText: "Trước",
nextText: "Sau",
@joshearl
joshearl / blank-sublime-text-snippet.xml
Created December 1, 2012 13:21
Sublime Text 2 Recruiter Response Snippet
<snippet>
<content><![CDATA[]]></content>
<tabTrigger></tabTrigger>
<scope></scope>
<description></description>
</snippet>
@sineld
sineld / sentry.reset.password.php
Created August 30, 2012 07:26
Sentry Bundle Reset Password
<?php
// Forked from: http://paste.laravel.com/4iV
public function get_reset_password()
{
// render the reset password view
return View::make('auth.reset-password');
}
public function post_reset_password()
{