Skip to content

Instantly share code, notes, and snippets.

View gpbmike's full-sized avatar
👋

Mike Horn gpbmike

👋
View GitHub Profile

I bundled these up into groups and wrote some thoughts about why I ask them!

If these helped you, I'd love to hear about it!! I'm on twitter @vcarl_ or send me an email carl.vitullo@gmail.com

Onboarding and the workplace

https://blog.vcarl.com/interview-questions-onboarding-workplace/

  • How long will it take to deploy my first change? To become productive? To understand the codebase?
  • What kind of equipment will I be provided? Will the company pay/reimburse me if I want something specific?
@jbenet
jbenet / simple-git-branching-model.md
Last active June 17, 2024 14:53
a simple git branching model

a simple git branching model (written in 2013)

This is a very simple git workflow. It (and variants) is in use by many people. I settled on it after using it very effectively at Athena. GitHub does something similar; Zach Holman mentioned it in this talk.

Update: Woah, thanks for all the attention. Didn't expect this simple rant to get popular.

@cimmanon
cimmanon / flexbox.scss
Last active September 17, 2020 15:05 — forked from anonymous/Flexbox mixins
This collection of Sass mixins to cover all 3 flexbox specifications that have been implemented. More information can be found here: https://gist.github.com/cimmanon/727c9d558b374d27c5b6
@import "compass/css3/shared";
// NOTE:
// All mixins for the 2009 spec have been written assuming they'll be fed property values that
// correspond to the standard spec. Some mixins can be fed values from the 2009 spec, but don't
// rely on it. The `legacy-order` mixin will increment the value fed to it because the 2009
// `box-ordinal-group` property begins indexing at 1, while the modern `order` property begins
// indexing at 0.
// if `true`, the 2009 properties will be emitted as part of the normal mixin call
@cooncesean
cooncesean / gist:2663684
Created May 12, 2012 01:56
5-11-012 Meeting
Notes from meeting:
"...rowing together..."
"...whether its the scrum or the this..."
((( rowing hand motion )))
"...'visioneering'..."
@cooncesean
cooncesean / fix_categories.py
Created May 3, 2012 22:58
Fix Your Dev Categories on Mom.me
# STEP 1 #############################
# Delete all Categories
from ella.core.models import Category
Category.objects.all().delete()
# close this shell
# STEP 2 #############################
# OPEN momme/site/__init__.py and comment out the last line:
# post_save.connect(forum_category_syncer, sender=Category)
@gpbmike
gpbmike / gist:2475315
Created April 24, 2012 01:29
mgmt commands
./manage.py loaddata category_data
./manage.py create_dev_topic_data
./manage.py create_dev_comment_data
YOUR_USERNAME = 'gpbmike'
import scout.recon.register
from django.contrib.auth.models import User
u = User.objects.get(username=YOUR_USERNAME)
u.profile['plan_id'] = 2
u.profile['next_billing_date'] = '2012-09-01'
u.save()
@gpbmike
gpbmike / create_best_of_category.py
Created March 14, 2012 04:32 — forked from cooncesean/create_best_of_category.py
Create a 'Best Of' article Category for Tested.
from ella.core.models import *
article_cat = Category.objects.get(slug='news')
Category.objects.create(slug='best-of', title='Best Of', tree_path='news/best-of', tree_parent=article_cat, site_id=1)
@cooncesean
cooncesean / script.sh
Created March 7, 2012 18:20
Remove transaction management from django admin options.py
> cd ~/.virtualenvs/tested/lib/python2.7/site-packages
> subl django
Open: django.contrib.admin.options.py
Search for the methods:
add_view()
change_view()
Remove the decorators above those methods:
@necolas
necolas / snippet.js
Created June 14, 2011 20:36
Optimised async loading of cross-domain scripts
/*
* Updated to use the function-based method described in http://www.phpied.com/social-button-bffs/
* Better handling of scripts without supplied ids.
*
* N.B. Be sure to include Google Analytics's _gaq and Facebook's fbAsyncInit prior to this function.
*/
(function(doc, script) {
var js,
fjs = doc.getElementsByTagName(script)[0],