- Nami: Walk through
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
# Request headers | |
sub vcl_recv { | |
set req.http.X-Fastly-Country-Code = geoip.country_code; | |
set req.http.X-Fastly-Country-Name = geoip.country_name; | |
set req.http.X-Fastly-City = geoip.city; | |
set req.http.X-Fastly-Latitude = geoip.latitude; | |
set req.http.X-Fastly-Longitude = geoip.longitude; | |
set req.http.X-Fastly-Region = geoip.region; | |
#FASTLY recv |
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
$ find . -type f -exec grep -Hni mexico {} \; | |
./CHANGELOG.md:33:- Campaign Content added by DS Mexico only appearing in Active view - not in Admin/Edit [\#5198](https://github.com/DoSomething/phoenix/issues/5198) | |
./CHANGELOG.md:228:- figure out how to proxy Mexico and Non-US/BR/MX user experience [\#5008](https://github.com/DoSomething/phoenix/issues/5008) | |
./CHANGELOG.md:289:- Set default language for brazil and mexico admin [\#4999](https://github.com/DoSomething/phoenix/issues/4999) | |
./CHANGELOG.md:374:- Brazil Admin/Mexico Admin should see edit tab on campaign view page [\#4951](https://github.com/DoSomething/phoenix/issues/4951) | |
./CHANGELOG.md:2162:- Hides non translatable fields from Mexico and Brazil admins [\#5004](https://github.com/DoSomething/phoenix/pull/5004) ([deadlybutter](https://github.com/deadlybutter)) | |
./CHANGELOG.md:2242:- Adding Brazil and Mexico admin roles and perms [\#4776](https://github.com/DoSomething/phoenix/pull/4776) ([blisteringherb](https://github.com/blisteringherb)) | |
./lib/modul |
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
sub vcl_recv { | |
if (table.lookup(redirects, req.url)) { | |
error 777 "Moved"; | |
} | |
#FASTLY recv | |
if (req.request != "HEAD" && req.request != "GET" && req.request != "FASTLYPURGE") { | |
return(pass); |
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
TOTAL PROJECTS: 129 | |
TOTAL CONTRIBUTIONS: 8461 | |
BY PROJECT: | |
phoenix: 2218 | |
LetsDoThis-iOS: 966 | |
LetsDoThis-Android: 471 | |
northstar: 379 | |
voting-app: 365 | |
aurora: 330 |
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
<?php | |
/** | |
* Get user data from Northstar. | |
* | |
* @param int $id | |
* Northstar user ID | |
* | |
* @return object | |
*/ |
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
# $Id$ | |
# | |
# LANGUAGE translation of Drupal (general) | |
# Copyright YEAR NAME <EMAIL@ADDRESS> | |
# Generated from files: | |
# theme-settings.php: n/a | |
# templates/user/user-profile.tpl.php: n/a | |
# paraneue_dosomething.info: n/a | |
# includes/form.inc: n/a | |
# includes/auth/register.inc: n/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
Vagrant.configure("2") do |config| | |
## Choose your base box | |
config.vm.box = "dosomething/drupal" | |
config.vm.provider "virtualbox" do |v| | |
v.customize ["modifyvm", :id, "--memory", 3072] | |
end | |
# SSH Agent forwarding |
- Fork the main repo
- Make the fork your origin, and clone locally
- Work from the dev branch. dev is your home base
- Before you start work, update your local dev from upstream/dev
git checkout dev
git fetch upstream
git merge upstream/dev
git push origin
- Branch from dev locally
- Add and commit there
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 bash | |
# Create the MySQL tables | |
for file in *.sql | |
do | |
echo $file | |
cat $file | mysql -u USER -pPASS DBNAME | |
cat $file | mysql -u USER -pPASS DBNAME | |
done |