This file contains hidden or 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
import time | |
from django.db import connections | |
from django.db.utils import OperationalError | |
from django.core.management.base import BaseCommand | |
from django.db import DEFAULT_DB_ALIAS | |
class Command(BaseCommand): | |
"""Django command to pause execution until database is available""" |
This file contains hidden or 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
package exercice; | |
import java.util.*; | |
public class TestEffi { | |
public static void main(String[] args) { | |
List<List<Character>> ordres = new ArrayList<>(); | |
ordres.add(List.of('c', 't', 'e', 'x', 'a', 'm', 'p', 'l', 's', 'r', 'd')); | |
ordres.add(List.of('t', 's', 'p', 'm', 'r', 'l', 'x', 'e', 'd', 'a', 'c')); | |
ordres.add(List.of('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k')); |