Skip to content

Instantly share code, notes, and snippets.

View ciarans's full-sized avatar
🐢

Ciaran Synnott ciarans

🐢
View GitHub Profile

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@dufferzafar
dufferzafar / InstantFox.json
Created January 13, 2014 21:20
My Instant Fox Search Engines
--metadata-- version:--instantfox--plugin--data--
{
"selectedLocale": "en-US",
"defaultPlugin": "google",
"autoSearch": {
"json": "http://clients1.google.com/complete/search?client=chrome&hl=en&q=%q",
"url": "http://www.google.com/search?q=%q",
"instant": "off",
"suggest": true,
"minQChars": 2,
@paulallies
paulallies / gist:0052fab554b14bbfa3ef
Last active November 12, 2023 23:00
Remove node_modules from git repo
#add 'node_modules' to .gitignore file
git rm -r --cached node_modules
git commit -m 'Remove the now ignored directory node_modules'
git push origin <branch-name>
@revett
revett / git_branch_naming.md
Last active December 22, 2023 17:12
Git Branch Naming Conventions

Syntax

<author>/<type>/<ticket>/<title>

Example

revett/feature/24101/skeleton-service-for-email-sender
@lbensaad
lbensaad / wp.conf
Created April 20, 2015 05:37
ngx_pagespeed downstream caching config file
server {
listen 80;
server_name wp;
pagespeed off;
server_tokens off;
set $skip_cache 0;
# POST requests and urls with a query string should always go to PHP
if ($request_method = POST) {
set $skip_cache 1;
@ciarans
ciarans / app.php
Last active March 8, 2022 12:16
Add Graylog to Laravel
$app->configureMonologUsing(function($monolog) {
$transport = new \Gelf\Transport\UdpTransport("127.0.0.1", 12201, \Gelf\Transport\UdpTransport::CHUNK_SIZE_LAN);
$publisher = new \Gelf\Publisher();
$publisher->addTransport($transport);
$monolog->pushHandler(new \Monolog\Handler\GelfHandler($publisher));
});
@hygorxaraujo
hygorxaraujo / docker-compose.elk.yml
Created November 17, 2019 14:03
Sample docker-compose configuration for the ELK stack
version: "3"
services:
es01:
image: docker.elastic.co/elasticsearch/elasticsearch:7.4.2
container_name: es01
environment:
- node.name=es01
- cluster.name=es-docker-cluster
- discovery.seed_hosts=es02,es03
- cluster.initial_master_nodes=es01,es02,es03