This file contains hidden or 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 requests | |
import os.path | |
import json | |
import re | |
#URL for echo | |
baseurl="https://echo360.org.au" | |
#list of subject names with which to name folders | |
subjectname=["COMP10001", "another_subject"] |
This file contains hidden or 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 re | |
import random | |
from collections import defaultdict | |
#open a text file containing tumblr notes | |
fp = open("notes.txt") | |
#lists that contain the usernames of people who have liked, reblogged and said | |
reblogged_leest=[] | |
liked_leest=[] |
This file contains hidden or 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
FOR %%i in (1, 1, 2) do ( | |
FOR %%A in ( | |
"WTabletServicePro.exe" | |
"Wacom_Tablet.exe" | |
"Wacom_TabletUser.exe" | |
"Wacom_TouchUser.exe" | |
) DO taskkill /f /im %%A | |
net stop "WTabletServicePro" | |
net start "WTabletServicePro" | |
) |
This file contains hidden or 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 re | |
import json | |
import requests | |
import math | |
import os | |
from multiprocessing import Pool | |
requests.packages.urllib3.disable_warnings() | |
#artist to download from |
This file contains hidden or 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 asyncio | |
import hashlib | |
import os | |
import datetime as dt | |
import configparser | |
from shutil import copyfile | |
import time | |
import msvcrt | |
import threading |
This file contains hidden or 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
for %%f in (*.dds) do ( | |
.\texconv.exe "%%f" -ft png | |
) | |
@pause |
This file contains hidden or 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 os | |
import csv | |
OUTPUT_DIRECTORY="out" | |
FILELIST_CSV="filelist.csv" | |
def rename_bins(): | |
files=os.listdir(OUTPUT_DIRECTORY) | |
with open(FILELIST_CSV) as csvfile: | |
reader = csv.DictReader(csvfile) | |
dictFilenames={row["Index"]:(row["Filename"], row["Destination"]) for row in reader} |
This file contains hidden or 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
tasklist /FI "IMAGENAME eq wfcrun32.exe" 2>NUL | find /I /N "wfcrun32.exe">NUL | |
if %ERRORLEVEL%==0 ( | |
echo Program is running, killed | |
FOR %%A in ( | |
"wfcrun32.exe" | |
"SelfServicePlugin.exe" | |
"concentr.exe" | |
"redirector.exe" | |
"AuthManSvr.exe" | |
"Receiver.exe" |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
import os | |
import io | |
import pypub | |
import re | |
import logging | |
import time | |
logger = logging.getLogger() |
This file contains hidden or 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 eyed3 | |
import os, shutil | |
import mutagen | |
from mutagen.mp4 import MP4 | |
from mutagen.id3 import APIC, ID3 | |
import re | |
eyed3.log.setLevel("ERROR") | |
print("Current working directory: {0}".format(os.getcwd())) | |
music_folder="to process" | |
to_output_to="output" |
OlderNewer