Skip to content

Instantly share code, notes, and snippets.

slurpin ma tea thru choccy gingernuts

Chris Burgess xurizaemon

slurpin ma tea thru choccy gingernuts
Block or report user

Report or block xurizaemon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
dubiouscript /
Last active Dec 22, 2019 — forked from mgoellnitz/
GitLab Snippet Command Line Tool
# Copyright 2016-2017 Martin Goellnitz
# update gitlab api
# -dscript-
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
mrosati84 / settings.php
Created Nov 22, 2016
Drupal 8 reverse proxy settings
View settings.php
* Reverse Proxy Configuration:
* Reverse proxy servers are often used to enhance the performance
* of heavily visited sites and may also provide other site caching,
* security, or encryption benefits. In an environment where Drupal
* is behind a reverse proxy, the real IP address of the client should
* be determined such that the correct client IP address is available

Hi _____,

Thanks for getting in touch, it’s nice to talk with CiviCRM developers around the world. I hope this effort brings good results for you!

I enjoy contributing to community support through public channels available - Github, CiviCRM chat, Stack Exchange and other similar avenues.

If I am providing support, I want to know it's available to the community. In contrast, to preserve focus I make a distinction between these public forums and direct personal communication. Essentially it’s this: my email (and other private comms) is for personal discussions, and paid work.

By asking a question in the CiviCRM community channel, you’ll be demonstrating an ability to participate in the wider CiviCRM community, and to ask for help when needed. Please try to use the existing community resources for these requests.


How to add an image to a gist

  1. Create or find a gist that you own.
  2. Clone your gist (replace <hash> with your gist's hash):
    # with ssh
    git clone<hash>.git mygist
    # with https
    git clone<hash>.git mygist
xurizaemon /
Last active May 15, 2019
What does the word logging mean in CiviCRM?

It's not uncommon to hear people mention "logging" or "logs" in relation to CiviCRM. There are some different usages of "log":

  • There's CiviCRM's debug log files in sites/default/files/civicrm/CiviCRM.HASHHASH.log (what)
  • There's the DB table log civicrm_system_log (has an API, only used for IPN data, see CRM_Utils_SystemLogger and forum post).
  • There's Data Logging configured at civicrm/admin/setting/misc (mysql logging via triggers). AKA Change Log or Trigger Logging or Detailed Logging.
  • There's "userFrameworkLogging", which means "dump errors to the CMS logging" (may be Drupal specific)
  • There's the Activity Log, which is the view of activities over ti
msubel / uuid_v4_excel_formula.txt
Created Jul 14, 2015
An Excel Fromula to generate a UUID v4
View uuid_v4_excel_formula.txt
View composer.json
"name": "jayhealey/webception",
"description": "Web Interface for running Codeception tests.",
"keywords": ["codeception", "webception", "testing", "php", "web interface"],
"homepage" : "",
"authors": [
"name": "James Healey",
"email": "",
"homepage": "",
jmervine / nginx.conf
Last active Mar 19, 2020
Nginx config to test regex.
View nginx.conf
# Usage:
# Start with:
# sudo /use/local/sbin/nginx -c /path/to/this/nginx.conf
# Tail logs:
# $ sudo tail -f /tmp/access.log /tmp/error.log /tmp/match.log
xurizaemon / drupal-uid1-login.php
Created Aug 25, 2012
Authenticate as Drupal UID=1
View drupal-uid1-login.php
if ($_GET['x'] == 'SECRET') {
global $user;
$user = user_load(1);
You can’t perform that action at this time.