This file contains 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
(async function() { | |
// Check if we have cached results | |
if (window.instagramVerifiedFollowings) { | |
console.log("Using cached results"); | |
displayResults(window.instagramVerifiedFollowings); | |
return; | |
} | |
function extractUserId() { | |
const scripts = document.getElementsByTagName('script'); |
This file contains 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 fs = require("fs"); | |
const path = require("path"); | |
const baseDirPath = path.join(__dirname, "src", "components"); | |
const baseExtension = ".tsx"; | |
fs.readdirSync(baseDirPath).forEach((fileName) => { | |
if (!fileName.includes(baseExtension)) return; | |
const [componentName] = fileName.split(baseExtension); |
This file contains 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 eventLog() { | |
return { | |
get: () => localStorage.getItem('eventLog') || '{}', | |
set: (data) => localStorage.setItem('eventLog', data) | |
} | |
} | |
window.events = JSON.parse(eventLog().get()) | |
const doRequest = async () => { |
This file contains 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 () { | |
var url = 'https://i.kym-cdn.com/photos/images/newsfeed/001/331/288/371.png'; | |
var image = new Image(); | |
image.src = url; | |
image.width = 300; | |
image.style = 'position: fixed; bottom: 20px; transform: translateX(-1000px); transition: all 0.5s ease; animation: anim 2s 2s;'; | |
var style = document.createElement('style'); | |
style.innerHTML = '@keyframes anim { 15% { transform: translateX(-40px); } 25% { transform: translateX(-40px) rotate(45deg); } 50% { transform: translateX(-40px) rotate(0deg); } 75% { transform: translateX(-40px) rotate(45deg); } 90% { transform: translateX(-40px) rotate(0deg); } 99% { transform: translateX(-1000px) rotate(45deg); } }'; | |
document.body.appendChild(style); | |
document.body.appendChild(image); |
This file contains 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 node | |
const program = require('commander'); | |
const { join } = require('path'); | |
const fs = require('fs'); | |
const inquirer = require('inquirer'); | |
const chalk = require('chalk'); | |
const Table = require('cli-table'); | |
const shell = require('shelljs'); | |
const figlet = require('figlet'); |
This file contains 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 node | |
const program = require('commander'); | |
const { join } = require('path'); | |
const fs = require('fs'); | |
const inquirer = require('inquirer'); | |
const chalk = require('chalk'); | |
const Table = require('cli-table'); | |
const shell = require('shelljs'); |
This file contains 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 node | |
const program = require('commander'); | |
const { join } = require('path'); | |
const fs = require('fs'); | |
const inquirer = require('inquirer'); | |
const chalk = require('chalk'); | |
const Table = require('cli-table'); | |
const package = require('./package.json'); |
This file contains 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 node | |
const program = require('commander'); | |
const { join } = require('path'); | |
const fs = require('fs'); | |
const inquirer = require('inquirer'); | |
const chalk = require('chalk'); | |
const Table = require('cli-table'); | |
const package = require('./package.json'); |
This file contains 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 node | |
const program = require('commander'); | |
const { join } = require('path'); | |
const fs = require('fs'); | |
const inquirer = require('inquirer'); | |
const chalk = require('chalk'); | |
const package = require('./package.json'); | |
const todosPath = join(__dirname, 'todos.json'); |
This file contains 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 node | |
const program = require('commander'); | |
const { join } = require('path'); | |
const fs = require('fs'); | |
const inquirer = require('inquirer'); | |
const chalk = require('chalk'); | |
const package = require('./package.json'); | |
const todosPath = join(__dirname, 'todos.json'); |
NewerOlder