Skip to content

Instantly share code, notes, and snippets.

Will code for coffee

Salis Braimah msbrime

Will code for coffee
Block or report user

Report or block msbrime

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
drakakisgeo / gist:3bba2a2600b4c554f836
Created May 7, 2015
Auto trim all input [Laravel 5]
View gist:3bba2a2600b4c554f836
// Step 1. Create this class in the middleware folder.
<?php namespace App\Http\Middleware;
use Closure;
class BeforeAutoTrimmer {
* Handle an incoming request.
fomightez / remove blank lines
Last active Jan 16, 2020
remove all blank lines using regular expressions
thomasfr / Git push deployment in 7 easy
Last active Jan 20, 2020
7 easy steps to automated git push deployments. With small and configurable bash only post-receive hook
View Git push deployment in 7 easy
shamansir / jasmine.teamcity_reporter.js
Created Aug 28, 2012
All you need to run Jasmine Tests with Phantom at TeamCity
View jasmine.teamcity_reporter.js
/* source: */
/* The MIT License
Copyright (c) 2010 Larry Myers
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
jrivero /
Created Jul 15, 2011 — forked from palewire/
A Python CSV splitter
import os
def split(filehandler, delimiter=',', row_limit=10000,
output_name_template='output_%s.csv', output_path='.', keep_headers=True):
Splits a CSV file into multiple pieces.
A quick bastardization of the Python CSV library.
You can’t perform that action at this time.