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
| from pydrive.auth import GoogleAuth | |
| from pydrive.drive import GoogleDrive | |
| gauth = GoogleAuth() | |
| gauth.LocalWebserverAuth() # Creates local webserver and auto handles authentication | |
| drive = GoogleDrive(gauth) | |
| file1 = drive.CreateFile({'title': 'Hello.txt'}) # Create GoogleDriveFile instance with title 'Hello.txt' | |
| file1.SetContentString('Hello World!') # Set content of the file from given string | |
| file1.Upload() |
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
| #!/usr/bin/env python | |
| # coding: utf8 | |
| """AttrDict.py: A object/dictionary Hybrid.""" | |
| __author__ = "Kevin Gliewe aka KillerGoldFisch" | |
| __copyright__ = "Copyright 2015, Kevin Gliewe" | |
| __credits__ = ["Kimvais", "Kevin Gliewe",] | |
| __license__ = "WTFPL" | |
| __version__ = "1.0.0" |
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
| #!/usr/bin/env python | |
| # This Module is a wrapper for the gentoo sandbox tool. | |
| # For Debian based systems take a look at https://wiki.debian.org/Sandbox | |
| import subprocess, os | |
| def addto(varname, value): |
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
| #!/usr/bin/env python | |
| import groove | |
| import urllib2 | |
| import argparse | |
| from bs4 import BeautifulSoup | |
| import difflib | |
| def get_soup(url): | |
| page = urllib2.urlopen(url) | |
| return BeautifulSoup(page) |
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
| #!/usr/bin/env python | |
| # coding: utf8 | |
| """mcscan.py: Scans an ip range for Minecraft multiplayer server.""" | |
| __author__ = "Kevin Gliewe aka KillerGoldFisch" | |
| __copyright__ = "Copyright 2016, Kevin Gliewe" | |
| __credits__ = ["Kevin Gliewe",] | |
| __license__ = "MIT" | |
| __version__ = "1.1.0" |
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
| /* | |
| FILE: Vector3D.h | |
| ABOUT: C++ Vector Tamplate | |
| AUTHOR: Kevin Gliewe | |
| EMAIL: [email protected] | |
| DATE: 12.12.2011 | |
| */ | |
| #pragma once |
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
| /* | |
| FILE: Mat3D.h | |
| ABOUT: C++ 3D Martix Tool | |
| AUTHOR: Kevin Gliewe | |
| EMAIL: [email protected] | |
| DATE: 2014-07-5 | |
| */ | |
| #pragma once |
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
| /* | |
| FILE: Vector3Th.h | |
| ABOUT: C++ Vector Tamplate | |
| AUTHOR: Kevin Gliewe | |
| EMAIL: [email protected] | |
| DATE: 12.12.2011 | |
| */ | |
| #pragma once |
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
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Circular regression (Circle-fitting) | |
| Calculates the best fitting circle by the given Points. | |
| Based on http://www.block-net.de/messtechnik/p-messtechnik.html | |
| """ | |
| __author__ = "Kevin Gliewe aka KillerGoldFisch" |
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
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| sortmp3.py: Copys MP3 files to a structured directory Tree. | |
| Usage: sortmp3.py -i <inputdir> -o <outputdir> | |
| Depends on: | |
| - id3reader | |
| """ |