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
1. Work and improve upon the existing Mozilla India Developer Leaderboard. | |
2. Implement similar leaderboard for other project areas such as Support[based on SUMO stats like queries answered, etc], Webmaker[number of makes created, etc.] | |
3. Develop and create a Portal for Mozilla India: The idea is that the Mozilla India community has grown by leaps and bounds and as such needs a home portal which would list all Mozillians/Reps from Mozilla India by using APIs from mozillians.org & reps.mozilla.org. A possible point of reference for how it may look might be the ReMo People's page - reps.mozilla.org/people. This portal should be integrated into mozillaindia.org. | |
Bonus: Allow profile creation for Vouched Mozillians from India. It should use Persona and these profiles should be usable across all Mozilla India properties on the Web such as the Mozilla India Blog. | |
4. Create a Mozilla India Events portal: It would basically be an aggregator which would aggregate and show various Mozilla India events from various |
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
Clone the repositories: | |
git clone git://git.yoctoproject.org/poky | |
cd poky | |
git clone git://git.yoctoproject.org/meta-raspberrypi | |
git clone git://git.openembedded.org/meta-openembedded | |
git clone git://github.com/imphil/meta-b2g.git | |
. ./oe-init-build-env rpi-build | |
Traverse into 'conf' directory |
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
describe("Unit: Testing Reporting App Controllers", function() { | |
beforeEach(angular.mock.module('reportingapp')) | |
window.CONFIG = {"root":"http://safetyapps-api-staging.mychanger.net","api":"http://safetyapps-api-staging.mychanger.net/api/","statics":"//s3-eu-west-1.amazonaws.com/safetyapps-assets/reportingapp/0.0.1/","organization":"changer","token":"e66d390004436e34863fe724b5df8fced4cf6142c8715f99","refreshToken":"6c325209563ec2259063b824360db3d929b5b3be8173e9bd"}; | |
beforeEach(angular.mock.inject(function ($controller, $rootScope, $state, $http) { | |
scope = $rootScope.$new(); | |
defaultCtrl = $controller('DefaultCtrl', { | |
$scope: scope, |
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
describe("Unit: Testing Reporting App Controllers", function() { | |
beforeEach(angular.mock.module('reportingapp')) | |
window.CONFIG = {"root":"http://safetyapps-api-staging.mychanger.net","api":"http://safetyapps-api-staging.mychanger.net/api/","statics":"//s3-eu-west-1.amazonaws.com/safetyapps-assets/reportingapp/0.0.1/","organization":"changer","token":"e66d390004436e34863fe724b5df8fced4cf6142c8715f99","refreshToken":"6c325209563ec2259063b824360db3d929b5b3be8173e9bd"}; | |
beforeEach(angular.mock.inject(function ($controller, $rootScope, $state, $http) { | |
$scope = $rootScope.$new(); | |
defaultCtrl = $controller('DefaultCtrl', { | |
$scope: $scope, |
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
// Remap $ to jQuery object | |
var $ = jQuery; | |
// The real fun begins... first catch all the post-anchors & loop on them | |
$(".badge-evt.badge-nsfw-entry-cover").each(function () { | |
// Find out the ID of the post | |
var id = ($(this).attr("href").split("/"))[4]; | |
// Construct the `quite guessable` image URL | |
var url = "http://d3dsacqprgcsqh.cloudfront.net/photo/" + id + "_460s.jpg"; | |
// Put in an image element with source as the formed URL |
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
describe('Unit: Testing Owner PublicationListCtrl', function() { | |
beforeEach(angular.mock.module('incidentapp_worker')); | |
var publicationListCtrl, scope, publicationList; | |
beforeEach(angular.mock.inject(function ($controller, $rootScope, $location) { | |
publicationList = {}; | |
scope = $rootScope.$new(); | |
publicationListCtrl = $controller('PublicationListCtrl', { |
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
app.use(express.methodOverride()); | |
// ## CORS middleware | |
// | |
// see: http://stackoverflow.com/questions/7067966/how-to-allow-cors-in-express-nodejs | |
var allowCrossDomain = function(req, res, next) { | |
res.header('Access-Control-Allow-Origin', '*'); | |
res.header('Access-Control-Allow-Methods', 'GET,PUT,POST,DELETE'); | |
res.header('Access-Control-Allow-Headers', 'Content-Type, Authorization'); | |
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
# features/log-in.feature | |
Feature: Create a page | |
As an site owner | |
I want to access to the CMS to be secure | |
So that only my team can make content changes | |
Scenario: Bad login | |
When I log in with "bad@example.com" and "badpassword" | |
Then I will see a bad log-in message | |
And if I visit admin |
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> | |
<html lang="en"> | |
<head> | |
<base href="https://popcorn.webmaker.org/templates/basic/"> | |
<title>Popcorn Maker</title> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta name="viewport" content="width=device-width"> | |
<link rel="stylesheet" href="style.css"> |
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><html><head> | |
<title>My Music - Credits</title> | |
</head> | |
<body> | |
<p></p> | |
</body></html> |
OlderNewer