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
<?php | |
if ($_POST) { | |
require CUSTOM_SCRIPTS_FOLDER.'dropboxuploader.php'; | |
try { | |
// Rename uploaded file to reflect original name | |
if ($_FILES['file']['error'] !== UPLOAD_ERR_OK) | |
throw new Exception('File was not successfully uploaded from your computer.'); |
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
// Position all items absolute | |
@each $pos in tl, tr, bl, br { | |
.pos-#{$pos} { | |
position:absolute; | |
} | |
} | |
// Now position them | |
.pos-tl{left:3%; top:3%;} | |
.pos-tr{right:3%; top:3%;} | |
.pos-bl{left:3%; bottom:3%;} |
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
{exp:stash:set name="content"} | |
<section> | |
<h1 id="committee_members">Main Committee members</h1> | |
{exp:stash:get name="committee"} | |
{exp:channel:entries channel="committee_positions" dynamic="no" status="not closed|draft" search:cf_position_type="cm" entry_id="not 47" {global:param_disable_default}} | |
{snip_committee_position} | |
{/exp:channel:entries} | |
{exp:channel:entries channel="committee_positions" dynamic="no" status="not closed|draft" entry_id="47" {global:param_disable_default}} | |
{snip_committee_position} |
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
$('a.toggle').click(function() { | |
event.preventDefault(); | |
$("div.hide").slideToggle("fast"); | |
var $t = $(this); | |
var href = $t.attr('href'); | |
if(href == '#map') { | |
google.maps.event.addListener(map_canvas, 'resize', function() { | |
map_canvas.setCenter(map_bounds.getCenter()); |
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
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* Local config overrides & db credentials | |
*/ | |
// === DB CONNECTION | |
$env_db['hostname'] = ''; | |
$env_db['username'] = ''; |
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
<script type="text/javascript" src="//assets.zendesk.com/external/zenbox/v2.5/zenbox.js"></script> | |
<style type="text/css" media="screen, projection"> | |
@import url(//assets.zendesk.com/external/zenbox/v2.5/zenbox.css); | |
</style> | |
<script type="text/javascript"> | |
if (typeof(Zenbox) !== "undefined") { | |
Zenbox.init({ | |
dropboxID: "20110738", | |
url: "https://nesi.zendesk.com", | |
tabID: "Support", |
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
// To view what files will change to run | |
for file in *; do mv echo "$file" "${file/part of the file you want removed/}"; done | |
// To actually run the command | |
for file in *; do mv "$file" "${file/part of the file you want removed/}"; done | |
// This will cut everything before the first dot and appends .mov | |
for i in *; | |
do j=`echo $i | cut -d . -f 1`; | |
j=$j".mov"; |
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
$layoutList: mc mcc cc c; | |
@each $layout in $layoutList{ | |
.layout-#{$layout} .content:before{ | |
content: 'Layout: #{$layout}'; | |
position: absolute; | |
left: 0; | |
top: 0; | |
padding: 6px; | |
font-size: pem(11); |
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
<div class="alert"> | |
<p>Looks like you have already signed up using that email address. Would you like to <a href="/account">Sign in instead</a>?</p> | |
</div> | |
<div class="alert alert--info"> | |
<p><strong>Info:</strong> Looks like you have already signed up using that email address. Would you like to <a href="/account">Sign in instead</a>?</p> | |
</div> | |
<div class="alert alert--warning"> | |
<p><strong>Warning:</strong> Looks like you have already signed up using that email address. Would you like to <a href="/account">Sign in instead</a>?</p> |