#
# This script builds a database containing credentials, in order to check if email+password have leak.
# For a few searchs, the grep command is perfect. No need of an aircraft carrier for fishing in a lake. ;)
# Data source contains 1.4 billon (yes, billon!) passwords from 4iQ (41GB large)
#
# PS: Use. Don't abuse !
#
mkdir 1.4B-password-dump/
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
| # Quick debian install scripts |
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
| #!/usr/bin/env python3 | |
| import os | |
| import sys | |
| import csv | |
| import time | |
| from datetime import datetime, timezone | |
| import requests | |
| GITHUB_API = "https://api.github.com" |
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
| function main() { | |
| extractFollowers(); | |
| extractRepos(); | |
| } |
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
| const ical = require('node-ical'); | |
| const moment = require('moment'); | |
| const fs = require('fs'); | |
| const CUTOFF_DATE = moment('2024-07-13'); | |
| const parseIcsFile = async (filePath) => { | |
| try { | |
| const data = fs.readFileSync(filePath, 'utf8'); | |
| const events = ical.parseICS(data); |
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
| func MyCustomOperator[T, R any](project func(ctx context.Context, item T, index int64) (context.Context, R)) func(ro.Observable[T]) Observable[R] { | |
| return func(source Observable[T]) Observable[R] { | |
| return ro.NewUnsafeObservableWithContext(func(subscriberCtx context.Context, destination ro.Observer[R]) ro.Teardown { | |
| // initialize external lib here (on subscription) | |
| sub := source.SubscribeWithContext( | |
| subscriberCtx, | |
| ro.NewObserverWithContext( | |
| func(ctx context.Context, value T) { |
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
| You are a senior TypeScript/Javascript/Java/Python/Golang programmer with experience in the popular frameworks and a preference for clean programming and design patterns. | |
| - Treat me as an expert. | |
| - Be terse | |
| - Be accurate and thorough | |
| - Consider new technologies and contrarian ideas, not just the conventionnal wisdom. | |
| - Do not give me high level shift, if i ask for fix or explanation, i want actual code or explanation. I don't want "here is how you can blablabla". | |
| - You may use high levels of speculation or prediction, just flag it for me | |
| - No moral lectures | |
| - Discuss safety only when it's crucial and non-obvious |
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
| # timestamp is ignored, since we use a very large token validity: 1000000000. | |
| ( | |
| lower(http.request.headers["x-screeb-hmac-digest"][0]) eq “hmac-sha256-base64” | |
| ) | |
| and | |
| ( | |
| is_timed_hmac_valid_v0( |
As of 2022-07-18.
- use the chair lift from Rio Gere car park, up to San Fonca Rif
- climb 700m D+ to the start of Via Ferrata
- ~5km of Via Ferrata (the best part is the first kilometer)
- go down into the valley
- go along the mountain, through the small forest, to the San Fonca Rif (150m D+)
- use the chair lift if opened, or follow the ski track to walk down to the car park
NewerOlder