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/python3 | |
from selenium import webdriver | |
import time | |
from selenium.webdriver.common.keys import Keys | |
driver_path = 'C:\\webdrivers\\chromedriver.exe' | |
driver = webdriver.Chrome(driver_path) | |
driver.get("https://agar.io/") |
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
# http://www.gutenberg.org/files/10/10-0.txt | |
import requests | |
headers = { | |
'User-Agent': 'My User Agent 1.0' | |
} | |
r = requests.get("http://www.gutenberg.org/files/10/10-0.txt", headers=headers) |
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
import rotatescreen | |
import time | |
screen = rotatescreen.get_primary_display() | |
for i in range(100): | |
time.sleep(1) | |
screen.rotate_to(i * 90 % 360) |
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
# Styles: | |
# 0 : OK | |
# 1 : OK | Cancel | |
# 2 : Abort | Retry | Ignore | |
# 3 : Yes | No | Cancel | |
# 4 : Yes | No | |
# 5 : Retry | Cancel | |
# 6 : Cancel | Try Again | Continue | |
import ctypes |
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
package main | |
import ( | |
"bytes" | |
"fmt" | |
"net/http" | |
) | |
func getData(url string) string { | |
response, _ := http.Get(url) |
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
import win32clipboard | |
# test11111111 | |
# test22222222 | |
# test33333333 | |
def clipText(): | |
try: | |
win32clipboard.OpenClipboard() |
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
#include <Windows.h> | |
#include "aclapi.h" | |
#include <chrono> | |
#include <thread> | |
DWORD ProtectProcess(void) | |
{ | |
HANDLE hProcess = GetCurrentProcess(); | |
PACL pEmptyDacl; | |
DWORD dwErr; |
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
// MicMuteToggle.cpp : Defines the entry point for the application. | |
// | |
#include "stdafx.h" | |
#include "windows.h" | |
#include "mmdeviceapi.h" | |
#include "mmsystem.h" | |
#include "endpointvolume.h" | |
#include "MicMuteToggle.h" |
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
package main | |
import ( | |
"fmt" | |
"os" | |
"github.com/chzyer/readline" | |
"strings" | |
"crypto/aes" | |
"crypto/cipher" | |
"io/ioutil" |
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
package main | |
import ( | |
"crypto/tls" | |
"image/png" | |
"os" | |
"github.com/kbinani/screenshot" | |
"gopkg.in/gomail.v2" | |
) |
OlderNewer