Skip to content

Instantly share code, notes, and snippets.

View Yoshyn's full-sized avatar
🇫🇷
Graou

Sylvestre Antoine Yoshyn

🇫🇷
Graou
View GitHub Profile
@Yoshyn
Yoshyn / breach.txt
Created February 25, 2025 09:47 — forked from fawazahmed0/breach.txt
Email and password breach collection list
# Please Note, I am sharing this, hoping this will be used for good public use, such as data analysis, penetration testing etc
# These links are already available all over the internet
# Also Note, Trying to login into someone else's account without their permission is unethical and illegal
# Collection 1
magnet:?xt=urn:btih:B39C603C7E18DB8262067C5926E7D5EA5D20E12E&dn=Collection%201&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.leechers-paradise.org%3a6969%2fannounce&tr=http%3a%2f%2ft.nyaatracker.com%3a80%2fannounce&tr=http%3a%2f%2fopentracker.xyz%3a80%2fannounce
# Collection 2-5 & Antipublic
magnet:?xt=urn:btih:D136B1ADDE531F38311FBF43FB96FC26DF1A34CD&dn=Collection%20%232-%235%20%26%20Antipublic&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.leechers-paradise.org%3a6969%2fannounce&tr=http%3a%2f%2ft.nyaatracker.com%3a80%2fannounce&tr=http%3a%2f%2fopentracker.xyz%3a80%2fannounce
@Yoshyn
Yoshyn / iterator.js
Last active May 11, 2023 11:46
Some simple of writing iterator in javascript. Produce ce same result.
//Equivalence 1 :
async function * iterableFct() {
let i = 0;
while (i < 2) yield ++i;
}
const iterable = iterableFct();
await iterable[Symbol.asyncIterator]().next(); // 1
await iterable[Symbol.asyncIterator]().next(); // 2
for await (const response of iterable) {
@Yoshyn
Yoshyn / index.html
Last active January 11, 2023 16:36
Minimal notification javascript in browser
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<style>
html, body {
height: 100%;
margin-right: 5%;
@Yoshyn
Yoshyn / AWS SSO : Auto-allow.js
Created November 18, 2022 17:45
Tampermonkey scripts
// ==UserScript==
// @name AWS SSO : Auto-allow
// @namespace https://skillsoftsso.awsapps.com/
// @version 0.1
// @description Auto allow
// @author You
// @match https://skillsoftsso.awsapps.com/start/user-consent/authorize.html?clientId=*
// @grant none
// ==/UserScript==
@Yoshyn
Yoshyn / gist:0dab97ab9cb54b4a0cf66a1d59b54b9d
Created February 4, 2022 10:28
Kind, istio and localhost access
# Kind installation : https://istio.io/latest/docs/setup/platform-setup/kind/
kind create cluster --name istio-testing
kubectl config use-context kind-istio-testing
# Istio installation : https://istio.io/latest/docs/setup/getting-started/
istioctl install --set profile=demo -y
...
@Yoshyn
Yoshyn / .Description
Last active September 5, 2023 12:32
Setup mac
Main step to the setup of my mac.
@Yoshyn
Yoshyn / .Description
Last active September 2, 2021 12:37
Rails last version & docker-compose setup easy
Rails last version & docker-compose setup easy
@Yoshyn
Yoshyn / sqlite3.Dockerfile
Created March 5, 2021 19:17
Docker & Sqlite3 backup. Volume manipulation
# docker build -f sqlite3.Dockerfile -t sqlite3:local .
# docker run --rm -it -v sqlite-db-volume:/db sqlite3:local my_app.db
FROM alpine:latest
RUN apk add --update sqlite
RUN mkdir /db
WORKDIR /db
ENTRYPOINT ["sqlite3"]
CMD ["my_app.db"]
@Yoshyn
Yoshyn / coding_game.rb
Last active May 10, 2020 13:01
Sample stuff for gaming with coding_game
require "minitest/autorun"
require "pry-byebug"
class Position
DIRECTIONS= %i(north east south west)
class Radius
include Enumerable
def initialize(value); @value =value; end
@Yoshyn
Yoshyn / openssl.md
Last active October 22, 2021 15:15
Verify a certificat (crt) and a private key

Let's check

Check the certificat openssl x509 -in certificate.crt -text -noout

Compare the certificat & the private key; This :

openssl x509 -modulus -noout -in mycomp.com.crt | openssl md5

Should return the same as :