Skip to content

Instantly share code, notes, and snippets.

View ciaranha's full-sized avatar

Ciarán Hanrahan ciaranha

View GitHub Profile
<div class="modal" id="modal">
<div class="modal-frame">
<div class="modal-content">
<div class="modal-window modal-window-branded">
<h2>Organize Your Receipts with a Shoeboxed Account</h2>
<p>Enter your email address below to get started with a <strong>Shoeboxed monthly or annual plan</strong> of your choice.</p>
<form class="ui-form signup-form" action="https://register.shoeboxed.com//#main" method="POST" autocomplete="off">
<div class="ui-form-row">
<div class="ui-form-element">
<input type="email" placeholder="email@address.com" class="ui-field ui-field-large" id="<?php echo ( $field_id ) ? $field_id : 'email'; ?>" name="email" required />
@ciaranha
ciaranha / tailwind.config
Last active August 5, 2021 15:49
Agreeable Tailwind Colors
colors: {
'black': '#0E2B33',
'green': {
'50': '#F7FBF8',
'100': '#EBF5EF',
'200': '#D6ECDE',
'300': '#BEE0C9',
'400': '#8DC8A1',
'500': '#5CB179',
'600': '#539F6D',
// with sorting
componentDidMount() {
base('Stops').select({
view: 'Grid view',
sort: [
{field: 'Days (planned)', direction: 'asc'}
],
})
.eachPage(
(records, fetchNextPage) => {
<?php get_header(); ?>
<div class="container-narrow mt-80">
<?php
function list_pages_for_template($template_name) {
echo '<strong>';
echo $template_name;
echo '</strong>';
$args = array(
'post_type' => 'page',
<?php
/*
Template Name: Resource Investor Update Templates
*/
?>
<?php get_header(); ?>
<section class="hero-section hero-section-dark">
<div class="container grid">
@ciaranha
ciaranha / index.js
Created September 8, 2018 17:32
Train Time Adaption for Bus Times
var request = require('superagent');
var xml2jsParser = require('superagent-xml2jsparser');
var _ = require('lodash');
var express = require('express');
var app = express();
var port = process.env.PORT || 8080;
app.get('/:stopid/:direction', function (req, res) {
getTrainTime(req.params.stopid, req.params.direction, function(err, result){
@ciaranha
ciaranha / catapult-custom.scss
Last active April 30, 2018 12:18
catapult-custom.scss
#catapult-cookie-bar {
background: #fff !important;
padding: 14px;
border-radius: 2px;
border: 1px solid #000;
font-size: 14px;
font-weight: 400;
}
span.ctcc-right-side {
h2 {
font-weight: 500;
}
.pricing-box .plan-after-price {
font-size: 12px;
}
.header-sticky #site-navigation ul li a {
color: #363b42;
[vc_row full_width="stretch_row" css=".vc_custom_1478859412576{background-color: #bfbfbf !important;}"][vc_column][rev_slider_vc alias="basel_home"][/vc_column][/vc_row][vc_row full_width="stretch_row" css=".vc_custom_1520338151351{background-color: #f5f8f9 !important;}"][vc_column width="1/6"][/vc_column][vc_column width="2/3"][vc_empty_space height="40px"][vc_column_text]
PUT YOUR CLIENTS ON SITE & LET THEM EXPLORE.
A Virtual View Is Ireland’s Leading Virtual Design And User Experience Provider.
[/vc_column_text][vc_empty_space height="60px"][/vc_column][vc_column width="1/6"][/vc_column][/vc_row][vc_row full_width="stretch_row" css=".vc_custom_1520338090966{padding-top: 80px !important;padding-bottom: 0px !important;background: #f6f7f8 url(http://avirtualview.ie/wp-content/uploads/2018/03/bg-white.png?id=1371) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}" el_id="service" el_class="background-angle"][vc_column][vc_column_text]
@ciaranha
ciaranha / script.js
Created February 14, 2018 13:31
script clippings
// $('#owl-carousel').owlCarousel({
// navContainer: '#customNav',
// dotsContainer: '#customDots',
// })