Skip to content

Instantly share code, notes, and snippets.

@Geraint
Geraint / gist:8781421
Last active August 29, 2015 13:55
Puppet Cheat Sheet
@Geraint
Geraint / cVimrc
Last active August 29, 2015 14:05
cVimrc
let defaultengine = "duckduckgo"
let barposition = "bottom"
let locale = "uk"
let blacklists = ["https://mail.google.com/*"]
imap <C-i> editWithVim
@Geraint
Geraint / sf2c
Last active August 29, 2015 14:25
Eclipse Template for Symfony2 Controller
namespace ${bundle}Bundle\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
class ${controller}Controller extends Controller
{
/**
@Geraint
Geraint / getter
Last active March 16, 2018 10:08
Eclipse Template - PHP getter with explicit return type
/** @var ${type} */
private $$${property};
public function get${propertyCapital}() : ${type}
{
return $$this->${property};
}
${cursor}
@Geraint
Geraint / config
Created June 8, 2018 14:30
%home%\AppData\Roaming\wsltty
BoldAsFont=no
ForegroundColour=191,191,191
Term=xterm-256color
SwitchShortcuts=no
Black=78,78,78
Red=255,108,96
Green=168,255,96
Yellow=255,255,182
Blue=150,203,254
Magenta=255,115,253