-
Chapter 1. Running and Using HyperSQL
” java -cp ../lib/hsqldb.jar org.hsqldb.util.DatabaseManagerSwing”
-
-
usar com argumento -url jdbc:hsqldb:file:/opt/db/testdb após o argumento de java -cp
-
-
jdbc:hsqldb:file:/opt/db/testdb
-
-
“@RequestMapping(value = PATH)
ErrorJson error(HttpServletRequest request, HttpServletResponse response) {
// Appropriate HTTP response code (e.g. 404 or 500) is automatically set by Spring.
// Here we just define response body.
return new ErrorJson(response.getStatus(), getErrorAttributes(request, debug));
}” -
CLI Batch Mode |JBoss Developer
“The batch mode allows one to group commands and operations and execute them together as an atomic unit, i.e., if at least one of the commands or operations fails, all the other successfully executed commands and operations in the batch are rolled back.
Not all of the commands can be added to a batch. E.g. commands like ‘cd’, ‘ls’, ‘help’, etc are not added to the batch since they don’t translate into operation requests. These commands (if entered while in the batch mode) will be executed outside of the batch. Only the commands that translate into operation requests are allowed in the batch. The batch, actually, translates into a ‘composite’ operation request.”
Mês: abril 2018
Update (weekly)
-
startup – Cannot run Eclipse; JVM terminated. Exit code=13 – Stack Overflow
“I had the same error when configuring eclipse.ini to use JRE6. Turns out I caused this error by incorrectly configuring eclipse to use the 64 bit JVM while running a 32 bit version of eclipse 3.7.
The correct configuration required the eclipse.ini -vm argumument to use “C:/Program Files (x86)/” instead of “C:/Program Files/”.
Make sure that the JVM version (32/64 bit) you use matches the eclipse version (32/64 bit).”
-
Red Hat JBoss Enterprise Application Platform (EAP) Quickstarts | Red Hat Developers
“If you are a beginner or new to JBoss, start with the quickstarts labeled Beginner, then try those marked as Intermediate. When you are comfortable with those, move on to the Advanced quickstarts”
-
Reduce eclipse tab size with GTK theming – Unix & Linux Stack Exchange
“The default GNOME3 themes are a disaster for tiny screens. However, the Gnome3 crowd seems to be pretty unwilling to listen to their users. They only think of how stuff looks, in particular on a tablet PC or mobile device, it seems. Soon, Gnome3 will require a 4k screen.
Anyway, the best solution I have found is to switch the theme to the XFCE themes. On Ubuntu and Debian you should be able to install them via apt install gtk3-engines-xfce gtk2-engines-xfce. Then you can use the gnome-tweak-tool to change the theme. I’m currently using XFCE-orange theme, and it has much less padding than the default Gnome3 desaster “Adwaita”. Plus, it doesn’t use that depressing black for half of the applications! I think the tooltips in Eclipse were also broken with Adwaita.
I’m slowly switching from Gnome3 to XFCE on my computers, one after another. Because Gnome3 keeps on getting less and less useful for me, as I’m not your average “joe clueless” user that the Gnome3 people consider to be their only audience. I’m fed up with them breaking things for me. Now they’ve just announced to discontinue the panel which I’m using instead of the broken by design gnome-shell.
For eclipse specifically, I suggest to
export SWT_GTK3=0
in your ~/.profile. GTK3 with Eclipse is just a crazy waste of screen space.”
Update (weekly)
-
compiling – How to use ‘apt’ to get source code and then do separate compile – Ask Ubuntu
”
down vote
acceptedFor this example I’ll use icedtea-6-jre-jamvm as the package you want to rebuild.
First install all the dependencies and build essential:
sudo apt-get build-dep icedtea-6-jre-jamvm
sudo apt-get install build-essentialThen grab the source:
apt-get source icedtea-6-jre-jamvm
Then cd in the openjdk directory directory and build the deb, the -us and -uc here skip the GPG checks if you’re just rebuilding it for yourself:
cd openjdk-6-6b24-1.11.5
dpkg-buildpackage -us -ucThen go up a directory and you should have .deb files. ”
-
How to Fix macOS Sierra Screen Resolution on VirtualBox? – wikigain
“
Replace VM Name to macOS Sierra(VM name in VB)
Step #4. Choose the resolution of your screen monitor from the list below, to choose one just clean N and type the number of that resolution size.
Choose your Screen Resolution From the List
Step #5. Press Windows button + X and click on Command Prompt (Admin).
Run CMD as Admin
Step #6. Select the VirtualBox path by the change directory command, so copy & paste the command to Command Prompt(CMD) then hit enter.
Choose VirtualBox Path
Step #7. These time Copy & paste the fix screen resolution code to Command Prompt(CMD) then hit enter.
Note: Be sure that you have selected a fix resolution for your monitor screen and choice the amount of N. after copying the code to virtual-box then close all tabs.
Run the Screen Resolution Code
Step #8. Start the installed macOS Sierra virtual machine from VirtualBox.
Launch the macOS Sierra VM
Step #9. Now log in to your account and check the screen resolution to confirm it has worked or not. So was all”
-
Step #4. Choose the resolution of your screen monitor from the list below, to choose one just clean N and type the number of that resolution size.
-
VBoxManage setextradata “MacOsSierra” “VBoxInternal2/EfiGopMode” 4
-
-
These time Copy & paste the fix screen resolution code to Command Prompt(CMD) then hit enter.
-
Update (weekly)
-
Como Instalar o Mac OS X em VirtualBox no Linux – BR-Linux.org
-
Gato de óculos escuros ‘invade’ reportagem do RJTV
“Um gato usando óculos escuros ‘invadiu’ uma reportagem do RJTV no sábado, 27, e ganhou a internet como o mais novo meme. Enquanto o repórter Pedro Figueiredo falava sobre tiroteios e mais uma pessoa ferida na favela da Rocinha, no Rio de Janeiro, o animal surge “bem pleno” em uma moto, acompanhado do motorista.
Reprodutor de vídeo de: YouTube (Política de Privacidade)
No Twitter, o vídeo viralizou. Alguns internautas comentam a possibilidade de o animal ser o gato Chiquinho, famoso na comunidade da Rocinha por gostar de relaxar e ter pose de motoqueiro tal como seu dono Alexandre.Assista ao momento abaixo, a partir dos 00:56:”
-
Why I Drilled Holes in My MacBook Pro and Put It in the Oven | iFixit
Lembrando que o Titanic foi feito por profissionais e a Arca de Noé por um amador…
-
we decided it was time to break out the bigger guns. That is, we pulled out a drill. With a 1/16” bit, we drilled holes in the bottom case, under the fans (we figured out where the blades of the fan were exposed based on the dust pattern stuck to the inside of the bottom case). The speed holes worked: The boot chime rang. The screen glowed. The fans blew.
These are speed holes. They make the computer go faster.
There’s noticeably increased airflow—when I put a piece of paper on the bottom of the computer, it sticks to the case. Its average temperature is down in the 40s and 50s, lower than it’s been since before March.
It’s a little early for a final verdict, but the computer has now been running without incident for fifteen days. Unconventional electronics repair tools they may be, but that’s how I saved my MacBook Pro with a drill and an oven.
-