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
<apex:page controller="__" id="__Page" title="@@NAME@@"> | |
<!-- | |
Describe what this page is for. | |
--> | |
<apex:form> | |
<apex:pageMessages /> | |
<apex:pageBlock title="Feature" mode="edit" id="thePageBlock"> | |
<apex:pageBlockButtons> | |
</apex:pageBlockButtons> | |
</apex:pageBlock> |
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
var gulp = require('gulp'), | |
gutil = require('gulp-util'), | |
coffee = require('gulp-coffee'), | |
less = require('gulp-less'), | |
browserify = require('gulp-browserify'), | |
concat = require('gulp-concat'), | |
connect = require('gulp-connect'), | |
gulpif = require('gulp-if'), | |
uglify = require('gulp-uglify'), | |
minify = require('gulp-minify-css'), |
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
class EntriesController < ApplicationController | |
layout "beat_psoriasis" | |
before_filter :authenticate_user! | |
# GET /entries | |
# GET /entries.xml | |
def index | |
@entries = current_user.entries |
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 com.appspot.dangt85.controllers; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.io.UnsupportedEncodingException; | |
import java.net.URLEncoder; | |
import javax.servlet.ServletException; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; |
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 the basic information of a lead is present, automatically convert to opportunity | |
* bulk process, prevents recursion error | |
*/ | |
trigger LeadAutomaticConvert on Lead (after insert, after update) { | |
// bulk process (if many leads are inserted/updated at once) | |
for (Lead lead : Trigger.new) { | |
// prevents recursion error |
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
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %> | |
<%@include file="_inc/tags.jsp" %> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<title><spring:message code="app.title"/></title> | |
<link rel="stylesheet" href="<c:url value="/_css/style.css"/>" type="text/css" media="screen"/> | |
</head> | |
<body> |
NewerOlder