My First Scratch Project – Heist

October 27, 2012 Leave a comment

Hear Ye! Hear Ye!

My first scratch project is done.
This is an rpg puzzle-like game.
I’ve done this for my edx Cs50 Harvard project and it took me 3 days to finish it.

Hope you like it!
http://scratch.mit.edu/projects/mjoypascual/2864430

Heist Scratch Walkthrough:
1. Chapter 1:
website name: decoy.com
password: joy9a
2. Chapter 2:
Choose 3rd door.
Maze tip: Run on the black side background.
3rd Puzzle: Choose the counterfeiter

Categories: Programming

LinkBucks Bot 100% Working

September 25, 2012 Leave a comment

Hi!

I’ve tried the following Linkbucks bot and so far it is working well.

It can give you a $2 earning per hour.

PROCEDURE

1. Just download the bot program.

2. Find proxies and save it in a text file.

3. Upload the text file in the bot program

4. Bot will auto-click links.

Note: You should find proxies that is not included in the Linkbucks database in order for this to work.

Good luck!

 

Categories: Site Reviews

Pisobid Website Review

September 21, 2012 Leave a comment

Description

PisoBid is an auction site wherein the auction item starts at 1 peso ₱1.00. Price goes up by one centavo (₱0.01) for  each bid. Once you bid, your money will automatically be deducted by P0.01 even though you don’t win. You started with 5 free bids. After that, you need to purchase for more.

Review

Chances of winning is very slim. Website owner can manipulate the bids. My office mates and I tried to bid for a very cheap product (computer fan). The average winning price of this item is P1.8. Because we are many, the total number of our bids are more than 200. We expected to win it. We keep on bidding against different people. The price reaches up to P9.63.  We don’t know why it reaches that high. It even exceeds the average bid of cellphones which is P8+. That’s why we conclude that this is a total scam.

 

 

Categories: Site Reviews

Free Quality Online IT Courses for Everyone

September 21, 2012 Leave a comment

As an IT practitioner, being updated to the latest technology is what will give you an edge in your career. Thirst for knowledge is a requirement. No pain, no gain. That’s why I’m really happy that top universities offer free online courses that can help in boosting up my IT career.

EdX, Coursera and Udacity are some of the online websites that offer this kind of opportunity to people like me. I’ve taken several courses in these websites and so far I really enjoyed it. There are plenty of courses to choose from and they came from prestigious schools like Harvard. Berkeley, MIT, Princeton, etc. Each course have video lectures, exercises, projects and exams.  After the course completion, students can even have a certificate signed by the instructor. Cool right? :)

Categories: Programming

9en.US Website Review

September 21, 2012 1 comment

Description

9en.US is a free URL shortening service that offers you to earn more than $6.00/1000 clicks to your links. Minimum payout is $5.00 per week via Paypal.

Review

URL shortening service usually offers $5.00/1000 clicks. So 9en.US payout is above the average that’s why I’ve decided to try it.  I have earned $15.00 in a week and did not receive any payment. Sadly, this website is a fake. A total scam for sure!

Categories: Site Reviews

JQuery Validations Quick Tutorial

Source: http://www.position-absolute.com/articles/jquery-form-validator-because-form-validation-is-a-mess/

1. Include in html/jsp head
 <script src=”https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.js&#8221; type=”text/javascript”></script>

 

2. download and also include

<script src=”js/jquery.validationEngine-en.js” type=”text/javascript” charset=”utf-8″></script>
<script src=”js/jquery.validationEngine.js” type=”text/javascript” charset=”utf-8″></script>

3. download css and include also

<link rel=”stylesheet” href=”css/validationEngine.jquery.css” type=”text/css”/>

4.   include in head the following code to call the function

   <script>
	  	$(document).ready(function(){
	 		$("#formID").validationEngine();
		});
</script>

5. Sample body code

<form id="formID" method = "post" action = "AddApplicantServlet">
<table>
<tr><td>First Name: </td><td><input type = "text" id = "fName" name = fName class="validate[required,custom[onlyLetterSp]]"> </td></tr>
<tr><td>Middle Name: </td><td><input type = "text" id = "mName" name = mName class="validate[required,custom[onlyLetterSp]]"> </td></tr>
<tr><td>Last Name: </td><td><input type = "text" id = "lName" name = lName class="validate[required,custom[onlyLetterSp]]"> </td></tr>
<tr><td>Age: </td><td><input type = "text" id = "age" name = age class="validate[required,custom[onlyNumberSp]],maxSize[2]"> </td></tr>
<tr><td>Gender: </td><td><select name = gender ><option value='m'>Male</option><option value='f'>Female</option> </select> </td></tr>
<tr><td>Email Address: </td><td><input type = "text" id= "email" name = email class="validate[required,custom[email]]"> </td></tr>
<tr><td>Contact No: </td><td><input type = "text" id="contactNumber" name = contactNumber class="validate[required]"></td></tr>
<tr><td>City of Residence: </td><td><input type = "text" id="city" name = city class="validate[required]"> </td></tr>
<tr><td>School: </td><td><input type = "text" id="school" name = school class="validate[required]"> </td></tr>
<tr><td>Course: </td><td><input type = "text" id="course" name = course class="validate[required]"> </td></tr>
<tr><td>Year Graduated: </td><td><input type = "text" id="yearGraduated" name = yearGraduated class="validate[required,custom[onlyNumberSp]],maxSize[4]"></td></tr>
<tr><td>Previous Work Experience: </td><td><input type = "text" id="yearWorkExp" name = yearWorkExp class="validate[required,custom[onlyNumberSp]],maxSize[2]"> </td></tr>
<tr><td>Sourcing Channel: </td><td><select name = sourceChannel>
<option value='Jobstreet'>Jobstreet</option>
<option value='Direct'>Direct</option>
<option value='Referral'>Referral</option>
<option value='Board Exam'>Board Exam</option>
<option value='Oath Taking'>Oath Taking</option>
<option value='GradList'>GradList</option>
</select></td></tr>
<tr><td><input type= "submit" id="submit value = "submit">
</table>
</form>

—The End—-

Categories: Programming

J2EE Display Tag Quick Tutorial

Source: http://www.displaytag.org/1.2/

1. Download the latest version of display tag library..  (e.g. ver 1.2)  http://sourceforge.net/projects/displaytag/files/

2.  Unzip and paste the following .jar file in the WEB-INF directory:

  • displaytag…. jar
  • commons-beanutils….. jar
  • commons-lang…. jar
  • commons-collection… jar
  • commons-logging…jar
  • jstl-1.02.jar
  • standar-1.02.jar
3.  download theme / create css template for table  (e.g of content) and include it on your web-inf
table.report td,table.report th {
	font: menu;
}

table.report th {
	background: buttonface;
	border-width: 1px;
	border-style: solid;
	border-color: threedhighlight threedshadow threedshadow threedhighlight;
	cursor: hand;
}

table.report idcol {
	background: buttonface;
}

table.report tr.even {
	background-color: #399;
}

table.report tbody {
	height: 100px;
	overflow: auto;
}

table.report {
	height: 120px;
	overflow: auto;
}

table.report tbody tr {
	height: 10px;
}
4.  tag lib in jsp
<%@taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@taglib prefix="display-el"  uri="http://displaytag.sf.net/el"%>
5. css code in html/jsp header
<link rel=”stylesheet” type=”text/css” href=”style.css” />
6. Body  Code in html/ jsp
<display-el:table name="applicantList" id="applicant" pagesize="15" defaultsort="1" requestURI="#applicant" export="true" class="bodyTable">
<display-el:column property ="applicationDate" title="Application Date"  sortable="true" headerClass="sortable"></display-el:column>
<display-el:column property ="applicantNumber" title="Application No"  sortable="true" headerClass="sortable"></display-el:column>
<display-el:column property ="fName" title="First Name"  sortable="true" headerClass="sortable"></display-el:column>
<display-el:column property ="lName" title="Last Name"  sortable="true" headerClass="sortable"></display-el:column>
<display-el:column title = "   EDIT   " headerClass="sortable">
<form action="editApplicant" method="post">
     <input type="hidden" value="${applicant.applicantNumber}" name="applicantNumber">
     <INPUT TYPE="submit" VALUE="EDIT">
</form>
</display-el:column>
<display-el:column title = "DELETE" headerClass="sortable">
<form action="deleteApplicant" method="post">
     <input type="hidden" value="${applicant.applicantNumber}" name="applicantNumber">
     <INPUT TYPE="submit" VALUE="DELETE">
</form>
</display-el:column>
</display-el:table>
</pre>

CODE EXPLANATIONS:
A. Display Table
name="applicantList"   - is an arrayList of Applicant Object from servlet
id="applicant"         - the object
B. Display Column Property (direct)
pagesize="15"          - max. number of rows to show per page
column property        - Applicant object field (Direct)
C. Display Column Title  - (code implementation inside)

column title           - name of column header that will be displayed 
D. Sortable
sortable="true"        - enable column to be sorted
headerClass="sortable" - if other column is sorted, this column will also be sorted

---- The end -----
Categories: Programming
Follow

Get every new post delivered to your Inbox.