• About
  • License

Jorge Code

~ Viewpoint of a programmer, Java, Ubuntu, etc.

Jorge Code

Category Archives: JavaScript

Defensive programming

09 Wednesday Dec 2015

Posted by Jorge in Intermediate, Java, JavaScript, Sin categoría

≈ Leave a comment

Tags

Defensive programming

systemfailureI think that one of best coding practices I have learned over time which can help improve the quality of software is the defensive programming; consequently, I share this link with you in order to explain what I’m refer to.

convert-icon

Go to Bolivartech article: Defensive programming to mitigate security breach and unforeseen events

Advertisement

Video: What’s a computer programmer ?

02 Wednesday Dec 2015

Posted by Jorge in Android, Basic, Java, JavaScript, News, Ubuntu

≈ Leave a comment

Tags

Bill Gates, computer program, Mark Zuckerberg, Programmer, Steve Jobs

VideoI love this video!!!
It’s a short and beautiful presentation about what’s a computer programmer with short interviews with some personalities like Bill Gates, Mark Zuckerberg, Steve Jobs, etc. What although perhaps you are a programmer I recommend you to see it.

Enjoy!!!
Continue reading →

JavaScript: Set focus onload

13 Monday Apr 2015

Posted by Jorge in JavaScript

≈ Leave a comment

With JavaScript you can easily put the user’s cursor inside a text box as soon as the page is loaded (set focus onload). This helps ensure that visitors do not “overlook” an important form item on your site or you want to query many times without set focus tediously.

<html>
<body onLoad='document.getElementById("lastname").focus();'>
<form name="formName">
Name: <input type="text" name="name">
Last Name: <input type="text" name="lastname">
</form>
</body>
</html>

The focus always is on last name field on load the page.

Jorge Fernandes is Bachelor in Computer Science experienced in telecommunications, security, banking and programmer since 1984. He works in Valhala Networks focused on high-level decisions about scientific and technological policies and strategies of projects oriented to develop web and standalone applications, as well as smart solutions at mobiles. He always oriented to produce innovator products.

Some simple Java convertions

12 Sunday Apr 2015

Posted by Jorge in Basic, JavaScript

≈ Leave a comment

People always ask me how to do trivial things like conversions, let’s start
here:

String to Integer:

String stringNumber = "5";
int number = Integer.parseInt(stringNumber);

Continue reading →

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 680 other subscribers
Follow Jorge Code on WordPress.com

Categories

  • Android (6)
    • Tips and tricks (4)
  • Humor (1)
  • Java (10)
    • Advanced (2)
    • Basic (5)
    • Intermediate (2)
  • JavaScript (4)
  • News (8)
  • Sin categoría (1)
  • Ubuntu (9)
    • Tips and tricks (4)

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 680 other subscribers
Follow Jorge Code on WordPress.com

Create a free website or blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Jorge Code
    • Already have a WordPress.com account? Log in now.
    • Jorge Code
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...