View AndroidEmulatorRunner.bat
cd C:\Users\Master\AppData\Local\Android\sdk\emulator
emulator -avd Nexus_5_API_25
View Get_VS_ExtentionsList.txt
Terminal > code --list-extension
DIR > Windows %USERPROFILE%\.vscode\extensions
View IDM Cleaner.bat
IDM Cleaner.bat
:: IDM Registry Cleaner
:: Completely cleans registry of all IDM fake serial leftovers
@ECHO OFF
@TITLE IDM Registry Cleaner
@COLOR 0E
@ECHO :: IDM Registry Cleaner
@ECHO :: Compeletely cleans registry of all IDM fake serial leftovers
@ECHO.
View labels_1024.tsv
We can make this file beautiful and searchable if this error is corrected: No tabs found in this TSV file
7
2
1
0
4
1
4
9
5
9
View text2speech.py
import win32com.client as wincl
import random
from time import sleep
speak = wincl.Dispatch("SAPI.SpVoice")
problems=[13,30,4,14,40,5,15,50,6,16,60,70,17,'seventh','sixth','fifth','fourth']
while True:
rnd=str(random.choice(problems))
speak.Speak(rnd)
View MarIO.lua
-- MarI/O by SethBling
-- Feel free to use this code, but please do not redistribute it.
-- Intended for use with the BizHawk emulator and Super Mario World or Super Mario Bros. ROM.
-- For SMW, make sure you have a save state named "DP1.state" at the beginning of a level,
-- and put a copy in both the Lua folder and the root directory of BizHawk.
if gameinfo.getromname() == "Super Mario World (USA)" then
Filename = "DP1.state"
ButtonNames = {
"A",
View CleanBIN_OBJ.ps1
Get-ChildItem .\ -include bin,obj -Recurse | foreach ($_) { remove-item $_.fullname -Force -Recurse }
View open.py
import webbrowser
mom="http://dictionary.cambridge.org/dictionary/english/"
fs="line.txt"
f=open(fs, 'r+')
lines = tuple(f)
f.close()
for l in lines:
l=l.replace('\n','').lower()
if len(l)>1:
webbrowser.open(mom+l)
View NearestColor.py
# import Image
# f = raw_input('Image:\n')
# im = Image.open(f)
# rgb_im = im.convert('RGB')
# r, g, b = rgb_im.getpixel((x, y))
# def distance(c1, c2):
# (r1,g1,b1) = c1
# (r2,g2,b2) = c2
View maktabKhone.py
from htmldom import htmldom
lastSession=20
for i in range(1,lastSession):
url="http://maktabkhooneh.org/video/abam-bigdata-"+i
dom = htmldom.HtmlDom(url).createDom()
link = dom.find("a[class=video-dl]").first()
print(link.attr("href"))