Another update to the 4cdl script. When archiving the webpage it will show the image thumbnail and fix the links to the downloaded images.
The page does not display completely, this is because of 4chan’s recent changes. I do not plan on preserving this formatting. The point of the program is to archive content.
Thanks to the people that bring these issues to my attention and give me reason to fix them. Cheers!
Posted in Projects, Python
Tagged 4cdl, 4chan, 4chan image downloader, download, downloader, free, Python, save, scrape, thread
Craigslist changed their link format. I’ve updated my warning skipper greasemonkey script.
Download it here.
I updated the downloader to work with HTTPS that was recently implemented.
Let me know if you find any bugs!
Found a problem in my Image Sorter program thanks to a reader.
I’ve fixed it and you can redownload the files here!
I needed to make a graph on a web page and I didn’t want to use images because then they would have to be accessible to the end user. I was scouring the Internet trying to find a solution to this problem.
Turns out the <div> and <span> tags are great for this. The problem is you can’t print them unless you have Print Background Images enabled in your browser. I found a work around for this: use the same <div> or <span> tags to make your rectangle but instead of setting the dimensions of the box and the fill color just set the height and the border width to the size you need.
Here is how I make horizontal bars that will print in any browser:
<SPAN style=’border-left: black 100px solid; display: inline-block; height: 10px></SPAN>
That line will make a black rectangle that is 100 pixels long and 10 pixels high. Just change the border width and color for each additional bar.
Posted in Random, Site Development, Tips
Tagged bar, chart, css, graph, html, printable, pure, report, website
I browse craigslist a lot and the constant warnings presented before visiting the jobs, cars or personals can be annoying. This script will rewrite the links for all those sections so you can go straight to the listings.
Download Greasemonkey Script.
Here is how I delete unchecked iTunes songs from my hard drive with a script I wrote in Python. An executable version is also available.
Download the executable version here.
Download the Python script here.
Complete instructions are in the full version of this post.
The 2004-2006 Pontiac GTOs have a small issue with the plastic clips that hold the floor mats in. These buttons are made of plastic and rely on very small fingers to hold them in place. It is very easy to snap these clips.
I went ahead and modeled these fasteners.
Download the full SolidWorks model here.
Sure, you can just buy a set of these for $40 on eBay, but maybe someone wants to machine or mold their own? Yeah, I didn’t think so.
A while ago I posted some PHP code that helps block spam from known IP address by redirecting them to another page. Check out the original post here: http://cal.freeshell.org/2010/01/spam-prevention/ Since then I have updated the script to include logging functionality.
Or read the rest of this article to for the updated code.
Here is a little program I wrote in AutoIt that will recursively search a target directory or drive for a specific filetype and move them to a location of your choosing.
For those that don’t know “recursive” is a type of search that will look in ALL sub-directories.
Download program here.
Download source code here.
When using make sure you have the full drive or directory path. This includes the colon and trailing slash as depicted in the screenshot. When entering the filetype just use the extension; you do not need the period before it.
Posted in AutoIt
Tagged AutoIt, file, filetype, folder, locate, move, mp3, recursive, search, sub directory, subdirectories, subdirectory