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 if (! defined('BASEPATH')) exit('No direct script access allowed'); | |
class MY_DB_mysql_driver extends CI_DB_mysql_driver { | |
final public function __construct($params) { | |
parent::__construct($params); | |
} | |
/** | |
* Insert_On_Duplicate_Update |
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
/* | |
Created by Nate Perry | |
http://github.com/nateperry | |
*/ | |
var App; | |
App = { | |
canvas: null, | |
ctx: null, |
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
// to add new icons, add the file to the media/icons folder | |
// then add the name of the file to the $icon-list | |
// each item will get a class name that matches the file name | |
$icon-list: add_widget alert appointments back blood_glucose blood_pressure chat collapse expand find_doctor fitness_planner food_journal github internet linkedin medical_history medication message nav_back nav_next overview patient_directory personal_profile recipe regimen_plan search settings sleep_analysis widget_directory | |
// all parent elements that need to trigger icon hover | |
$parents: '.btn' '.widget-button' | |
=all-icons | |
@each $icon in $icon-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
/* | |
* Simple jQuery Scroller | |
* Uses jQuery to animate scrolling on click | |
* Simply use the ID that you want to scroll to | |
* as the href attribute of an <a> tag | |
* | |
* Example HTML: <a href="#main" class="scroll-to">Scroll to #main</a> | |
* | |
*/ | |
$(document).ready(function () { |
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
<%-- | |
Prints out all properties of a particular object | |
Slightly Revised version from original: http://stackoverflow.com/a/24576688 | |
--%> | |
<c:set var="object" value="${SOMEOBJECT}" /> | |
<c:if test="${!empty object.class.declaredFields}"> | |
<h2>Object Attributes <em>${object.name}</em></h2> | |
<ul> | |
<c:forEach var="attr" items="${object.class.declaredFields}"> |