to be or not to be?

TO GOD BE THE GLORY

Category: tech

Asheesh Laroia and Web Scraping – PyCon2012

Mechanize: http://wwwsearch.sourceforge.net/mechanize/ BeautifulSoup: http://www.crummy.com/software/BeautifulSoup/bs4/


Extract multiple lines of HTML using Regular Expression in PHP

Extract HTML content using regular expression (regex) involving multiple line of data cannot be done without additional PRCE pattern modifier sU. The dot-asterisk (.*) alone will not allow PHP regex function to perform accordingly as the dot repesents all characters except newline. Bummer.


MilkADeal or Everyday?


Appending DOMNode from DOMXPath back to DOMDocument

DOMXPath is a very simple and good way of traversing HTML and search for a particular node. Playing around with its query function provide straight forward method in retrieving each node’s name and value.


[Solved] Port 22: Operation timed out Locally

It’s been some time I can’t figure out why my home server cannot be accessed locally but working externally. Part of the need to ssh locally is because my home server is running on an old faithful IBM X40 with a malfunctioned screen. Every attempt to ssh locally is futile as terminal will display “SSH: [...]