Category: Coding

  • JavaScript: Setting the selected dropdown option by its index number

    Long time no new entry. πŸ™‚ Internship is keeping me very busy. In this blog entry I’ll show you how to select a drop down option by specifying its index number.
    (more…)

  • Inline Frame that automatically adjusts its height for the source page

    Last year, I was working on our MULPROJ layout, and the type of layout I was making needed an iframe whose height is auto resized according to the source page’s content. This means that there should be no vertical scrollbar in the iframe, it simply adjusts itself vertically.

    I thought that it wasn’t possible to do this but I found a JavaScript code that can do the trick, and I just want to share it with you. πŸ˜‰
    (more…)

  • Cobol Compilers free download: MFCICS, Microsoft Cobol 2.20, Cobol IDE

    I used to have several Cobol compilers available for free download in my old blog, Poochycat.com. That blog has gone, months ago, I think.

    I’m putting up all those Cobol compilers in this post. πŸ™‚
    (more…)

  • IE Tester – see how your web pages look in different versions of IE (Windows Internet Explorer)

    (Post taken from my old blog, Poochycat.com)

    Ahh, it seems that I posted this in our MULPROJ days. ^_^

    Yesterday I woke up at 6AM. I wanted to go on with my sleep, but I couldn’t. I suddenly remembered that I haven’t tested in different versions of Internet Explorer the layout design of the website I had to submit for MULPROJ that day. It’s like God woke me up to remind me that I had to test the layout. xD
    (more…)

  • PDF Download: Head First Java (2nd Edition) – by Katy Sierra and Bert Bates

    PDF Download: Head First Java (2nd Edition) – by Katy Sierra and Bert Bates

    Learning Java? Great, this book will help you.

    I uploaded this Java Programming PDF to share with IT Elective 1 (Object Oriented Programming with Java) classmates. πŸ™‚

    I searched for it in Google, and I’m lucky to find this free e-book of Head First Java – Second Edition. I can’t remember where I got it from though. It’s been days (EDIT: no, it’s been months now! or maybe years), and I got a poor memory. lol.

    And by the way, I used A-PDF Split to split the e-book into separate chapters of the PDF for our convenience. The file I downloaded is only one PDF file which had 690 pages. It lags in slow computers. It’s also better off being separated by chapters for ease of reading, right? So, there. πŸ˜€

    I hope the Java PDF download links on this blog entry (Head First Java – Download) help you guys, and if you do find them helpful, please LIKE my website on Facebook. To find it on Facebook, search for “Catzie.net” πŸ˜€

    Download Link for Head First Java Ebook

    New! The following Head First Java Ebook is of better quality than the scanned one. It’s not split into several PDFs of individual chapters though, because I have no time to do it yet. It’s one big PDF file for now.

    FILE SIZE: 37.53MB


    Download Links for Head First Java Ebook

    The zip file that follows contains Head First Java scanned ebook split into several PDFs of individual chapters.
    FILE SIZE: 31.6MB

    Java Book Chapters

    1. Breaking the Surface: a quick dip
    2. A Trip to Objectville: yes, there will be objects
    3. Know Your Variables: primitives and references
    4. How Objects Behave: object state affects method behavior
    5. Extra-Strength Methods: flow control, operations, and more
    6. Using the Java Library: so you don’t have to write it all yourself
    7. Better Living in Objectville: planning for the future
    8. Serious Polymorphism: exploiting abstract classes and interfaces
    9. Life and Death of an Object: constructors and memory management
    10. Numbers Matter: math, formatting, wrappers, and statics
    11. Risky Behavior: exception handling
    12. A Very Graphic Story: intro to GUI, event handling, and inner classes
    13. Work on Your Swing: layout managers and components
    14. Saving Objects: serialization and I/O
    15. Make a Connection: networking sockets and multithreading
    16. Data Structures: collections and generics
    17. Release Your Code: packaging and deployment
    18. Distributed Computing: RMI with a dash of servlets, EJB, and Jini

    Happy Java programming, y’all. πŸ™‚ Make good use of the learning Java book you downloaded.

    Java is a programming language originally developed by James Gosling at Sun Microsystems (which is now a subsidiary of Oracle Corporation) and released in 1995 as a core component of Sun Microsystems’ Java platform.

    The syntax of Java is mostly derived from that of C and C++ programming languages, but with simpler object model and fewer low-level facilities.

  • PHP: Dynamic inclusion tutorial

    I’m posting this because I thought that it might help some people who want to structurize their website in a way that they can easily edit pages which contain contents and pages which contain the code of the layout, as we separate layout code from contents in dynamic inclusion.

    This is for PHP beginners, but I assume that you have basic knowledge about PHP variables and form submission methods if you would read this tutorial.
    (more…)

  • CyStats Template Functions / Template Tags

    I used to use the WordPress plugin Counterize II to keep track of my blog’s statistics, but then I felt that I had to switch into something else. I looked for another feature-rich stats plugin but one that is faster and that will take up less database space. After trying different plugins, I chose to stick with CyStats.

    The only thing I needed but didn’t get (right away) from CyStats is the code to insert into my themes in order to call functions to return values like the total number of hits, total number of comments, total number of posts, and such. Maybe there’s a web page lying around in the Internet and I simply did not search thoroughly that I wasn’t able to find it. And since I didn’t find it, I’m making my own list of template tags (template functions) here, hoping that it would help other users.

    By the way, I got all these from the template-functions.php which is inside the /includes folder of the plugin. I’m putting a list here just to make our task easier. πŸ˜€
    (more…)

  • Assembly Language: a simple shop/store program

    A small program I made a year ago in Turbo Assembler.

    tasm shop assembly language

    It’s a shop displaying four items, each item having 9 stocks. The user is first prompted for which item he/she wishes to buy, for the quantity of the purchase, and if he wants to buy again. The program closes once the shop runs out of stock.

    (more…)

  • Assembly Language: check if a one-digit input number is odd or even

    assembly programming odd even number

    I coded this back when I was taking up Computer System Organization. It was a homework that I decided to share in my old blog.

    The program accepts a one-digit number as the input, and then shows whether that number is ODD or EVEN.

    The program uses the attribute byte to highlight ODD or EVEN with a color.
    (more…)

  • Modern Database Management 8th Edition (PDF E-book and PPT)

    When I took up my Database Management Systems course in my second year in college, I used Modern Database Management 8th Edition (by Jeffrey A. Hoffer, Mary B. Prescott, and Fred R. McFadden) as my reference. I used the e-book and Powerpoint presentations to review for exams, and I’m sharing the following files with you:

    Powerpoint slides – Modern Database Management 8th Edition

    E-book (.PDF)- Modern Database Management 8th Edition

    I hope that helps. πŸ™‚