Tags » Parsing

Easy URI Parsing with Javascript

URI Parsing with Javascript:

var parser = document.createElement('a');
parser.href = "http://example.com:3000/pathname/?search=test#hash";

parser.protocol;          // => "http:"
parser.host;              // => "example.com:3000"
parser.hostname;          // => "example.com"
parser.port;              // => "3000"
parser.pathname;          // => "/pathname/"
parser.hash;              // => "‪#‎hash‬"
parser.search;            // => "?search=test"
… 6 more words
Javascript

Easy Reading - Creating a Reader that (hopefully) won't break

Parsing data files is always a little difficult, since you can’t be sure that your data is formatted properly. I mentioned in earlier posts that I am currently creating a Reader for my training data. 940 more words

Sentiment Analysis

redundancy

next on our saga (because you’re coming along, so enjoy the ride) is a pet peeve of mine. i am highly computer efficient. i have an associate’s in programming, and a bachelor’s in information science. 210 more words

Application

The regex of txtsh

I know I shouldn’t, but I can’t help but write my own version of everything I need for txtsh. I think of it as a learning experience. 532 more words

Regex E-Mail String Matching

Recently, I was playing about with Keyboard Maestro – a powerful (Mac) tool to automate tasks that you have to do on a regular basis. It seems daunting at first, but has proved to be pretty useful. 188 more words

Technology

Resource Mess: Parsing Resource in a PE file

Before I start the blog(I actually started), I wanted to say that I’m a lousy coder, my code is a mess, only I can read it, but the important thing is, it works :D. 879 more words

Parsing

Parsing Twitter for Twitter Analysis: Part 1

This tutorial will be based on the generosity of Harrison’s youtube tutorial:

Assuming that you already have a Twitter developer account, we will start off with the following script. 170 more words

Python