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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using Newtonsoft.Json.Linq; | |
/* | |
Énoncé: | |
Créez une fonction de tri qui prend en entrée un tableau d'objets et une clé de tri. | |
La fonction doit trier le tableau en fonction de la clé spécifiée de manière ascendante ou descendante. |
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
autoconf | |
automake | |
baobab | |
base | |
bison | |
bitwarden | |
cheese | |
code | |
efibootmgr | |
eog |
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
com.google.android.gms.common.api.ApiException: 4: The user must be signed in to make this API call. | |
at com.google.android.gms.common.internal.ApiExceptionUtil.fromStatus(com.google.android.gms:play-services-base@@18.0.0:3) | |
at com.google.android.gms.common.internal.zap.onComplete(com.google.android.gms:play-services-base@@18.0.0:4) | |
at com.google.android.gms.common.api.internal.BasePendingResult.zab(com.google.android.gms:play-services-base@@18.0.0:7) | |
at com.google.android.gms.common.api.internal.BasePendingResult.setResult(com.google.android.gms:play-services-base@@18.0.0:6) | |
at com.google.android.gms.common.api.internal.BaseImplementation$ApiMethodImpl.setFailedResult(com.google.android.gms:play-services-base@@18.0.0:5) | |
at com.google.android.gms.common.api.internal.zae.zad(com.google.android.gms:play-services-base@@18.0.0:1) | |
at com.google.android.gms.common.api.internal.zabq.zaE(com.google.android.gms:play-services-base@@18.0.0:7) | |
at com.goog |
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 penpotapp/frontend:latest | |
RUN sed -i 's/penpot/srv-captain--penpot/g' /etc/nginx/nginx.conf |
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
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"actions": | |
[ | |
{ | |
"command": | |
{ | |
"action": "copy", | |
"singleLine": false | |
}, |
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
[RESCUE] root@vps-8897b6e0:~ $ lsblk | |
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT | |
sda 8:0 0 2.5G 0 disk | |
└─sda1 8:1 0 2.5G 0 part / | |
sdb 8:16 0 160G 0 disk | |
└─sdb1 8:17 0 160G 0 part | |
[RESCUE] root@vps-8897b6e0:~ $ e2fsck -yf /dev/sdb1 | |
e2fsck 1.44.5 (15-Dec-2018) | |
/dev/sdb1: recovering journal | |
Pass 1: Checking inodes, blocks, and sizes |
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
// V1.1.1 - Added futures blurry Placeholder and left optimizedLoading enabled | |
// Updated to commit from 2021-05-18 | |
// https://github.com/vercel/next.js/commits/canary/packages/next/next-server/server/config-shared.ts | |
/** | |
* @type {import("next/dist/next-server/server/config-shared").NextConfig & import("next/dist/next-server/server/config-shared").defaultConfig} | |
*/ | |
const nextConfig = { | |
// Experimentals | |
experimental: { | |
plugins: true, |
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
print("Bienvenu dans ce programme de Bataille Navale") | |
print("Vous avez 5 bateaux") | |
bateaux = {"porte-avions":5,"croiseur":4, "sous-marin":3,"contre-torpilleur":3 ,"torpilleur":2} | |
print("placez vos bateaux, les cases vont de A à J et de 1 à 10, écrivez les cases une par une") | |
print("Le joueur A va tout d'abord choisir l'emplacement de ses bateaux") | |
GrilleJoueurA=[ | |
["0","0","0","0","0","0","0","0","0","0"], | |
["0","0","0","0","0","0","0","0","0","0"], | |
["0","0","0","0","0","0","0","0","0","0"], | |
["0","0","0","0","0","0","0","0","0","0"], |