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 | |
# -*- coding: utf-8 -*- | |
import cv | |
from datetime import datetime | |
if __name__ == '__main__': | |
capture = cv.CaptureFromCAM(0) | |
cv.NamedWindow('Webcam') |
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 | |
#WebCam Test | |
import pygame,sys | |
import pygame.camera | |
from pygame.locals import * | |
pygame.init() | |
pygame.camera.init() | |
screen = pygame.display.set_mode((640,480)) | |
cam = pygame.camera.Camera("/dev/video0",(640,480)) |
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 python3 | |
#GUI Gmail Sender! | |
from tkinter import messagebox,Label,Entry,Tk,StringVar,E,W,Menu,ttk | |
import smtplib | |
''' | |
License: | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. |
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 Python3 | |
import tkinter.ttk | |
from tkinter import * | |
import tkinter.messagebox as msgbx | |
import praw | |
''' | |
License: | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by |
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 python3 | |
import tkinter.ttk,socket | |
from tkinter import Button,Entry,Spinbox,WORD,W,E,Label,Tk,END,messagebox,Text | |
''' | |
License: | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. |
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 python3 | |
''' | |
This Script Is Mainly From A Youtube User, | |
I Only Modified It Slightly To Make It Python3 Compatable, | |
And Added Custom Microphone Recording Support | |
Original Source Code: http://pastebin.com/BY1t5AcC | |
Thanks To Youtube User NoBeansJose | |
License: |
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 python3 | |
import random | |
import time | |
import sys | |
class MyAdventure: | |
def loseGame(self): | |
print( | |
""" | |
[ GameOver! ] |
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
#Simple Color Chooser GUI That Returns Hex And RGB Values :) | |
from tkinter import colorchooser,Label,Button,Tk | |
def mColor(): | |
mycolor = colorchooser.askcolor() | |
mylbl = Label(gui,text=mycolor) | |
mylbl.grid(row=1,column=0) | |
return |
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
import platform | |
from tkinter import * | |
from tkinter import messagebox | |
import configparser, pickle | |
import os, time, subprocess | |
# Show Debug Messages | |
DEBUG = True | |
def printDebugBanner(): |
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
echo FFMPEG MP3 To WAV Converter | |
echo ----------------------------- | |
echo Usage: ./ffmpeg mp3 newfile | |
echo ----------------------------- | |
mp3=$1 | |
wav=$2 | |
ffmpeg -i $mp3 -acodec pcm_u8 -ar 22050 $wav.wav |
OlderNewer