Skip to content

Instantly share code, notes, and snippets.

@osvik
Last active May 1, 2019 15:28
Show Gist options
  • Save osvik/1861dabfd90790b4de9d22edba112402 to your computer and use it in GitHub Desktop.
Save osvik/1861dabfd90790b4de9d22edba112402 to your computer and use it in GitHub Desktop.

List of software produced for/by Greenpeace

Source code of software produced specifically for Greenpeace. This list includes public and private repositories. Please check the repository's license before you use it.

Wordpress

Plugins

Plugins produced to be used either by Planet 4 or/and other Wordpress sites.

Themes

Standalone or child themes with indic. about parent theme.

Sites

Large websites

Microsites

Other web scripts

Web analytics

  • gpes-url-builder-int - Old translation of gpes current tool to create utm-tagged URLs.
  • gpes-emailtrack - A class to generate Google Analytics tracking pixels for html email and "view email in the browser" pages.

Microservices

Data visualization

Guides, dev and testing tools

  • gpes-visualisations - Proposal for tools and style guide for the visualisations in the Spanish office sites. Used often to produce charts, maps, infographics and other pieces. The guide includes near 60 examples and advocates for visualizations that can be shared, translated and adapted by anyone.
  • gpes-test-visualisations - Tool to help developing, testing and translating multilingual responsive interactive media, infographics and graphics that work in many different sites.

Specific web pieces

Processing data

Command line data processing

  • gpes-check-my-pages - Scrapping script used to test the Spanish web archive and redirects system, with more than 10,000 pages. It checks redirections, http responses, analytics, files hosted in soon-to-die servers, canonical urls and more. This script was produced for our migration from Planet 3 to Wordpress.
  • gpes-ecounter - Count unique email addresses, urls, sha256 hashes or Spanish ID numbers in one or multiple files. Works with csv, html and other formats. It also quickly hashes (encrypts) email addresses as sha256 strings that can be uploaded to Adwords and Facebook Ads as audiences.
  • gpes-ekomp - Compares emails or Spanish ID numbers in a text file with an encrypted list. Useful to check a list of emails against an encrypted blacklist. It creates two files with the results: was-found.txt and was-not-found.txt
  • gpes-ecompare - Compare two files (text, csv, html...) to check which emails, urls or sha256 hashes are in common and are missing in each file. This script is used to debug and to make simple segmenting operations.
  • gpes-eclean - Identifies records you should delete or fix on your EN database. It was developed to quickly identify useless/problematic records in your entire EN database.

SQL recipes

  • gpes-sql-recipes - List of MySQL snippets to analyse or fix our database.
  • gpes-bigquery-recipes - Google Big Query recipes to Analyse our data. Similar to gpes-bigquery-recipes, but uses Google BigQuery instead of MySQL.

Other data related

  • gpes-tlmk-validator private - CSV validator tool used by telemarketing agencies to validate their calls data before sending it to us. It prevents errors in Salesforce.

E-learning

  • gpes-html5-scorm-presentation - Create a GP presentation using html5. Use it independently or upload it as an elearning SCORM package in Moodle or any other SCORM-compatible LMS.

Other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment