We build an entire Rails application from scratch, showing you every single step in the process. http://www.codeschool.com/code_tv/rails-app-from-scratch-part-1
$ rails new wandrr -d postgresql
$ cd wandrr
$ git init
$ git add .
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Envy Band</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css" /> | |
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script> | |
<script src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script> | |
</head> | |
<body> |
coldfusion | |
http://refcardz.dzone.com/refcardz/getting-started-coldfusion-9 | |
CF9ET - http://www.lynda.com/ColdFusion-9-tutorials/essential-training/54844-2.html | |
https://github.com/mhenke/CFML-in-100-minutes/wiki | |
http://bittersweetryan.github.com/ColdFusion-Koans/ | |
ColdFusion 9 Developer Tutorial | |
CF OO |
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="CloudyBuild" default="all" basedir="."> | |
<description>Build file for compile and other easy to implement coldfusion checks</description> | |
<!-- | |
================================= | |
Target: init | |
Initializes the general settings and properties used in the build | |
================================= | |
--> | |
<target name="init"> |
We build an entire Rails application from scratch, showing you every single step in the process. http://www.codeschool.com/code_tv/rails-app-from-scratch-part-1
$ rails new wandrr -d postgresql
$ cd wandrr
$ git init
$ git add .
Heroku is a simple way to publish your Rails app, and a powerful platform that will allow it to scale. In this episode, Jay McGavren gets you started with your first Heroku app. http://www.codeschool.com/code_tv/heroku
<h2>NEQ 0</h2> | |
<h3>try -1,0,1,8</h3> | |
<cfdump var="#testneq0(-1)#"><br> | |
<cfdump var="#testneq0(0)#"><br> | |
<cfdump var="#testneq0(1)#"><br> | |
<cfdump var="#testneq0(8)#"><br> | |
<h3>try list</h3> | |
<cfdump var="#testneq0("ringo,john,paul,george")#"><br> | |
<cfdump var="#testneq0("0,1,2,3")#"><br> |
<target name="init"> | |
<property name="jenkins_workspace" value="C:/Program Files/Jenkins/workspace/SSO/" /> | |
<!--CFcompile Properties --> | |
<property name="webroot" location="//ricdev/servers/sso/cfusion.ear/cfusion.war" /> | |
<property name="cfcompile.path" location="${webroot}/WEB-INF/cfusion/bin"/> | |
<property name="cfcompile.tmpClasses" location="${webroot}/WEB-INF/cfclasses/" /> | |
<property name="cfuser" value="cfusion" /> | |
<!--Compiler Properties--> |
$(function(){ | |
var template = $('#riders-div .rider-new:first').clone(), | |
ridersCount = 0; | |
var addRider = function(){ | |
ridersCount++; | |
var rider = template.clone().removeClass("dontshow").find(':input').each(function(){ | |
var newId = this.id.replace('-', 's['+ ridersCount + '][') + ']'; | |
$(this).prev().attr('for', newId); // update label for (assume prev sib is label) | |
this.name = this.id = newId; // update id and name (assume the same) |
form.generic { | |
input[type="text"], textarea, select { | |
background: #FBFBFB; | |
-moz-border-radius: 3px; | |
-webkit-border-radius: 3px; | |
border-radius: 3px; | |
float: left; | |
} | |
input { | |
&[type="password"] { |
<cfcomponent extends="plugins.dbmigrate.Migration" hint="change primary keys to tablenameid"> | |
<cffunction name="up"> | |
<cfscript> | |
t = renameColumn(table='products',columnName='id',newColumnName='productid'); | |
t = renameColumn(table='productlines',columnName='id',newColumnName='productlinesid'); | |
t = renameColumn(table='departments',columnName='id',newColumnName='departmentsid'); | |
t = renameColumn(table='categories',columnName='id',newColumnName='categoryid'); | |
t = renameColumn(table='classes',columnName='id',newColumnName='classid'); | |
t = renameColumn(table='subclasses',columnName='id',newColumnName='subclassid'); | |
t.change(); |