How to: Unicode in URL with Python 3

I found this to be much more difficult than I thought it would be. The solution was simple, but finding it was a bit of a pain. Here is the solution: Extremely simple, but it caused me a fair amount of headache to¬†figure that out. Common errors that might bring you to this post: AttributeError: […]

Python – Search Youtube for Video

This code is for Python 3. I was surprised to discover that I couldn’t really find a good way to do this when I Googled for a solution. I just kept getting results for Google’s youtube API, which is great… but also massive overkill for what I wanted to do. I just wanted to search […]

Download Youtube Music Python 3

I’ve been looking for a clean and simple way to download youtube music in my progOverEmail program and stumbled across a module called pafy I wanted to share. You can download pafy here. It’s super simple to use. All you have to do is drop pafy.py into the same folder as your other python code […]

Replace All Spaces (or any other character) Between Quotes in Python

This is an oddly specific post, but I recently had this situation come up and solving it was actually not very straightforward. Specifically, I was writing a program to interpret commands and this program happened to split different arguments by spaces. So what if you have something like this: FTP CD “This is a file […]

FTPoverEmail Beta v1.00

I made a few more edits to FTPoverEmail. I got the SSH functionality working and fixed a couple of bugs for this next version. I’ve started studying for CCDP so my work on it has tailed off a fair amount. Here’s the next version with the bug fixes and SSH functionality. I called this one […]

FTPoverEmail Alpha

Overview Ever find yourself on a computer where you only have access to e-mail? That’s where FTPoverEmail shines. I frequently find myself in situations where I only have access to e-mail, but I still want to interact with my home server in an FTP-like fashion. You may be in a hotel business center or you […]

Checking Open Ports with Ruby

Below is the code for listing open ports on a windows box via Ruby. This line first lists all active connections via netstat. The find “LISTENING” section lists those ports in a listening state. The “find /V” looks for any line without “0.0.0.0”. This last part is important because many times Windows lists connections in […]

Model Checking

About the same time I wrote the aforementioned interpreter, I also was interested in the more mathy side of computer science. A fantastic mentor I had was deeply entrenched in reversing and got me involved in the applications of math to the more practical side of thing. In my quest to improve my mathematical ability […]

Lisp Interpreter

This project to is quite old… and also unfinished. It is a LISP interpreter! It will correctly evaluate simple LISP instructions however, it is buggy. I never finished it off so it will puke on the more complex instructions. I’ve considered going back to it a couple of times, but my recent interests have been […]