Skip to content

Instantly share code, notes, and snippets.

Environment:
Request Method: GET
Request URL: http://localhost:8000/cms/
Django Version: 3.2.11
Python Version: 3.9.9
Installed Applications:
['scout_apm.django',
theochevalier@MBP-2018:foundation.mozilla.org (remove-pipenv=)$ inv new-env
* Setting default environment variables
* Stripping quotes and making sure your DATABASE_URL and ALLOWED_HOSTS are properly setup
* Stopping project's containers and delete volumes if necessary
cd /Users/theochevalier/Documents/GitHub/foundation.mozilla.org && docker-compose down --volumes
Stopping foundationmozillaorg_postgres_1 ... done
Removing foundationmozillaorg_postgres_1 ... done
Removing foundationmozillaorg_watch-static-files_1 ... done
Removing network foundationmozillaorg_default
Removing volume foundationmozillaorg_postgres_data
@TheoChevalier
TheoChevalier / subtree
Created January 14, 2020 17:50
git subtree testing
theochevalier@Theos-MBP:foundation.mozilla.org (subtree)$ git subtree split -P network-api/locale/ -b l10n-sub
Created branch 'l10n-sub'
c0a9d990bbd15821f77ed16f16c470cd9b63cfcf
theochevalier@Theos-MBP:foundation.mozilla.org (subtree)$ git subtree push -P network-api/locale/ git@github.com:TheoChevalier/fomo-l10n.git master
git push using: git@github.com:TheoChevalier/fomo-l10n.git master
Énumération des objets: 84, fait.
Décompte des objets: 100% (84/84), fait.
Compression par delta en utilisant jusqu'à 12 fils d'exécution
Compression des objets: 100% (41/41), fait.
Écriture des objets: 100% (84/84), 15.94 Kio | 2.66 Mio/s, fait.

Keybase proof

I hereby claim:

  • I am theochevalier on github.
  • I am tchevalier (https://keybase.io/tchevalier) on keybase.
  • I have a public key ASBlUGBgTXQRBIO6S8tOBLRDuXDiF8VhpqH6GY3Lc6ILMwo

To claim this, I am signing this object:

<?php
namespace Transvision;
$output = '';
foreach ($changelog as $release => $changes) {
// Add release title and initialize variables
$output .= $release_title($release);
$empty_release = true;
$section = '';
foreach ($changes as $change => $attributes) {
@TheoChevalier
TheoChevalier / config.php
Last active August 29, 2015 14:22
Vikingbot config file, RSS config area
$chan = '#l10n-fr';
$interval = 5;
$config['plugins']['rssReader'] = array(
array('title'=> 'Central', 'url'=>'http://hg.mozilla.org/l10n-central/fr/atom-log', 'pollInterval'=>$interval, 'channel'=>$chan),
array('title'=> 'Aurora', 'url'=>'http://hg.mozilla.org/releases/l10n/mozilla-aurora/fr/atom-log', 'pollInterval'=>$interval, 'channel'=>$chan),
array('title'=> 'Beta', 'url'=>'http://hg.mozilla.org/releases/l10n/mozilla-beta/fr/atom-log', 'pollInterval'=>$interval, 'channel'=>$chan),
array('title'=> 'Firefox OS 2.2', 'url'=>'https://hg.mozilla.org/gaia-l10n/fr/atom-log', 'pollInterval'=>$interval, 'channel'=>$chan),
array('title'=> 'Firefox OS 2.0', 'url'=>'https://hg.mozilla.org/releases/gaia-l10n/v2_0/fr/atom-log', 'pollInterval'=>$interval, 'channel'=>$chan),
array('title'=> 'Firefox OS 2.1', 'url'=>'https://hg.mozilla.org/releases/gaia-l10n/v2_1/fr/atom-log', 'pollInterval'=>$interval, 'channel'=>$chan),
@TheoChevalier
TheoChevalier / locales.sh
Last active August 29, 2015 14:04
Get or update all B2G locales for a given branch
This hack doesn't work anymore.
@TheoChevalier
TheoChevalier / .userconfig
Last active August 29, 2015 14:04
Building B2G multilocale -- .userconfig (all locales + keyboards)
export CC=gcc-4.6
export CXX=g++-4.6
export MOZILLA_OFFICIAL=1
export DOGFOOD=0
export PRODUCTION=1
export REMOTE_DEBUGGER=1
export GAIA_DEVICE_TYPE=tablet
export B2G_SYSTEM_APPS=1