Archive

Archive for the ‘web’ Category

Ruby Help Me to Find a Job

June 22nd, 2010 Albertux 1 comment

Ruby Help Me to Find a Job

On Indeed:

#!/usr/bin/ruby -w
# Autor: Albertux (Alberto Isaac Ayala Esquivias)
# URL/Blog: http://Albertux.AyalaSoft.com
# E-mail/spam: <albertoi7@gmail.com>
# Free Coke License: If you see me some day give me a free coke please.
# Description: This script maybe help people to find a fucking Job
 
require "rss/2.0"
require "open-uri"
require 'net/http'
require 'rexml/document'
 
# You need to change this values:
keywords = "keyword1+keyword2+keyword3"
zipcode = "10101"
 
def bitly(url)
	# Create account on Bit.ly
	login = ""
	api_key = ""
	data = Net::HTTP.get_response(URI.parse("http://api.bit.ly/v3/shorten?login="+login+"&apiKey="+api_key+"&longUrl="+url+"&format=xml")).body
	doc = REXML::Document.new(data)
	doc.elements.each('response/data/url') do |ele|
		url = ele.text
	end
	url
end
 
open("http://rss.indeed.com/rss?q=" + keywords + "&l=" + zipcode + "&sort=date") do | http |
	response = http.read
	result = RSS::Parser.parse(response, false)
	puts "\nChannel: " + result.channel.title + "\n\n"
	result.items.each_with_index do | item, i|
		puts "#{i+1}. #{item.title} ( " + bitly(item.link) +" )"
	end
end

On Craigslist:

#!/usr/bin/ruby -w
# Autor: Albertux (Alberto Isaac Ayala Esquivias)
# URL/Blog: http://Albertux.AyalaSoft.com
# E-mail/Spam: <albertoi7@gmail.com>
# Free Coke License: If you see me some day give me a free coke please.
# Description: This script maybe help people to find a fucking Job.
 
require "rss/1.0"
require "open-uri"
 
def craigslist_reader(feeds)
	feeds.each do | feed |
		open(feed) do | http |
			response = http.read
			result = RSS::Parser.parse(response, false)
			puts "\nChannel: " + result.channel.title + "\n\n"
			result.items.each_with_index do | item, i|
				puts "#{i+1}. #{item.title} #{item.link}" if i < 10
			end
		end
	end
end
 
craigslist_feeds = [
		"http://sfbay.craigslist.org/sof/index.rss",
		"http://sfbay.craigslist.org/web/index.rss",
		"http://sfbay.craigslist.org/eng/index.rss",
		"http://sfbay.craigslist.org/cpg/index.rss"
]
 
craigslist_reader(craigslist_feeds)

Categories: network, web Tags: , ,

Processing.js

June 10th, 2010 Albertux 1 comment

Processing.js

Processing.js is an open programming language for people who want to program images, animation, and interactions for the web without using Flash or Java applets. Processing.js uses Javascript to draw shapes and manipulate images on the HTML5 Canvas element. The code is light-weight, simple to learn and makes an ideal tool for visualizing data, creating user-interfaces and developing web-based games.

Processing IDE:

Let’s play:

Examples on the Web:
http://processingjs.org/learning

Website: http://processingjs.org/

Categories: web Tags: ,

Aardvark

June 10th, 2010 Albertux No comments

Aardvark

Things You Can Do With Aardvark:

  • Clean up unwanted banners and surrounding “fluff,” especially prior to printing a page
  • See how the page is created, block by block
  • View the source code of one or more elements

Project page: http://karmatics.com/aardvark/

Download Firefox Extension:
https://addons.mozilla.org/en-US/firefox/addon/4111/

Categories: web Tags:

BSE ALPHA 0.0.7

May 7th, 2010 Albertux No comments

BSE alpha (0.0.7)

BSE Search on:

Need other site ?
Need other options ?

http://BSE.AyalaSoft.net

if you don’t see “0.0.7″ at version number, press ctrl + r or f5 or clear your browser cache.

Remember is alpha

Categories: web Tags:

BSE Pre-Alpha 0.0.4

April 29th, 2010 Albertux No comments

BSE Pre-Alpha 0.0.4

Another boring day, without job in San Jose, CA. Today in the library I decide check my abandoned projects.

Main page:

Search page:

Shadowbox integration (only on flickr images):

Please visit:
BSE (Beast Search Engine)

Next version: (Amazon, eBay and others)

Categories: web Tags: