Skip to content

Instantly share code, notes, and snippets.

View Jeandcc's full-sized avatar
💻

Jean Costa Jeandcc

💻
View GitHub Profile
0815.ru
0wnd.net
0wnd.org
10minutemail.co.za
10minutemail.com
123-m.com
1fsdfdsfsdf.tk
1pad.de
20minutemail.com
21cn.com
@Jeandcc
Jeandcc / getInstagramUsersThatDontFollowBack.js
Last active October 13, 2024 22:56
Open Instagram on your browser; Login to instagram; Open your browser's console (CTRL + SHIFT + J); Paste the code below; Update the username in the first line; RUN IT (Hit enter)
const username = "USER_NAME_HERE";
/**
* Initialized like this so we can still run it from browsers, but also use typescript on a code editor for intellisense.
*/
let followers = [{ username: "", full_name: "" }];
let followings = [{ username: "", full_name: "" }];
let dontFollowMeBack = [{ username: "", full_name: "" }];
let iDontFollowBack = [{ username: "", full_name: "" }];
@Jeandcc
Jeandcc / firestoreConverters.ts
Last active February 27, 2022 16:56
Support for type-safe queries and updates directly from converters. This removes the need of manually doing it for every call to "update" or when performing queries with "where".
import { firestore } from "firebase-admin";
/* START - Unchanged */
type PathImpl<T, K extends keyof T> = K extends string
? T[K] extends Record<string, any>
? T[K] extends ArrayLike<any>
? K | `${K}.${PathImpl<T[K], Exclude<keyof T[K], keyof any[]>>}`
: K | `${K}.${PathImpl<T[K], keyof T[K]>}`
: K
: never;
const pickedNumbers = [17, 20, 22, 35, 41, 42];
const playedGames = [
[04, 06, 15, 27, 36, 45],
[08, 18, 23, 27, 51, 56],
[03, 26, 33, 34, 39, 44],
[09, 32, 37, 38, 41, 47],
[04, 21, 23, 49, 52, 56],
[01, 19, 36, 38, 51, 60],
[04, 15, 28, 29, 34, 39],
@Jeandcc
Jeandcc / Recover.c
Last active April 29, 2020 20:38
Source code produced for the PSET #4 from CS50
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
int main(int argc, char *argv[])
{
// Checks for the presence of a second argument (name of the target file)
if (argc != 2)
{
printf("Usage: ./recover image\n");