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
*-------------------------------------------------------------------------- | |
* Model generated by Motega software: | |
* | |
* Modeling Of Tubes Employing Genetic Algorithms | |
* | |
* Models contain 1G resistors from all nodes to earth in order to avoid | |
* floating nodes. Triode and tetrode/pentode models contain a diode for | |
* simulating grid current. | |
* | |
* Non-commercial use is permitted, but at your own risk... This model |
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/env python | |
import time | |
import threading | |
import logging | |
try: | |
import tkinter as tk # Python 3.x | |
import tkinter.scrolledtext as ScrolledText | |
except ImportError: | |
import Tkinter as tk # Python 2.x | |
import ScrolledText |
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
# MAS USADOS POR MI: | |
# PROBLEMAS CON grub2win y PC con EFI: no va a andar con loopback loop, vocar en subdirectorio: | |
# c:\ubuntustudio\{casper....} | |
menuentry 'Ubuntu Studio' { | |
set root='(hd1,gpt3)' | |
linux /ubuntustudio/casper/vmlinuz boot=casper ignore_uuid file=/pressed/ubuntustudio.seed live-media-path=/ubuntustudio/casper ignore_uuid locale=es_AR.UTF-8 mitigations=off | |
initrd /ubuntustudio/casper/initrd | |
} | |
# ELIVE STABLE |
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
<?php | |
/** | |
* Description of VideoStream | |
* | |
* @author Rana | |
* @link http://codesamplez.com/programming/php-html5-video-streaming-tutorial | |
*/ | |
class VideoStream | |
{ | |
private $path = ""; |
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 | |
# http://askubuntu.com/questions/107726/how-to-create-animated-gif-images-of-a-screencast#answer-201018 | |
# 1. Run byzanz-record-window 30 -c output.gif | |
# 2. Go to the window (alt-tab) you want to capture. Click on it. | |
# 3. Wait 10 seconds (hard-coded in $DELAY), in which you prepare for recording. | |
# 4. After the beep (defined in the beep function), byzanz will start. | |
# 5. After 30 seconds (that's the meaning of 30 in step 1), byzanz ends. A beep will be broadcast again. |
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
# $1 is the first argument | |
# remove result.txt | |
#rm output/result.txt | |
fname=`echo "$1" | awk -F "/" '{print $(NF)}'` | |
# convert the pdf to a group of tiffs | |
if [ ! -e extracted_tz_parliament/$fname.txt ]; | |
then |