Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Collaborating on creating a new status quo in open source

Gwendolen Lynch GwendolenLynch

🎯
Collaborating on creating a new status quo in open source
View GitHub Profile
View keybase.md

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 Sep 9, 2015
Before middleware to load Guzzle 6.
View Controller.php
<?php
use Silex\Application;
use Silex\ControllerProviderInterface;
/**
* Controller.
*
* @author Gawain Lynch <gawain.lynch@gmail.com>
*/
View 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
View 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 Dec 1, 2020
Bolt 2.0 Multisite
View bootstrap.php
<?php
/**
* Bolt multi-site bootstrap
*
* @author Gawain Lynch <gawain.lynch@gmail.com>
*
* @return \Bolt\Application
*/
return call_user_func(
@GwendolenLynch
GwendolenLynch / gist:2ab741cdf97b4d9920a4
Created Aug 23, 2014
Bolt extension composer.json dev exmaple
View gist:2ab741cdf97b4d9920a4
{
"require": {
"bolt/myext": "dev-master"
},
"repositories": {
"bolt": {
"type": "composer",
"url": "http://beta.extensions.bolt.cm/satis/"
},
"local": {