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
#! /bin/bash | |
# Basic script to dump subtitle track from mkv files into .idx/.sub files for | |
# ocr to srt format. | |
# There are only basic checks on whether the file is Matroska and has subtitles. | |
# This is meant for vobsub subtitles and hasn't been tested on muxed srt | |
# subtitles. Any subtitle formats other than vobsubs should just be dumped with | |
# the .sub extension. | |
# | |
# WARNING: Use at your own risk |
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
#! /bin/env/python | |
in_file = open("intestatari.txt", "r"); | |
out_file = open("fase1.txt", "w"); | |
c = 1; | |
while True: | |
line = in_file.readline(); | |
if line == "": |
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
package com.helloiampau.miscs; | |
import java.util.HashMap; | |
class ClassContainer extends HashMap<String, Object> { | |
private final String CLASS = "class"; | |
private final String SUPERCLASS = "superclass"; | |
private final String INTERFACES = "interfaces"; | |
public void putObjectClass(Class c) { |
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
all: view | |
single: quiet | |
open "/tmp/`basename '$(CURDIR)'`"/*.pdf | |
quiet: | |
mkdir -p "/tmp/`basename '$(CURDIR)'`" | |
pdflatex -output-directory="/tmp/`basename '$(CURDIR)'`" main.tex | |
view: quiet |
NewerOlder