This file contains hidden or 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 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* Frisker | |
* | |
* An extension of CI_Parser. You can use it the same way as normal, except | |
* with additional features. | |
* | |
* You can now use PHP functions in your template. | |
* Example: | |
* {date("F j, Y, g:i a")} |
This file contains hidden or 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 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* Frisker | |
* | |
* An extension of CI_Parser. You can use it the same way as normal, except | |
* with additional features. | |
* | |
* You can now use PHP functions in your template. | |
* Example: | |
* {date("F j, Y, g:i a")} |
This file contains hidden or 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 if (!defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* Bonfire | |
* | |
* An open source project to allow developers get a jumpstart their development of CodeIgniter applications | |
* | |
* @package Bonfire | |
* @author Bonfire Dev Team | |
* @copyright Copyright (c) 2011 - 2012, Bonfire Dev Team | |
* @license http://guides.cibonfire.com/license.html |
This file contains hidden or 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
--- | |
layout: page | |
title: "Not Found" | |
sharing: false | |
footer: false | |
--- | |
Sorry, that page doesn't exist. <span id="suggestion"/> | |
<script type="text/javascript"> |
This file contains hidden or 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
$(document).ready(function() { | |
// Support for AJAX loaded modal window. | |
// Focuses on first input textbox after it loads the window. | |
$('[data-toggle="modal"]').click(function(e) { | |
e.preventDefault(); | |
var href = $(this).attr('href'); | |
if (href.indexOf('#') == 0) { | |
$(href).modal('open'); | |
} else { |
This file contains hidden or 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
web1: | |
name: bonfire | |
shared_writable_dirs: | |
- assets/cache | |
- bonfire/application/cache | |
- bonfire/application/logs | |
- bonfire/application/archives | |
- bonfire/application/db/backups | |
- bonfire/modules | |
document_root: / |
This file contains hidden or 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
Wow what the hell was I not thinking when I wrote this dam thing, its abunch of sublime text editor plugoins and stuff duh | |
Mount a remote directory: sshfs username@hostname:/remote/path /local/path | |
http://www.sublimetext.com/forum/viewtopic.php?f=3&t=1510 | |
Put a vertical line after 80 characters: Preferences > Settings - User > ... add an entry: "rulers": [80] | |
http://stackoverflow.com/questions/9807324/sublime-text-2-how-do-i-change-the-color-that-the-row-number-is-highlighted |
This file contains hidden or 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
if ( ! function_exists('dump')) | |
{ | |
/** | |
* Outputs the given variables with formatting and location. Huge props | |
* out to Phil Sturgeon for this one (http://philsturgeon.co.uk/blog/2010/09/power-dump-php-applications). | |
* To use, pass in any number of variables as arguments. | |
* | |
* @return void | |
*/ |
This file contains hidden or 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
/* | |
|-------------------------------------------------------------------------- | |
| UItoTop jQuery Plugin 1.2 by Matt Varone | |
| http://www.mattvarone.com/web-design/uitotop-jquery-plugin/ | |
|-------------------------------------------------------------------------- | |
*/ | |
(function(a){a.fn.UItoTop=function(d){var f={text:"To Top",min:200,inDelay:600,outDelay:400,containerID:"toTop",containerHoverID:"toTopHover",scrollSpeed:1200,easingType:"linear"},e=a.extend(f,d),c="#"+e.containerID,b="#"+e.containerHoverID;a("body").append('<a href="#" id="'+e.containerID+'">'+e.text+"</a>");a(c).hide().on("click.UItoTop",function(){a("html, body").animate({scrollTop:0},e.scrollSpeed,e.easingType);a("#"+e.containerHoverID,this).stop().animate({opacity:0},e.inDelay,e.easingType);return false}).prepend('<span id="'+e.containerHoverID+'"></span>').hover(function(){a(b,this).stop().animate({opacity:1},600,"linear")},function(){a(b,this).stop().animate({opacity:0},700,"linear")});a(window).scroll(function(){var g=a(window).scrollTop();if( |
This file contains hidden or 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
//-------------------------------------------------------------------- | |
/** | |
* VIN Number Form Callback to verify that the VIN number is correct. | |
* | |
* Original VIN Check Code came from below link, no sense reinventing wheels | |
* @link {http://stackoverflow.com/questions/3831764/php-vin-number-validation-code} | |
* | |
* @param string $vin VIN Number value sent from Form Validation Library. |