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
casper: { | |
options : { | |
test : true, | |
}, | |
yourTask : { | |
src: [grunt.option('test') || 'path/to/tests/*_test.js'], | |
} | |
} |
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
* { | |
-moz-box-sizing: border-box; | |
/*box-sizing: border-box;*/ | |
} | |
.red { | |
background: red; | |
} | |
.blue { |
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
# using VirtualBox version $VBOX_VERSION | |
FROM boot2docker/boot2docker | |
RUN apt-get install p7zip-full | |
RUN mkdir -p /vboxguest && \ | |
cd /vboxguest && \ | |
curl -L -o vboxguest.iso http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso && \ | |
7z x vboxguest.iso -ir'!VBoxLinuxAdditions.run' && \ | |
sh VBoxLinuxAdditions.run --noexec --target . && \ |
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 mozillamarketplace/centos-python27-mkt:0.5 | |
RUN mkdir -p /pip/{cache,build} | |
ADD requirements /pip/requirements | |
# Setting cwd to /pip ensures egg-links for git installed deps are created in /pip/src | |
WORKDIR /pip | |
RUN pip install -b /pip/build --download-cache /pip/cache --no-deps -r /pip/requirements/docker.txt | |
EXPOSE 2601 |
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 centos:centos6 | |
# The repo file is local to this dockerfile | |
ADD mkt.repo /etc/yum.repos.d/mkt.repo | |
RUN yum install -y python27 \ | |
git \ | |
gcc \ | |
python27-m2crypto \ | |
python27-python-lxml \ |
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
define('settings_local', [], function() { | |
// Override settings here! | |
return { | |
api_url: 'http://mp.dev', | |
media_url: 'http://mp.dev/media', | |
// Fix this or Persona doesn't work | |
persona_site_logo: 'https://marketplace-dev-cdn.allizom.org/media/fireplace/img/logos/128.png' | |
}; | |
}); |
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
<form class="ddg" name="x" action="//duckduckgo.com/"> | |
<input type="hidden" value="muffinresearch.co.uk" name="sites"></input> | |
<input type="hidden" value="1" name="kh"></input> | |
<input type="hidden" value="1" name="kn"></input> | |
<input type="hidden" value="1" name="kac"></input> | |
<input type="search" placeholder="Search" name="q"></input> | |
<button class="button" type="submit">GO</button> | |
</form> |
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
#!/usr/bin/env python | |
"""A noddy fake smtp server.""" | |
import smtpd | |
import asyncore | |
class FakeSMTPServer(smtpd.SMTPServer): | |
"""A Fake smtp server""" | |
def __init__(*args, **kwargs): |
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
/* | |
* Copyright (c) 2008-09, Stuart Colville | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without modification, | |
* are permitted provided that the following conditions are met: | |
* | |
* * Redistributions of source code must retain the above copyright notice, | |
* this list of conditions and the following disclaimer. | |
* * Redistributions in binary form must reproduce the above copyright notice, |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
"""Simple command that prints out the current n last levels of the CWD | |
replacing the prefix with a horizontal ellipsis | |
Usage pwdn [numdirs] | |
""" |