Skip to content

Instantly share code, notes, and snippets.

View gmcerveny's full-sized avatar

Greg Cerveny gmcerveny

View GitHub Profile

Compiling a Customized Bootstrap with LESS

Problem 1 - Merging changes

Bootstrap inevitably changes so I need a way to update bootstrap source code.

It looks like the popular options are:

  • modify the source and merge any future changes in
  • add files such as custom-variables.less that override previous values
var numbers = [6, 3, 2, 9];
console.log(numbers);
do {
unsorted = true;
for (var i = 0; i < numbers.length - 1; i += 1) {
var j = i + 1;
if (numbers[i] > numbers[j]){
var hold = numbers[i];
numbers[i] = numbers[j];
@gmcerveny
gmcerveny / 00_Orientation.md
Last active December 26, 2015 06:39
JS Course

JavaScript Course Orientation

Welcome to our little experiment where we become more awesome over the course of 6 weeks.

Contact Information

Greg Cerveny 303-810-7068 @gmcerveny [email protected]

@gmcerveny
gmcerveny / js.md
Last active December 25, 2015 17:39
Getting Started With Javascript

Get Started with JavaScript

Thursday, October 24th from 7 p.m. until 7:30 p.m

Friday, October 25th from noon until 12:30 p.m.

Location: Geekdom San Antonio, 11th Floor, http://geekdom.com

Wondering what the hell JavaScript is? This session is for you.

How to Win at Mentoring

Mentors are Volunteers

  • Mentors give up their time to help you with your business.
  • They are busy individuals, many with businesses of their own to run.
  • Use their time wisely and with respect.

Come Prepared

@gmcerveny
gmcerveny / miditest.ino
Last active December 20, 2015 22:08
Simple Hairless / Arduino MIDI test
#include <MIDI.h>
void setup()
{
MIDI.begin();
Serial.begin(115200);
}
void loop()
{
  • build cool stuff
  • share it with awesome people
  • make a better future
@gmcerveny
gmcerveny / gist:6054135
Created July 22, 2013 14:14
Shrink images on the command line keeping ratio
sips -Z 600 *.jpg
@gmcerveny
gmcerveny / README.md
Last active December 19, 2015 16:49
Programmers Book Club

Programmers Book Club

The programmers book club is a bi-weekly meeting of technically minded folks interested in improving their skills relevant to the craft and practice of programming.

Time & Location

Wednesdays, 6:00-7:00pm at Geekdom on the 11th floor in the Berners-Lee conference room.

Current Book

@gmcerveny
gmcerveny / gist:5084011
Last active December 14, 2015 12:09
Adding device modifier to assets
find . -type f -name "*.png" -print | while read file; do mv "${file}" "${file%.png}~ipad.png";
done;
find . -type f -name "*.png" -and -not -name "*~ipad.png" -print