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
var xs = document.querySelectorAll("[data-testid*='unfollow']"); | |
var count = 0; | |
console.log(xs.length); | |
for (var i = 0; i < xs.length && count < 9999; i++) { | |
xs[i].click(); | |
var ys = document.querySelectorAll("[data-testid*='confirmationSheetConfirm']"); | |
ys[0].click(); | |
count++; | |
} |
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 python3 | |
import getpass | |
from git import Repo | |
from git.exc import * | |
from github import Github, GithubException | |
import os | |
import sys | |
description = """ |
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
from win32com.shell import shell | |
import os | |
fileDir = os.path.dirname(os.path.realpath(__file__)) + "\\start.bat" | |
OPEN_NORMAL = 5 | |
OPEN_HIDDEN = 0 | |
a = shell.ShellExecuteEx( | |
# "runas" is also nice, to request admin rights before starting. See MSDN docs on ShellExecuteEx for details. |
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
@ECHO OFF | |
IF "%1"=="header" GOTO HeaderFile | |
IF "%1"=="source" GOTO SourceFile | |
IF "%1"=="class" GOTO Class | |
GOTO DisplayHelp | |
:DisplayHelp | |
ECHO Usage: | |
ECHO create ^<FILETYPE^> ^<CLASSNAME^> |
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
# Compiler of your choosing | |
CC := ... | |
# Collects all the cpp files | |
SRC := $(wildcard *.cpp) | |
# Linker Options | |
LOPS := ... | |
# Executable name (without .exe!) |