Skip to content

Instantly share code, notes, and snippets.

View Theminijohn's full-sized avatar
🤘
Building Growth Products

Mini John™ Theminijohn

🤘
Building Growth Products
View GitHub Profile
class Team < ActiveRecord::Base
# Friendly ID
extend FriendlyId
friendly_id :name
# Rolify
resourcify
# Associations
belongs_to :user

Our workflow - From story to production

Everything that's happening engineering-wise should be well documented, so we don't lose track. Whether it's a feature or a bug, or just some tech related work, it needs to be written down. The log for all activity right now is Pivotal Tracker, and we use per application projects there.

Pivotal Tracker allows you to add three types of entries; features, bugs and chores. Anything that provides measurable value to the app is considered a feature. Bugs are defects in the software. Chores are tasks that while adding value to the product, this value cannot be measured directly. Cleaning up tech debt falls on this category.

The projects on Pivotal Tracker are visible from both Product and Engineering. Sometimes a task in Tracker can be further broken down to smaller tasks. Sometimes a task in Tracker makes sense from a Product point of view, but developers speak a different language. That's why we replicate issues on Github. Every task in Tracker should be linked to one

@Theminijohn
Theminijohn / workflow.md
Last active May 11, 2016 17:30
How to rock <3

1. Create a branch

$ git checkout master
$ git pull origin master
$ git checkout -b change-features-page

2. Do the work

@Theminijohn
Theminijohn / script1.html
Created May 12, 2016 12:08
AnyGuide Scripts
<script src="https://www.anyguide.com/assets/integration.js"></script>
<div id="iframe_wrapper"></div>
<script language="javascript" type="text/javascript">
(function(){
window.anyroad = new AnyRoad({
container: "#iframe_wrapper",
tours: { curated_list: 'join_a_tour' },
iframe_style: { width: '100%', background: 'transparent' },
referrer: { name: 'elenaa' }
});
@Theminijohn
Theminijohn / adwords-qs-tracker.js
Created August 24, 2018 15:12
AdWords Quality Score Tracker
function main(){
/*
* The following preferences can be changed to customize this script.
* Most of options can be set by using 1 for yes or 0 for no.
* You don't have to change anything here. The script will do fine with the defaults.
*/
var config = {
/*
* Which of the following charts should be displayed on the dashboard?
* The "per QS" charts are column charts. They show the current state compared to a previous one (see next option).
@Theminijohn
Theminijohn / adwords-qs-tracker.js
Created August 24, 2018 15:12
AdWords Quality Score Tracker
function main(){
/*
* The following preferences can be changed to customize this script.
* Most of options can be set by using 1 for yes or 0 for no.
* You don't have to change anything here. The script will do fine with the defaults.
*/
var config = {
/*
* Which of the following charts should be displayed on the dashboard?
* The "per QS" charts are column charts. They show the current state compared to a previous one (see next option).
@Theminijohn
Theminijohn / adwords-qs-tracker.js
Created August 24, 2018 15:12
AdWords Quality Score Tracker
function main(){
/*
* The following preferences can be changed to customize this script.
* Most of options can be set by using 1 for yes or 0 for no.
* You don't have to change anything here. The script will do fine with the defaults.
*/
var config = {
/*
* Which of the following charts should be displayed on the dashboard?
* The "per QS" charts are column charts. They show the current state compared to a previous one (see next option).
@Theminijohn
Theminijohn / adwords-qs-tracker.js
Created August 24, 2018 15:12
AdWords Quality Score Tracker
function main(){
/*
* The following preferences can be changed to customize this script.
* Most of options can be set by using 1 for yes or 0 for no.
* You don't have to change anything here. The script will do fine with the defaults.
*/
var config = {
/*
* Which of the following charts should be displayed on the dashboard?
* The "per QS" charts are column charts. They show the current state compared to a previous one (see next option).
@Theminijohn
Theminijohn / podcast.md
Created September 30, 2019 15:10
Podcast 101

Handbook / Marketing / Podcast

Podcast

How we ideate, structure, produce & distribute our podcast episodes

  • title: How to Startup (Podcast name survey Last survey)
  • RSS Feed URL: [coming soon]
  • category: Startup Founder Education
  • format: Solo starting out, but will evolve into Interviewing experts & founders and fireside chats
@Theminijohn
Theminijohn / .tmux.conf
Created August 27, 2015 10:58
Tmux Conf File
# Set prefix to Ctrl-Space
unbind C-b
set -g prefix C-Space
bind Space send-prefix
# Allows for faster key repetition
set -s escape-time 0
# Design
set -g status-left '#[fg=#a09f93,bg=#2d2d2d,bold] ༼ つ◕_◕ ༽つ #[fg=white,bg=#2d2d2d,nobold]#[fg=colour245,bg=#2d2d2d,bold] #(whoami) #[fg=colour238,bg=white,nobold]'