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
<h3>Contact Information</h3> | |
<p><strong>[mura]$.siteConfig('site')[/mura]</strong><br /> | |
[mura]$.siteConfig('contactAddress')[/mura]<br /> | |
[mura]$.siteConfig('contactCity')[/mura] [mura]$.siteConfig('contactState')[/mura], [mura]$.siteConfig('contactZip')[/mura]</p> | |
<p>Email: <a href="mailto:[mura]$.siteConfig('contactEmail')[/mura]">[mura]$.siteConfig('contactEmail')[/mura]</a><br /> | |
Phone: [mura]$.siteConfig('contactPhone')[/mura]</p> | |
<p><a href="#">Contact Us</a></p> |
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
width = 960px | |
div.wrapper | |
width width | |
div.wrapper | |
div.left | |
width width - 10 | |
margin width - width - 5 | |
float left | |
div.wrapper |
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
#MySQL Client | |
ln -s /Application/MySQL\ Workbench.app/Contents/Resources/mysql /usr/bin/mysql | |
#MySQL Dump | |
ln -s /Application/MySQL\ Workbench.app/Contents/Resources/mysqldump /usr/bin/mysqldump |
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
<cfcomponent extends="Controller"> | |
<!---Crud #### Create methods #### ---> | |
<cffunction name="new"> | |
<cfset user = model('user').new() /> | |
</cffunction> | |
<cffunction name="create"> | |
<cfset model('user').create(params.user) /> | |
<cfset redirectTo(action="index",success="User #user.name# created successfully.") /> | |
</cffunction> |
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
// Options List: | |
AL^AK^AZ^AR^CA^CO^CT^DE^DC^FL^GA^HI^ID^IL^IN^IA^KS^KY^LA^ME^MD^MA^MI^MN^MS^MO^MT^NE^NV^NH^NJ^NM^NY^NC^ND^OH^OK^OR^PA^RI^SC^SD^TN^TX^UT^VT^VA^WA^WV^WI^WY | |
// Label List | |
Alabama^Alaska^Arizona^Arkansas^California^Colorado^Connecticut^Delaware^District of Columbia^Florida^Georgia^Hawaii^Idaho^Illinois^Indiana^Iowa^Kansas^Kentucky^Louisiana^Maine^Maryland^Massachusetts^Michigan^Minnesota^Mississippi^Missouri^Montana^Nebraska^Nevada^New Hampshire^New Jersey^New Mexico^New York^North Carolina^North Dakota^Ohio^Oklahoma^Oregon^Pennsylvania^Rhode Island^South Carolina^South Dakota^Tennessee^Texas^Utah^Vermont^Virginia^Washington^West Virginia^Wisconsin^Wyoming |
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
<?xml version="1.0"?> | |
<project name="Demo" default="version" basedir="."> | |
<macrodef name="git"> | |
<attribute name="command" /> | |
<attribute name="dir" default="" /> | |
<element name="args" optional="true" /> | |
<sequential> | |
<echo message="git @{command}" /> | |
<exec executable="git" dir="@{dir}"> |
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
version.buildnumber=00 | |
version.major=1 | |
version.minor=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
public function parseINI(string codefile) void{ | |
var i = ''; | |
var codes = structNew(); | |
local.sections = getProfileSections(getCodeFile()); | |
for(local.section IN local.sections){ | |
codes[local.section] = structNew(); | |
local.keys = local.sections[local.section]; | |
for(i=1;i LTE listLen(local.keys);i++){ | |
codes[local.section][listGetAt(local.keys,i)] = getProfileString(getCodeFile(),local.section,listGetAt(local.keys,i)); |
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
# LL Alias | |
alias ll="ls -lahG" | |
# Git tab completion | |
source ~/.git-completion.bash | |
# Show branch in status line | |
PS1='[\W$(__git_ps1 " (%s)")]\$ ' | |
export PROMPT_COMMAND='echo -ne "\033]0;${PWD/#$HOME/~}\007"' |
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
width = 960px | |
div.wrapper | |
width width | |
div.wrapper | |
div.left | |
width width - 10 | |
margin width - (width - 5) | |
float left |