Skip to content

Instantly share code, notes, and snippets.

Damon Muma thedamon

Block or report user

Report or block thedamon

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
gisu / _cssgrid.scss
Last active Nov 4, 2018
For converting Grid Spec 2 to Grid Spec 1
View _cssgrid.scss
// ===================================================
// CSS Grid Layout Helper
// To convert some of the CSS Grid Spec 2 features to Spec 1
// Author: Sascha Fuchs
// ===================================================
/// Add Gap between the boxes
dazld / component.txt
Last active Jun 8, 2018
AEM Sightly JS globals, currentPage investigations
View component.txt
gilbarbara / .eslintrc
Last active Dec 31, 2016
.eslintrc configuration file for ES2015 + react
View .eslintrc
"parser": "babel-eslint",
"ecmaFeatures": {
"modules": true,
"experimentalObjectRestSpread": true
"env": {
"amd": true,
"browser": true,
"es6": true,
jmartsch /
Last active Jul 15, 2016
Gruntfile with browser-sync and assemble for static html files
# Generated on 2013-10-28 using generator-bootstrap-less 3.0.3
"use strict"
#lrSnippet = require("grunt-contrib-livereload/lib/utils").livereloadSnippet
#mountFolder = (connect, dir) ->
# connect.static require("path").resolve(dir)
# # Globbing
# for performance reasons we're only matching one level down:
# 'test/spec/{,*/}*.js'
JesseObrien / gist:7418983
Last active Oct 21, 2019
Bind parameters into the SQL query for Laravel ORM
View gist:7418983
class MyModel extends Eloquent {
public function getSql()
$builder = $this->getBuilder();
$sql = $builder->toSql();
foreach($builder->getBindings() as $binding)
robmiller / .gitconfig
Created Jul 17, 2013
Some useful Git aliases that I use every day
View .gitconfig
# Working with branches
# Get the current branch name (not so useful in itself, but used in
# other aliases)
branch-name = "!git rev-parse --abbrev-ref HEAD"
# Push the current branch to the remote "origin", and set it to track
# the upstream branch
publish = "!git push -u origin $(git branch-name)"
zoster / Error Log Debugging
Created Apr 28, 2013
Debugging with an error log
View Error Log Debugging
error_log("\n".var_export($message, true));
gavinblair / errors.php
Created May 4, 2012
Error Reporting: I'm always trying to remember how to do this
View errors.php
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
You can’t perform that action at this time.