Skip to content

Instantly share code, notes, and snippets.

@medun
medun / pubhub_rig.md
Last active September 14, 2017 21:21
Running PubHub in Rig

1.Get up to date in the mono dir

cd /opt/buzzfeed/mono git checkout master git fetch origin master git rebase origin/master

2.Go into your vm -- it is RIG!

####try starting rig*

@medun
medun / INTL_sprint.md
Last active November 9, 2015 21:16
International Sprint Process

##Create a new branch associated with your card

  1. git checkout develop
  2. git pull origin develop
  3. git checkout -b [my-lovely-branch]

##Commit and push your branch

  1. git add .
  2. git commit -m 'my commit message'
  3. git push origin [my-lovely-branch]
##create a new branch associated with your card
git checkout develop;
git pull origin develop;
git checkout -b 'my-lovely-branch';
##work on your branch locally
##
git fetch -a
git checkout [release_branchname]
git checkout -b [your_work_branchname]
@medun
medun / gist:a8fd8bb6360d946c71d2
Created May 14, 2015 21:34
fade out validation
<html>
<head>
#fade {
transition: all 2s ease-in-out;
}
</head>
<body>
<div id=fade>Looks good!</div>
</body>
  1. in JIRA, move your ticket to "In Progress"
  2. make sure your current branch is clean: git status
  3. checkout the latest release: git checkout [release_branch_name]
  4. pull the upstream changes on the latest release branch: git pull origin [release_branch_name]
  5. create and checkout a working branch off of the release: git checkout -b [working_branch_name]
  6. do your work on the branch
  7. when work is finished, stage your changes: git add .
  8. commit the staged changes: git commit -m 'descriptive commit message'
  9. make sure your branch is clean: git status
  10. if so, checkout the latest release branch: git checkout [release_branch_name]
@medun
medun / gist:1048115
Created June 27, 2011 00:11
css3 hover
<style type=text/css>
a.button1 {
font-family: arial;
text-decoration: none;
display: block;
height: 40px;
padding: 10px 20px;
line-height: 23px;
font-size: 13px;