Skip to content

Instantly share code, notes, and snippets.

View DanielHudson's full-sized avatar
🏠
Working from home

Daniel Hudson DanielHudson

🏠
Working from home
View GitHub Profile
@DanielHudson
DanielHudson / gist:a94e40e2e84001366fdd
Last active August 29, 2015 14:16
cdnify for laravel/elixir
<?php
if ( ! function_exists('cdnify'))
{
/**
* Adds a CDN to a path when a specified environment is active.
*
* @param string $path
* @param array $environment
* @param boole $elixir
{
"phpcs_executable_path": "/usr/local/bin/phpcs",
"phpmd_executable_path": "/usr/local/bin/phpmd",
"php_cs_fixer_executable_path": "/usr/local/bin/php-cs-fixer",
"phpcbf_executable_path": "/usr/local/bin/phpcbf",
}
@DanielHudson
DanielHudson / sass-lint.yml
Last active March 16, 2017 10:58
Sass linting options
# sass-lint config generated by make-sass-lint-config v0.1.2
#
# The following scss-lint Linters are not yet supported by sass-lint:
# DisableLinterReason, ElsePlacement, PropertyCount, SelectorDepth
# SpaceAroundOperator, TrailingWhitespace, UnnecessaryParentReference, Compass::*
#
# The following settings/values are unsupported by sass-lint:
# Linter Indentation, option "allow_non_nested_indentation"
# Linter Indentation, option "character"
# Linter NestingDepth, option "ignore_parent_selectors"
@DanielHudson
DanielHudson / 100 random numbers.txt
Created August 30, 2017 16:19
100 random numbers
2146552890
2041202009
1411428185
5470712
767002103
482100187
1600192239
388902033
962080561
113480756
@DanielHudson
DanielHudson / GitHubIssues.php
Last active November 27, 2017 13:21
Fetch GH issues, Laravel Console
<?php
namespace TGS\Console\Commands;
use Carbon\Carbon;
use GuzzleHttp\Client;
use Illuminate\Console\Command;
use Storage;
class GitHubIssues extends Command