Skip to content

Instantly share code, notes, and snippets.

Sara Bine sbine

Block or report user

Report or block sbine

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
@sbine
sbine / .phpcs.xml
Last active Mar 6, 2019 — forked from loganhenson/.phpcs.xml
.phpcs.xml in your home directory (`cd ~`)
View .phpcs.xml
<?xml version="1.0"?>
<ruleset name="Laravel Standards">
<!--
The name attribute of the ruleset tag is displayed
when running PHP_CodeSniffer with the -v command line
argument. The description tag below is not displayed anywhere
except in this file, so it can contain information for
developers who may change this file in the future.
-->
<description>The Laravel Coding Standards</description>
View keybase.md

Keybase proof

I hereby claim:

  • I am sbine on github.
  • I am sbine (https://keybase.io/sbine) on keybase.
  • I have a public key whose fingerprint is 496E 7B9E CD5D 6562 87AA 50E2 4C2E C775 A3B5 1BDC

To claim this, I am signing this object:

@sbine
sbine / dependencyResolution.sh
Last active Aug 29, 2015
Identify namespace dependency issues (Laravel 4 to Laravel 5 upgrade)
View dependencyResolution.sh
#!/bin/bash
folder='*'
exclude='--exclude-dir=vendor --exclude-dir=bower_components --exclude-dir=node_modules --exclude-dir=storage --exclude-dir=public'
statics=`grep -Eo $exclude "([A-Z][a-zA-Z0-9]+)::" $folder -R`
classes=`grep -Eo $exclude 'new ([A-Z][a-zA-Z0-9]+)' $folder -R | sed -n 's/new //p'`
exceptions=`grep -Eo $exclude 'catch \((([A-Z][a-zA-Z0-9]+)?Exception)' $folder -R | sed -n 's/catch (//p'`
combined=("${statics[@]}" "${classes[@]}" "${exceptions[@]}")
@sbine
sbine / Main.sublime-menu
Created Nov 14, 2012
Custom 3-pane Sublime Text window layouts
View Main.sublime-menu
[{
"id": "view",
"children": [{
"id": "layout",
"children": [
{
"command": "set_layout",
"caption" : "Custom: 3 Pane (2T 1B)",
"mnemonic": "C",
"args": {
You can’t perform that action at this time.