Skip to content

Instantly share code, notes, and snippets.

View hron84's full-sized avatar
🔫
Hunting bugs

Gabor Garami hron84

🔫
Hunting bugs
View GitHub Profile
@josephdpurcell
josephdpurcell / 0001-Add-.codeclimate.yml-for-Drupal-8-modules.patch
Last active March 23, 2021 14:39
Patch to add Code Climate configuration to Drupal 8 Modules
From 84faa57d401b07df3f5cf645519614604e257c10 Mon Sep 17 00:00:00 2001
From: "Joseph D. Purcell" <josephdpurcell@gmail.com>
Date: Sun, 24 Jul 2016 16:20:12 -0500
Subject: [PATCH] Add Code Climate config for Drupal 8 modules
---
.codeclimate.yml | 25 ++++++++++++++++++
.phpmd.xml | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 103 insertions(+)
create mode 100644 .codeclimate.yml
@juhasz
juhasz / gist:2358317
Created April 11, 2012 09:54
VIM: split and align SQL queries - a quick way
s/, /,\r / | '{,.s/ FROM/\rFROM/ | '{,'}s/ JOIN/\r JOIN/ | s/ WHERE/\rWHERE/ | s/ AND/\r AND/ | '{,'}s/ ORDER/\rORDER/ | '{,'}s/ LIMIT/\rLIMIT/
@ralfebert
ralfebert / .bashrc
Created August 9, 2010 19:16
git settings
# Prompt (Debian)
source /usr/local/bin/git-completion.sh
# Prompt (OS X + homebrew)
source /usr/local/etc/bash_completion.d/git-completion.bash
PS1="\[\033[31;38m\]\w\[\033[1;31m\]\$(__git_ps1)\[\033[00m\] "
export GIT_PS1_SHOWDIRTYSTATE=1