Skip to content

Instantly share code, notes, and snippets.

View MatonAnthony's full-sized avatar
💉
Making healthcare better

Anthony Maton MatonAnthony

💉
Making healthcare better
  • Smals ASBL
  • Belgium
View GitHub Profile
docker pull mdnwebdocs/kuma_base\:latest
latest: Pulling from mdnwebdocs/kuma_base
Digest: sha256:d7322b1a0617546d1dde1d4a2ec1a58e809b379ceefb68945259c89e5a51f0f1
Status: Image is up to date for mdnwebdocs/kuma_base:latest
docker pull mdnwebdocs/kuma\:latest
Error response from daemon: manifest for mdnwebdocs/kuma:latest not found
make: *** [pull-kuma-latest] Error 1
docker pull mdnwebdocs/kuma_base\:latest
latest: Pulling from mdnwebdocs/kuma_base
Digest: sha256:d7322b1a0617546d1dde1d4a2ec1a58e809b379ceefb68945259c89e5a51f0f1
Status: Image is up to date for mdnwebdocs/kuma_base:latest
docker pull mdnwebdocs/kuma\:latest
('langs:', {
'xh': 'xh',
'cn': 'zh-CN',
'bn-in': 'bn-IN',
'ca': 'ca',
'en-us': 'en-US',
'son': 'son',
'pt-br': 'pt-BR',
'ga': 'ga-IE',
'cs': 'cs',
FROM ubuntu
RUN apt-get update && apt-get install -y openssh-server daemon
RUN mkdir /var/run/sshd
RUN echo 'root:password' | chpasswd
RUN sed -i 's/PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
# SSH login fix. Otherwise user is kicked off after login
RUN sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd
public class MachineACafe {
private int montantEnCours = 0;
private ToucheBoisson boisson = null;
private State etatCourant = State.INACTIF;
private static enum State{
INACTIF{
public void selectionnerBoisson(MachineACafe m,ToucheBoisson toucheBoisson) {
m.afficherPasAssez(toucheBoisson);
}
Change to make on FOSDEM 2017 Wiki page :
- Schedule :
The schedule is available at https://fosdem.org/2017/schedule/
Mozilla devroom schedule on Saturday is available at https://fosdem.org/2017/schedule/track/mozilla/
Note : FOSDEM companions app are also available for most smartphones : https://fosdem.org/2017/schedule/mobile/
- Mozilla Booth :
Unfortunately, and this is different from previous years, we have only been assigned one table which will be our booth.
^-- This sentence is now incorrect, we got the exact same booth as last year for what I understood from the email
================================================================================================================================= slowest 25 test durations ==================================================================================================================================
25.75s call kuma/wiki/tests/test_views.py::DocumentEditingTests::test_slug_revamp
22.85s call kuma/wiki/tests/test_views.py::DocumentEditingTests::test_invalid_reserved_term_slug
16.94s call kuma/attachments/tests/test_views.py::AttachmentViewTests::test_legacy_redirect
14.53s call kuma/wiki/tests/test_views.py::DocumentSEOTests::test_seo_title
13.86s call kuma/wiki/tests/test_views.py::DocumentSEOTests::test_seo_script
11.67s call kuma/wiki/tests/test_views.py::DocumentEditingTests::test_document_tags
11.04s call kuma/wiki/tests/test_forms.py::RevisionFormEditTests::test_change_tags_edit
10.87s call kuma/wiki/tests/test_views.py::PermissionTests::test_template_permissions
10.81s call kuma/at

➜ kuma git:(master) docker exec -it kuma_web_1 ./manage.py migrate Operations to perform: Synchronize unmigrated apps: allauth, debug_toolbar, humans, dashboards, statici18n, captcha, django_mysql, django_extensions, rest_framework, cacheback, dbgettext, django_jinja, flat, persona, staticfiles, landing, puente, sitemaps, github, pipeline, soapbox, messages, honeypot, constance Apply all migrations: wiki, core, account, tidings, attachments, database, admin, sessions, djcelery, search, auth, feeder, sites, contenttypes, taggit, users, waffle, authkeys, socialaccount Synchronizing apps without migrations: Creating tables... Running deferred SQL... Installing custom SQL... Running migrations: No migrations to apply.

========================================================================================= short test summary info ==========================================================================================
XFAIL kuma/core/tests/test_urlresolvers.py::BestLanguageTests::test_nonprefix_alias
no clue what is up with norwegian locales
XFAIL kuma/wiki/tests/test_templates.py::TranslateTests::test_translate_based_on
Figure out wtf is going on with this test.
XFAIL kuma/wiki/tests/test_templates.py::ArticlePreviewTests::test_preview_locale
broken test
XPASS kuma/wiki/tests/test_templates.py::TranslateTests::test_translate_form_maintains_based_on_rev Figure out wtf is going on with this test
================================================================================================= FAILURES =================================================================================================
from django.db import models
from django.contrib.auth.models import User
from django.contrib.auth.models import Group
from django.apps import apps
import evelink.eve
import evelink.api
import json
class EveSkillEntity(models.Model):