Videos

Classifying Handwritten Digits with TF.Learn - Machine Learning Recipes #7

Last time we wrote an image classifier using TensorFlow for Poets. This time, we’ll write a basic one using TF.Learn. To make it easier for you to try this out, I wrote a Jupyter Notebook for this episode and I’ll start with a quick screencast of installing TensorFlow using Docker, and serving the notebook. I’ll start introducing a linear classifier. My goal here is just to get us started. I’d like to spend a lot more time on this next episode, if there’s interest.

Train an Image Classifier with TensorFlow for Poets - Machine Learning Recipes #6

Monet or Picasso? In this episode, we’ll train our own image classifier, using TensorFlow for Poets. Along the way, I’ll introduce Deep Learning, and add context and background on why the classifier works so well. Here are links to learn more, thanks for watching, and have fun!

Writing Our First Classifier - Machine Learning Recipes #5

Welcome back! It’s time to write our first classifier. This is a milestone if you’re new to machine learning. We’ll start with our code from episode #4 and comment out the classifier we imported. Then, we’ll code up a simple replacement - using a scrappy version of k-Nearest Neighbors.

Let’s Write a Pipeline - Machine Learning Recipes #4

In this episode, we’ll write a basic pipeline for supervised learning with just 12 lines of code. Along the way, we’ll talk about training and testing data. Then, we’ll work on our intuition for what it means to “learn” from data.

What Makes a Good Feature? - Machine Learning Recipes #3

Good features are informative, independent, and simple. In this episode, we’ll introduce these concepts by using a histogram to visualize a feature from a toy dataset. Updates: many thanks for the supportive feedback! I’d love to release these episodes faster, but I’m writing them as we go. That way, I can see what works and (more importantly) where I can improve.

Visualizing a Decision Tree - Machine Learning Recipes #2

Last episode, we treated our Decision Tree as a blackbox. In this episode, we’ll build one on a real dataset, add code to visualize it, and practice reading it - so you can see how it works under the hood. And hey -- I may have gone a little fast through some parts. Just let me know, I’ll slow down. Also: we’ll do a Q&A episode down the road, so if anything is unclear, just ask!

Hello World - Machine Learning Recipes #1

Six lines of Python is all it takes to write your first machine learning program! In this episode, we’ll briefly introduce what machine learning is and why it’s important. Then, we’ll follow a recipe for supervised learning (a technique to create a classifier from examples) and code it up.

Ruby (Exploit RSS Reader - Securityvulns.com)

As a Security Analyst, I need to stay contantly searching information through the web about security vulnerabilities, but its clear that not one website have all the information; so that I can know if its necessary make changes in our projects or not.

Python/GTK+ Password Generator

I have a bunch of accounts through Internet and I dont like to use the same password for all of them (obviously because this is a bad idea); so that I decided to create a simple desktop application to generate passwords with a Graphic User Interface (GUI) made with Python and GTK+ library.

Ruby (Exploit RSS Reader - Exploit-db.com)

As a Security Analyst, I need to stay contantly searching information through the web about security vulnerabilities, but its clear that not one website have all the information; so that I can know if its necessary make changes in our projects or not.

HTPasswd Apache2 Authentication

I write many codes in my job to do many things, like simple data table processing or mini web applications. So that I decided to implement a basic authentication system to protect any disallowed access to these applications; but I dont want to create a Login interface because I have not sufficient time to do it, so thats why I used the HTTP/Apache Authentication method to secure these scripts.

Hacking (PHP Shell like an Image)

The web application development is a very good job, but there is a problem that we need to realize; We can use multiple vulnerabilities in a web application to upload malicious files like a shell (Web terminal implementation to execute server commands through TCP connections) and hack that website; this is a "How to upload a PHP Shell like an Image".

VirtualHost Apache2

I have a bunch of websites in my server, and obviously I’m getting a lot of requests trying to get Images, Javascript and CSS files, so thats why I decided to create a VirtualHost where I will storage that type of assets like a CDN. The use of a CDN is a good web performance configuration because the cacheable files will be loaded from a different host (not really a host but a sub-domain of the same host), decreasing the webpage’s load time.

Bash Database Backup

After making changes to the Engines of several tables in multiple databases from one server that manages the company where I work, errors occurred in reading and writing, while to the review, I decided to create a Bash Script twice a day make a backup of the contents of each database server, with the help of CRONTAB, MySQL-Dump and my knowledges of BASH.

CURL Http Requests

I am a Security Analyst, all the time in my work I find many request attempts searching vulnerabilities in the web applications that I had developed; to prevent that type of requests I learned about HTTP and its security risks. I will show in this screencast a few of then using the most powerfull HTTP Interface (I think so) CURL, you can try LWP-Request as well.

Debian 6.0.4 Squeeze VM

I am showing in this video screencast the installation process of the most powerfull linux distribution (I think so), Debian (Squeeze 6.0.4 version); I explain the disk partition process and a few startup configurations; with GNome desktop environment, AMD 64Bits, and over VirtualBox 4.0.16; I will use this virtual machine installation later for a new video screencast, so wait for it.

PHP jQuery WebTerminal

I am a Security Analyst, so all the time in my work I found many request attempts searching vulnerabilities in the web applications of my host; so I decided to develop a simple PHP WebTerminal script where I could test the PHP.INI file configuration, specially the parameter DISABLE_FUNCTIONS and another security things. Also a jQuery plugin structure to process the ENTER event (Key 13) and send of AJAX request to the PHP WebTerminal handler.

Ruby Apache2 Log-Viewer

I am a Security Analyst, so all the time in my work I found many request attempts searching vulnerabilities in the web applications of my host; so I decided to develop a simple Ruby script parser that allow me to view the Apache2 Logs easily, and then, try to identify the fingerprint of the attackers. Also I advise of some Apache2 Sucurity Tricks, that prevent common hacking attempts.

Ruby LCD Display

The LCD-Display its a common code contest from ACM Chanllenges, basically the code should display a Number (input) in LCD-Display format (like digital clocks). I decided to develop this script in Ruby (because is easily) and after test the Input / Output of the script with a simple UNIX Date command output.

Ruby Webpage Parser

How to parse a Website with a Ruby script; all the time I am searching over Internet documents (and some funny contents, like manga... yeah I love manga). So, I decided to develop a Ruby script webpage parser; in the video I am showing the webpage parsing process in a Manga Cataloge website, so after refine the script we can use it to know if a content was changed (and after download its content... the new obviously).

Bash Zenity Python

I have three python versions installed in my computer, each one has differents modules and configurations, I want to have a single file that let me choose the python binary file that I wish to use; so I decided to develop a Bash / Zenity script with a Python binary list allowed to use (and a GNome desktop shortcut entry to access it from the Main menu).

Ruby Password Generator

How to generate a random password (like CPanel) like a Ninja; Yeah, I’m exited creating passwords for all my Internet accounts every week, so I decided to develop a quick script in Ruby to generate a list of passwords easily like CPanel style.

Python Gtk Webkit

Basically a Python application that use the libraries GTK+ and Webkit to create a simple web-browser, with a basic functionality; you can request me the source code if you want to. I used the GTK+ 2.0; Python 2.6.5 and Terminator as well.

Do you have a project idea? Let's make it together!