This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2019-11-06T01:26:13.164Z","extensionVersion":"v3.4.3"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500" rel="stylesheet"> | |
<style type="text/css"> | |
body { | |
font-family: Montserrat, verdana, sans-serif; | |
font-weight: 300; | |
background-color: transparent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
#require 'branding_updater' | |
#BrandingElement.where(branding_type: 'SponsorBanner').select{|be| be.html_content =~ /<div/ } | |
class BrandingUpdater | |
def self.update_branding(branding_elements=[]) | |
html_sanatizer = HTML::FullSanitizer.new | |
branding_elements.each do |element| | |
if element.branding_type == 'SponsorBanner' | |
if element.html_content =~ /<div/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function parse_git_branch { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
PS1="\w \$(parse_git_branch)\$ " | |
export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH" | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" | |
alias gst='git status' | |
alias gpl='git pull' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Moved to League. Stats now updated by module, which is mixed into LeagueStats, TeamStats etc | |
class League < ActiveRecord::Base | |
... | |
def result(game) | |
team_result(game, game.team1, game.team1_score, game.team2_score) | |
team_result(game, game.team2, game.team2_score, game.team1_score) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " be iMproved | |
filetype off " required! | |
colorscheme ir_black | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" let Vundle manage Vundle | |
" required! | |
Bundle 'gmarik/vundle' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Basically its about brute forcing our side projects into shape. | |
if its your project you're the Boss (Boss suplies beer and pizza) | |
Boss lists his top 5 (issues|work items|designs|ideas|whatevers) and workers... Get to work on them. | |
Boss can be challenged over an issue if a worker disagrees, Then we have scrum/session (but not like the shitty FF "scrums"), | |
Both sides present their views and the workers vote. But at the end of the day its the Boss's project so if he feels | |
it's best to do it his way, then Boss man wins. |