This file contains 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 craft.request.isAjax %} | |
{% set layout = "_ajaxLayout" %} | |
{% else %} | |
{% set layout = "_layout" %} | |
{% endif %} | |
{% extends layout %} | |
{% set limit = 10 %} | |
{% set params = { section: 'news', limit: limit} %} |
This file contains 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 (status.contains('Nominee') && status != 'Nominee-No') { | |
Application_Stage = 'nominee'; | |
switch on status { | |
when 'Nominee-No Show' { | |
status = 'Student did not attend Posse interview'; | |
} when 'Nominee - Declined Invite' { | |
status = 'Student declined Posse interview'; | |
This file contains 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: 1.0 | |
domains: | |
- 127.0.0.1 | |
url_patterns: | |
- 127.0.0.1/* | |
timestamp: '2018-08-03T15:55:26Z' | |
id: vAg8 | |
redirect_url: http://127.0.0.1:8080/careers/ | |
shared_via: StyleURL - (https://www.styleurl.app) import and export CSS changes from |
This file contains 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: 1.0 | |
domains: | |
- 127.0.0.1 | |
url_patterns: | |
- 127.0.0.1/* | |
timestamp: '2018-08-02T20:26:11Z' | |
id: fqAA | |
redirect_url: http://127.0.0.1:8080/ | |
shared_via: StyleURL - (https://styleurl.app) import and export CSS changes from Chrome |
This file contains 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
curl -L http://craftcms.com/latest.zip?accept_license=yes > craft.zip | |
unzip craft.zip -d .tmp | |
rsync -r .tmp/craft/app craft | |
rm -R .tmp | |
mkdir -p craft/storage | |
rm craft.zip |
This file contains 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 [ -d "releases/${execution.to_revision.revision}" ] && [ "${execution.refresh}" = "true" ]; then echo "Removing: releases/${execution.to_revision.revision}" && rm -rf releases/${execution.to_revision.revision}; fi | |
if [ ! -d "releases/${execution.to_revision.revision}" ]; then echo "Creating: releases/${execution.to_revision.revision}" && cp -dR deploy-cache releases/${execution.to_revision.revision}; fi | |
echo "Linking current to revision: ${execution.to_revision.revision}" | |
rm -f current | |
ln -s releases/${execution.to_revision.revision} current | |
echo "Removing old releases" | |
cd releases && ls -t | tail -n +11 | xargs rm -rf |
This file contains 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
{% set half = ceil(entry.kickstarter|length/2) %} | |
{% set leftHalf = entry.kickstarter|slice(0,half) %} | |
{% set rightHalf = entry.kickstarter|slice(half) %} | |
<div class="row"> | |
<div class="col-sm-6"> | |
{% for block in leftHalf %} | |
<div class="row"> |
This file contains 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
# humanstxt.org/ | |
# The humans responsible & technology colophon | |
# TEAM | |
FAMILIAR - familiar-studio.com | |
Keith Mancuso -- Tech Partner | |
Carl Williamson -- Design Partner | |
Ian Crowther -- Design Partner |
This file contains 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 PageReference nominate() | |
{ | |
try { | |
// check to see if anyone else has already nominated someone with this email addres in this same year | |
Application__c application = [select Id from Application__c where Nomination_Round__r.Grant_Round__c = :NominationRound.Grant_Round__c and email__c = :newapplicant.Email__c limit 1]; | |
// if so make a second instead of an application | |
Second__c Second = new Second__c(); |
This file contains 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
<form method="post" action="" id="login-form" accept-charset="UTF-8"> | |
<input type="hidden" name="action" value="users/login"> | |
<input type="hidden" name="redirect" value="{{redirect}}"> | |
<div class="form-group"> | |
<label for="email">Email</label> | |
<input id="email" type="text" name="loginName" class="form-control"> | |
</div> | |
NewerOlder