Skip to content

Instantly share code, notes, and snippets.

View ddsilva's full-sized avatar

Daniel Silva ddsilva

  • São Paulo, Brasil
View GitHub Profile
@ddsilva
ddsilva / backbone-0.9.2.js
Created August 6, 2014 20:56
backbone 0.9.2
key
@ddsilva
ddsilva / backbone-0.9.2.js
Created August 6, 2014 20:57
backbone 0.9.2
// Backbone.js 0.9.2
// (c) 2010-2012 Jeremy Ashkenas, DocumentCloud Inc.
// Backbone may be freely distributed under the MIT license.
// For all details and documentation:
// http://backbonejs.org
(function(){
// Initial Setup
<div class="intrasesc-nav">
<div class="intrasesc-nav-inner">
<img src="stylesheets/img/intrasesc-logo.png">
</div>
</div>
<div class="application-navbar navbar" data-spy="affix" data-offset-top="95">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
/*
* jQuery UI Widget 1.10.3+amd
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2013 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/jQuery.widget/
*/
@ddsilva
ddsilva / permission-finder.html
Created October 6, 2014 17:34
Find Profile Permitions by nature
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<link rel="stylesheet" href="">
</head>
<body>
<script src="underscore-min.js"></script>
define [
'underscore',
'core/views/view'
], () ->
'use strict'
# Imports
# =============================================================
define [
'core/views/view'
'core/views/collection_view'
], () ->
'use strict'
# Imports
# =============================================================
define [
'core'
'dao/programa_dao'
'views/vinculos/item_view'
], () ->
# Imports
# =============================================================
Core = require 'core'
@ddsilva
ddsilva / gist:ac8d68255131c26ae021
Created November 13, 2014 18:32
Componente de preferencias do usuário (/guideline/inc/partials/my-account/component-my-preferences-painel.jsp)
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%
String showFeedback = request.getParameter("feedback");
showFeedback = showFeedback == null ? "" : showFeedback;
%>
<p class="my-account-title">Minhas preferências</p>
<div class="base-painel">
<div class="painel-column">
<p class="description">
Através das suas preferências
@ddsilva
ddsilva / component-my-preferences-painel.jsp
Created November 13, 2014 18:34
Componente de preferencias do usuário (/guideline/inc/partials/my-account/component-my-preferences-painel.jsp)
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%
String showFeedback = request.getParameter("feedback");
showFeedback = showFeedback == null ? "" : showFeedback;
%>
<p class="my-account-title">Minhas preferências</p>
<div class="base-painel">
<div class="painel-column">
<p class="description">
Através das suas preferências