Skip to content

Instantly share code, notes, and snippets.

Benjamin Wasilewski bwasilewski

Block or report user

Report or block bwasilewski

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
View SassMeister-input-HTML.html
<ul class="nav--primary">
<li class="nav__item">One</li>
<li class="nav__item">Two</li>
<li class="nav__item">Three</li>
</ul>
<ul class="nav--secondary">
<li class="nav__item">One</li>
<li class="nav__item">Two</li>
<li class="nav__item">Three</li>
@bwasilewski
bwasilewski / package.json
Created Dec 8, 2013
An example package.json file for new Grunt projects. This is a supporting file for my presentation "A Better Workflow with Grunt".
View package.json
{
"name": "example-project",
"version": "0.1.0",
"devDependencies": {
"grunt": "~0.4.2",
"grunt-contrib-jshint": "~0.6.3",
"grunt-contrib-uglify": "~0.2.2"
}
}
@bwasilewski
bwasilewski / Object.js
Last active Dec 19, 2015
Object template
View Object.js
(function () {
'use strict';
window.Obj = function Obj () {
// Underscores for top level variables
var _self = this;
// Init object here
function init () { }
View Contract Template.md

Independent Contractor Agreement

Between <%= companyname %> And <%= customername %>

Summary:

You <%= customername %>, located at <%= customeraddress %> (“You”) are hiring us <%= companyname %> (“We or Us”) to:

  • <%= workdescription %>
@bwasilewski
bwasilewski / pw.modal.js
Created Apr 2, 2013
Many jQuery modal plugins require including more than just the plugin - many contain separate stylesheets and images. This plugin leaves the styling up to the user and focuses simply on the behavior of the modal.
View pw.modal.js
/*globals jQuery,Mustache*/
(function($) {
$.fn.modal = function(options) {
var els = $(this)
, that = {
/**
* initialization, set up event handlers, etc.
*/
You can’t perform that action at this time.