There are 2 options. The first one is really simple, just go to Developer Tools > Sources > Find the minified script > Click it to open it > Click the {} button on the bottom-left corner of the script. That is going to un-minify the script. In other words, it's going to add a carriage return to make it readable but will still be the same file contents.
The second option is to use the Workspace of the Developer Tools. You can read more about it here https://developers.google.com/web/tools/setup/setup-workflow?hl=en.
Saturday, March 12, 2016
Sunday, March 6, 2016
Version control for your database in a Java project
Flyway.
I highly recommend it. This is the technology used in the project I'm currently working on (https://flywaydb.org/).
I highly recommend it. This is the technology used in the project I'm currently working on (https://flywaydb.org/).
Saturday, March 5, 2016
Intellij vs Netbeans vs JRebel
After 6 months of using Java (2 of them with Netbeans and 4 of them with IntelliJ) in an enterprise application, I highly recommend IntelliJ if you want to improve your productivity (if your application is small then IntelliJ might not be necessary).
Netbeans offers a good start but once you're proficient, you find that deploying your enterprise application to review your changes just takes too long. IntelliJ offers hotswapping and yes, you can do hotswapping with Netbeans (https://github.com/dcevm/dcevm/releases) because hotswapping exists natively in Java, but sometimes it doesn't work. That's because you need to use a specific Java version. I had it configured and it worked ok but when I upgraded Java it stopped working.
With IntelliJ hotswapping is already built into the IDE. You don't need to do any configuration. Just keep in mind that with IntelliJ hotswapping doesn't work when you change a method signature.
Still, you can take it one step further with JRebel. However, JRebel gave me a lot of problems so I uninstalled it. My main issue was that the page would take forever to load after a few hotswaps.
In summary, I recommend using IntelliJ for your Java development.
Netbeans offers a good start but once you're proficient, you find that deploying your enterprise application to review your changes just takes too long. IntelliJ offers hotswapping and yes, you can do hotswapping with Netbeans (https://github.com/dcevm/dcevm/releases) because hotswapping exists natively in Java, but sometimes it doesn't work. That's because you need to use a specific Java version. I had it configured and it worked ok but when I upgraded Java it stopped working.
With IntelliJ hotswapping is already built into the IDE. You don't need to do any configuration. Just keep in mind that with IntelliJ hotswapping doesn't work when you change a method signature.
Still, you can take it one step further with JRebel. However, JRebel gave me a lot of problems so I uninstalled it. My main issue was that the page would take forever to load after a few hotswaps.
In summary, I recommend using IntelliJ for your Java development.
Wednesday, March 2, 2016
Microsoft Excel cannot open or save any more documents because there is not enough available memory or disk space
There are several things you can try, what worked for me is doing the following:
File > Options > Trust Center > Trust Center Settings > Protected View > Uncheck all options
File > Options > Trust Center > Trust Center Settings > Protected View > Uncheck all options
Saturday, February 20, 2016
Java Hibernate "org.hibernate.loader.MultipleBagFetchException: cannot simultaneously fetch multiple bags"
There are a couple ways to fix it. Using Set instead of List is better than changing the fetch type to Lazy. You can find more information about that here in SO http://stackoverflow.com/questions/4334970/hibernate-cannot-simultaneously-fetch-multiple-bags
Saturday, January 23, 2016
OmniSharp server is not running when taking Visual Studio Code for a spin in OS X
This happened to me when using Visual Studio Code in OS X. After typing Cmd + Shift + P and then dnx to Restore Packages, I got "OmniSharp server is not running".
This is most likely because your project.json file has errors. Open the Output console (Cmd + Shift + U) to get more information. Also, look at the errors in the Terminal when it opens. In my case the error was because of a comment in the project.json (using the double slash // which I had to remove). Another error I had was this line:
"Microsoft.AspNet.Server.Kestrel": "1.0.0-rc1-update1"
which I had to change to:
"Microsoft.AspNet.Server.Kestrel": "1.0.0-rc1-final"
This is most likely because your project.json file has errors. Open the Output console (Cmd + Shift + U) to get more information. Also, look at the errors in the Terminal when it opens. In my case the error was because of a comment in the project.json (using the double slash // which I had to remove). Another error I had was this line:
"Microsoft.AspNet.Server.Kestrel": "1.0.0-rc1-update1"
which I had to change to:
"Microsoft.AspNet.Server.Kestrel": "1.0.0-rc1-final"
Saturday, January 16, 2016
Setting up a dark theme in NetBeans
Lately I have found myself doing Java development. The default theme is white, but you can change it to dark, similar as in Visual Studio.
First download the theme from here:
http://plugins.netbeans.org/plugin/57669/obsidian-color-theme
Then install it following these instructions:
http://askubuntu.com/questions/107873/how-to-use-a-theme-in-netbeans-7-1
First download the theme from here:
http://plugins.netbeans.org/plugin/57669/obsidian-color-theme
Then install it following these instructions:
http://askubuntu.com/questions/107873/how-to-use-a-theme-in-netbeans-7-1
Subscribe to:
Posts (Atom)