Skip to content

Instantly share code, notes, and snippets.

View ericlbarnes's full-sized avatar
🎵
git push it, git push it real good

Eric Barnes ericlbarnes

🎵
git push it, git push it real good
View GitHub Profile
@ericlbarnes
ericlbarnes / foreman-tpl.json
Created February 25, 2014 04:10
Foreman Assets
{
"structure": {
"copy": [
{
"from": "/Users/eric/Code/Shared/wardrobe/core/bower.json",
"to": "bower.json"
},
{
"from": "/Users/eric/Code/Shared/wardrobe/core/package.json",
"to": "package.json"
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install',
1 verbose cli 'grunt-contrib-uglify' ]
2 info using npm@1.4.3
3 info using node@v0.10.26
4 verbose cache add [ 'grunt-contrib-uglify', null ]
5 verbose cache add name=undefined spec="grunt-contrib-uglify" args=["grunt-contrib-uglify",null]
6 verbose parsed url { protocol: null,
<?php
return array(
'faqs' => 'FAQs', // Main faq sections.
'permalink' => 'Direkt hierher verlinken', // Permalink title text for the section
'top' => 'Nach oben', // Back to top link
'search_results' => 'Ergebnisse durchsuchen', // Search results heading
'search_placeholder' => "Fragen durchsuchen", // Search form placeholder text
'noresults' => 'Keine Ergebnisse', // Message shown when the search did not return any results
@ericlbarnes
ericlbarnes / example.html
Created April 17, 2014 12:35
Snappy Widget
<html>
<head></head>
<body>
<a href="#" class="help" data-id="3">Help</a>
<script>
var snappyReady = function(){
$(".help").click(function(){
SnappyWidget.open({

Artisan Files

I am currently in the process of creating a free e-book of all the Artisan Files interviews and in the opening I would include a few quotes.

If you enjoy the series would mind commenting with a short testimonial that I could include? Or email directly: eric@ericlbarnes.com

<script>
@if (App::environment('local'))
var $el = $("#card-number");
window.stripeData = {
valid: function() {
$el.val('4242424242424242');
},
successAddressFail: function() {
$el.val('4000000000000028');
},
@ericlbarnes
ericlbarnes / angular.blade.php
Created December 11, 2014 05:16
Angular with Laravel Blade Sample
<li ng-repeat="phone in phones | filter:query | orderBy:orderProp">
<span>@{{phone.name}}</span>
<p>@{{phone.snippet}}</p>
</li>
<?php
if (file_exists(dirname(__FILE__) . '/wp-config-local.php')) {
# IMPORTANT: ensure your local config does not include wp-settings.php
require_once(dirname(__FILE__) . '/wp-config-local.php');
} else {
// Don't show deprecations; useful under PHP 5.5
error_reporting(E_ALL ^ E_DEPRECATED);
define('DB_NAME', getenv('DB_NAME') );
<div class="button">
<a href="#" onClick="doThing()">CLICK ME</a>
<script src="javascript">
function doThing() {
//...
}
</script>
</div>
@ericlbarnes
ericlbarnes / gistlog.md
Created February 19, 2015 01:55
Create your own blog with Gistlog

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.