- Python
- JavaScript/Node.js
- Java
- SQL
- Kotlin
- Bash
- PHP
- Golang
- C++
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
from pprint import pprint | |
class Iterateur: | |
def __init__(self): | |
self.prefix = [] | |
self.rep = [] | |
def iter_dico(self, dico: dict): |
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
from os import system | |
PAUSE = 0.1 | |
def incremente(lettres="abcdefghijk", reverse=False): | |
var = range(len(lettres)) | |
if reverse: | |
var = reversed(var) | |
for i in var: | |
print(lettres[:i + 1:]) |
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
LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so' android-studio |
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
docker build -t jestocke . && docker container stop jestocke_dev && docker container rm jestocke_dev && docker run -d --name=jestocke_dev -p 8000:8000 --network=dockernet jestocke |
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
2018-11-27 15:31:30.595 INFO 16527 --- [ main] GameAPI.PokerYnovGameApiApplication : No active profile set, falling back to default profiles: default | |
2018-11-27 15:31:30.969 INFO 16527 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=d771e315-40ac-32d6-8b43-1ab984b1ec32 | |
2018-11-27 15:31:31.011 INFO 16527 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$73dd2509] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) | |
2018-11-27 15:31:31.177 INFO 16527 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8081 (http) | |
2018-11-27 15:31:31.189 INFO 16527 --- [ main] o.apache.catalina.core.StandardService : Starting service [T |
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/lib/jvm/default-runtime/bin/java -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=37355 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:/home/louis/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/183.4284.148/lib/idea_rt.jar=34819:/home/louis/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/183.4284.148/bin -Dfile.encoding=UTF-8 -classpath /usr/lib/jvm/default-runtime/jre/lib/charsets.jar:/usr/lib/jvm/default-runtime/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/default-runtime/jre/lib/ext/dnsns.jar:/usr/lib/jvm/default-runtime/jre/lib/ext/jaccess.jar:/usr/lib/jvm/default-runtime/jre/lib/ext/localedata.jar:/usr/lib/jvm/default-runtime/jre/lib/ext/nashorn.jar:/usr/lib/jvm/default-runtime/jre/lib/ext/sunec.jar:/usr/lib/jvm/default-runtime/jre/lib/ext/sunjce_provider |
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
USE LA300 | |
SELECT date_format | |
from sys.dm_exec_sessions | |
where session_id = @@spid | |
set dateformat dmy | |
-- Affichez tous les employés de la société | |
SELECT NOM |
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
POST https://banksserver1.org/ | |
Content-Type: application/json | |
{ | |
"debitedUserId": "sdfkvnbmsdwfv", | |
"debitedUserPassword": "hmpspfivubpsudfbv", | |
"amount": 42, | |
"paymentTimestamp": 1547887699, | |
"creditedUserId": "qsvcqefvcqefcv" | |
} |
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
-- 1. SQL : lister les clients qui ont commandé en 1996 par ordre de CA décroissant pour l’année 1996 (1 pt) | |
SELECT CL.* | |
FROM CLIENTS CL | |
INNER JOIN COMMANDES C ON CL.CODE_CLIENT = C.CODE_CLIENT | |
INNER JOIN DETAILS_COMMANDES DC ON C.NO_COMMANDE = DC.NO_COMMANDE | |
WHERE year(DATE_COMMANDE) = 1996 | |
GROUP BY SOCIETE, CL.CODE_CLIENT, ADRESSE, VILLE, CODE_POSTAL, PAYS, TELEPHONE, FAX | |
ORDER BY sum((DC.PRIX_UNITAIRE * DC.QUANTITE) * (1 - DC.REMISE)) DESC | |
OlderNewer