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
require(['sm_lib/sm.config'], function() { | |
require(['sm_widget_mentorship_close', 'sm_widget_user_survey', | |
'views/avatar_slidetab', 'sm_default'], | |
function(widgetMentorship, userSurvey, AvatarSlideTab){ | |
var avatarSlideTab = new AvatarSlideTab(); | |
userSurvey.show(); | |
widgetMentorship.mentorship_close(".btn_mentorship_close"); | |
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
<!doctype html> | |
<html lang=en> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="verify-v1" content="91yIG+EaOdwKuPX+R9ChHEWVXJ6wdQsq0gqD1c1sbaY="/> | |
<title>David Shapiro, Resume- Web Developer</title> | |
<style type="text/css"> | |
body{font-family:Geneva, Arial, Helvetica, sans-serif;font-size:12px;font-weight:normal;color:#000000;text-align:center;margin:0;padding:0;line-height:1.5em;} | |
header, section, article{display:block;} | |
header{text-align:center;position:relative;z-index:1;} |
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
package org.ccnb.model; | |
import java.io.Serializable; | |
import java.util.Date; | |
import javax.persistence.*; | |
/** | |
* application table entity class | |
* @author david | |
*/ |
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
@charset "utf-8"; | |
body { | |
margin:0; | |
font-family:arial, verdana, helvetica, san-serif; | |
} | |
a { | |
text-decoration:none; | |
cursor:pointer; | |
} | |
h1, |
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 | |
// cakePHP application wide controller settings | |
class AppController extends Controller { | |
var $components = array('Session', 'Cookie'); | |
var $language = null; | |
var $languages = array(); | |
var $file = null; | |
var $ext = '.php'; |
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
//dependent on jQuery and jquery.scrollable | |
var midPenBGC = (function ($) { | |
return{ | |
appendPartners: function(o){ | |
var params = o || {}, | |
ir = params.image_root || this.image_root || "/c/images/logos/", | |
elem = params.elem || "#partners", | |
partners = params.partners || this.partners || [], | |
imgElem = '<img src="' + ir + 'partner.jpg"/>', | |
length = partners.length, |
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
/* | |
Example of a singleton object and its use for protected member access and | |
extensive use of jQuery. This code manages validation and ajax submits of form data, | |
and is used to display / hide panes in a wizard form plus build an extra data field | |
with all the form data for email notification. The code is used on a non-profit | |
website for it's annual golf and banquet fundraising events. | |
*/ | |
var eventMgr = (function (global) { | |
var donationTotal = 0, |
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
define(['underscore', 'cookie', 'fileupload', 'widget', 'iframe'], function(){ | |
return { | |
// call from page specific context w/ config obj that defines | |
// a script or div element containing page specific html (templateID), location to insert | |
// processed template (targetID) and an obj (vars) defining any variable placeholders | |
renderUploadContainer: function(config){ | |
var vars = config.vars || {}, | |
templateID = config.templateID || null, | |
targetID = config.targetID || null, |
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
// generic paginator view functions and bindings | |
// code here lifted from Adi Osmani's client example | |
define(['order!underscore', 'order!Backbone'], function PaginatorView(){ | |
var PaginatorView = Backbone.View.extend({ | |
config: {}, | |
//this should be overridden | |
initialize: function(){ |
NewerOlder