Skip to content

Instantly share code, notes, and snippets.

View nimeshkasun's full-sized avatar

Nimesh Kasun nimeshkasun

View GitHub Profile
@nimeshkasun
nimeshkasun / tinder.likes.blur.removal.js
Created November 30, 2021 21:06
Removes blur overlay of images in Tinder Web . Using this script you can unblur and see who liked you. To use this script, go to Tinder web (https://tinder.com/app/likes-you) then, open web browsers 'Developer tools' > click on 'Console' tab > paste the copied script and hit Enter > Close the developer tools.
// == UserScript To Be Used In Web Browser > Developer Tools > Console ==
// @name Tinder Blur Removal
// @downloadURL https://gist.github.com/nimeshkasun/1df2a44eff67f3628305bb0071afc3f5/raw/27d6e831e1635b772ab07e83aa4d2e02961d98f9/tinder.likes.blur.removal.js
// @description Simple script using the official Tinde API to get clean photos of the users who liked you
// ==/UserScript==
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)');
@nimeshkasun
nimeshkasun / OpenAI-into-Spreadsheets.js
Last active December 27, 2023 22:48
This scripts allows to integrate OpenAI GPT-3 into Google Spreadsheets.
const SECRET_KEY = "ENTER YOUR SECRET KEY HERE TAKEN FROM OPEN_AI";
// Follow on LinkedIn: https://www.linkedin.com/in/nimeshkasun
/**
* Completes your prompt with GPT-3
*
* @param {string} prompt Your prompt for OpenAI
* @param {number} precision (Optional) Precision. 1 is super creative while 0 is very exact and precise. Defaults to 0.4.
* @param {string} model (Optional) GPT-3 Model to use. Defaults to "text-ada-001".