There are some customizations that I make that pertains to my development computer only and because I work in a team environment I cannot commit in things that are customized towards my development environment. In order to do this, I do a global ignore on the file. Here’s how to do a global ignore. The subversion config file for Ubuntu 12.04 LTS or 12.10 is here:
[code language=”bash”]sudo nano /etc/subversion/config[/code]
There is a section that looks like this
Set global-ignores to a set of whitespace-delimited globs
which Subversion will ignore in its ‘status’ output, and
while importing or adding files and directories.
‘‘ matches leading dots, e.g. ‘.rej’ matches ‘.foo.rej’.
global-ignores = .o *.lo *.la *.al .libs *.so *.so.[0-9] *.a *.pyc *.pyo
.rej *~ ## .#* .*.swp .DS_Store[/code]
You can uncomment that “global-ignores” part.
This is a personal note. This lets you check Ubuntu’s version number. Run the command ‘cat /etc/lsb-release’.
[code lang=”bash”]tkw@deathnode:~$ cat /etc/lsb-release
My blog has pretty much become a scrap book.
To find Red Hat or CentOS linux version number use:
[code lang=”bash”]tkw@redhat:~$ cat /etc/redhat-release
CentOS release 4.8 (Final)[/code]
jer added that this is a better alternative:
[code lang=”bash”]lsb_release -a[/code]
This is more of a personal note. You may find it useful too.
Here’s how to ignore files and folders using Git. You can create a file “.gitignore” and place in the files and folders that you wish to ignore (separated with a line break).
In the file: “./.gitignore”
Here’s a list of standard things to do a .gitignore. It ignores the thumbnail files generated by Mac OSX and Windows. (I’m on Windows Vista.) You can place this on the top folder of your Git project:
“nbproject” is for NetBeans.
In the file: “./app/.gitignore”
Well, if you use CakePHP, you may want to add an additional .gitignore file in your CakePHP app directory:
I am open to suggestions what other files or folders are good to ignore but these are all I can recall. You can read more about gitignore at kernal.org.
Okay, main news is that Java SE 6 Update 10 is out. I’ve been using Update 10 beta since a month ago. I got it simply to see the Java Swing menu fonts using ClearType and that’s all.
Let’s side track a little to look at how sucky a state Java download page is in.
Sun Microsystem probably has the worst marketing team. Java SE 6 Update 10 is now. Before update 10 was probably update 7. The numbers doesn’t seem to be incremental.
But that’s okay, that’s just Sun’s way of doing thing. The version after Java 1.4.2 is Java 5. Java can’t compute elementary math. Java Standard Edition 6 is also known as Java 1.6.
You go to their Java SE download page and you see:
- Java SE Runtime Environment (JRE) 6 Update 10
- Java SE Development Kit (JDK) 6 Update 10
- JDK 6 Update 10 with Java EE
- JDK 6 Update 10 with NetBeans 6.1
- JRE 6 Update 7 for Intel Itanium®
- JDK 6 Update 7 for Intel Itanium®
- JDK DST Timezone Update Tool – 1.3.9
- Java SE 6 Documentation
- Java SE 6 JDK Source Code
- and other friends like Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy
Usually you just need whatever’s that’s need at the top. New Java developers would no doubt get intimidated by the choices available. They should have separated the developer page from the rest of the Java site. And on the developer page, there really should just be 3 options:
- Java Standard Edition 6
- Java Enterprise Edition 6
Continue reading “Java SE 6 Update 10 is out: it’s the new one”