Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View GwendolenLynch's full-sized avatar

Gwendolen Lynch GwendolenLynch

View GitHub Profile

Keybase proof

I hereby claim:

  • I am gawainlynch on github.
  • I am gawainlynch (https://keybase.io/gawainlynch) on keybase.
  • I have a public key ASB6tFBckah4Ij4_6ad5Eg-T3Z9IsGcQmybWrt0y1z15jgo

To claim this, I am signing this object:

@GwendolenLynch
GwendolenLynch / Controller.php
Created September 9, 2015 04:49
Before middleware to load Guzzle 6.
<?php
use Silex\Application;
use Silex\ControllerProviderInterface;
/**
* Controller.
*
* @author Gawain Lynch <gawain.lynch@gmail.com>
*/
@GwendolenLynch
GwendolenLynch / bolt-install-reset
Created March 4, 2015 09:50
Bolt Install Reset
#!/bin/sh
# Set the install directory
WD=/var/www/sites/example.com
# Location of your Composer install binary
COMPOSER=~/bin/composer
# Location of the MySQL client binary
MYSQL=/usr/bin/mysql
@GwendolenLynch
GwendolenLynch / Bolt Foundation 5 Breadcrumbs
Created February 28, 2015 16:29
Bolt Foundation 5 Breadcrumbs
{% set route = app.request.get('_route') %}
{% set routeparams = app.request.get('_route_params') %}
<div class="row">
<ul class="breadcrumbs hide-for-small">
{% if route == 'homepage' %}
<li class="current"><a href="{{ paths.root }}">Home</a></li>
{% else %}
@GwendolenLynch
GwendolenLynch / bootstrap.php
Last active December 1, 2020 21:01
Bolt 2.0 Multisite
<?php
/**
* Bolt multi-site bootstrap
*
* @author Gawain Lynch <gawain.lynch@gmail.com>
*
* @return \Bolt\Application
*/
return call_user_func(
@GwendolenLynch
GwendolenLynch / gist:2ab741cdf97b4d9920a4
Created August 23, 2014 08:44
Bolt extension composer.json dev exmaple
{
"require": {
"bolt/myext": "dev-master"
},
"repositories": {
"bolt": {
"type": "composer",
"url": "http://beta.extensions.bolt.cm/satis/"
},
"local": {