Skip to content

Instantly share code, notes, and snippets.

Avatar
🔥
loading...

Eddy Hernandez eddywashere

🔥
loading...
View GitHub Profile
@eddywashere
eddywashere / App.js
Last active Feb 20, 2020 — forked from gaearon/App.js
Reactstrap App.js Example for create-react-app
View App.js
import React, { Component } from 'react';
import {
Collapse,
Navbar,
NavbarToggler,
NavbarBrand,
Nav,
NavItem,
NavLink,
Container,
@eddywashere
eddywashere / secret.rake
Last active Dec 17, 2015 — forked from SFEley/secret.rake
Open an encrypted data bag item or create it if it doesn't exist. Takes two arguments, databag and item name.
View secret.rake
namespace :secret do
desc "Edit an encrypted data bag item in EDITOR"
task :edit, :data_bag, :bag_item do |t, args|
unless ENV['EDITOR']
puts "No EDITOR found. Try:"
puts "export EDITOR=vim"
puts "or"
puts "export EDITOR='subl -w'"
exit 1
end
View grunt config
grunt.registerMultiTask('deploy', 'deploy program to cloud', function() {
var pkgcloud = require('pkgcloud')
, walk = require('walk')
, fs = require('fs')
, done = this.async()
, self = this;
grunt.log.w
@eddywashere
eddywashere / html5boilerplate.jade
Created Nov 11, 2012 — forked from xtian/html5boilerplate.jade
HTML5 Boilerplate in jade
View html5boilerplate.jade
!!! 5
//if lt IE 7
<html class="no-js lt-ie9 lt-ie8 lt-ie7">
//if IE 7
<html class="no-js lt-ie9 lt-ie8">
//if IE 8
<html class="no-js lt-ie9">
//[if gt IE 8]><!
html(class='no-js')
//<![endif]