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/python | |
import compiler | |
import compiler.ast | |
import optparse | |
import sys | |
class MockChecker(object): | |
def __init__(self): | |
self.errors = 0 |
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 emu8086.inc | |
NEWLINE MACRO | |
mov ah, 2 | |
;newline and cret | |
mov dl, 0ah | |
int 21h | |
mov dl, 0dh | |
int 21h | |
ENDM |
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
#!/bin/bash | |
for videofile in ./*; do | |
for filename in ./*; do | |
if "${videofile}"(E|e)[\d]{2} == "${filename}"(E|e)[\d]{2} | |
# if both files have same Episode number | |
then | |
mv "${filename}" ("${videofile}"^[\w\d]+\. + "srt") | |