Based on the Treemap example.
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
// Close modal on clicking close button or background. | |
$document.on('click', '#modal .close', flicks.closeModal); | |
//$document.on('click', '#modal.bg_close', flicks.closeModal); | |
$(function() { | |
/* Share Widget *******/ | |
var $share = $('.share'); | |
var $popup = $share.find('.popup'); |
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
import csv | |
import os | |
from os.path import join, getsize | |
ROOTURL = 'http://www.mozilla.org' | |
ROOTSVN = 'http://viewvc.svn.mozilla.org/vc/projects/mozilla.org/trunk' | |
with open('test.csv', 'wb') as csvfile: | |
csvwriter = csv.writer(csvfile, delimiter=',', | |
quotechar='|', quoting=csv.QUOTE_MINIMAL) |
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
{# L10n: Text is used in a tweet, please keep the length under 110 characters. #} | |
<a href="{{ twitterShare('http://mzl.la/158wtFo', _('Vote for the #FirefoxFlicks People\'s Choice Award! ') , via='firefoxflicks') }}" rel="external" data-window-opts="toolbar=0, status=0, resizable=1, width=626, height=436"> | |
{{ _('Share on Twitter') }} | |
</a> |
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
from django.conf import settings | |
from django.conf.urls.defaults import include, patterns | |
from django.contrib import admin | |
from django.contrib.staticfiles.urls import staticfiles_urlpatterns <- this!! | |
from django.http import HttpResponse | |
from django.shortcuts import render | |
*** | |
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
How has working with your manager been this last quarter? | |
What are the things your manager does really well? | |
What are the things your manager could improve? | |
Within Web Productions, what could your manager do to make you or our team more effective. | |
In the larger Mozilla universe, what would you like to see your manager work to improve? |
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
//I hate regex. Here is what I have so far. | |
var testString = "fix bug 3524"; | |
var regex1 = new RegExp("/(?:close|fix|address)*?(?=(?:ticket|bug|tracker item|issue)*?)/","i"); | |
var result = regex1.exec(testString); | |
if (result) { | |
console.log(result); | |
} else { | |
console.log('no match!'); |
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
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit" |
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
THE FOLLOWING PACKAGES DIDN'T MATCHES THE HASHES SPECIFIED IN THE REQUIREMENTS | |
FILE. If you have updated the package versions, update the hashes. If not, | |
freak out, because someone has tampered with the packages. | |
django-appconf: expected 53T3tTehlADKaH9I01KrdGFzKsQThd2I_a1Hie-tKcU | |
got qI7Y-5I6U8cMLEb75FCLX4Fka0sBQB8VaKghZxszIVw | |
six: expected jzT1uJ4X-opuOUUxAxjL1cjLsW-iiPeOqW28cDRMsb8 | |
got 1DkqfI2RsAXAAlaKhfr2F8ZyQcjNg5nMOV6PEAWv-A0 | |
Django: expected uBCR_UHpUunXFQuLwgVbFAwsETJIX3jk6gdQE3CAANU | |
got 0bP4Rg6Tb0eEbnxPgK-VHtqCpBwlPDpR_zOJhj_xwDo |
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> | |
<meta charset="utf-8"> | |
<style> | |
</style> | |
<body> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script> |
OlderNewer