A site for solving at least some of your technical problems...
A site for solving at least some of your technical problems...
The name Zmeu (no capital E) is the name of a fantastic creature of Romania. There are so many stories that there isn't a clear understanding of what it is... but it is human like, can spit fire and wants to marry young women.
If you're wondering, it is generally a bad guy.
Today, I noticed a lot of traffic on one of my servers. Looking into what was happening, I immediately found out that an attacker was looking for a loophole in that system. That attack was being performed from China.
Today I did my first full install of Snap on a VM in my Ubuntu development system that runs VirtualBox.
This took me about 1h between getting all the files ready from our own APT repository, and then finding out all the setups needed (we have a few working installations, but we added all the necessary magic with time and did not clearly document all the steps yet... argh! so much to do!)
At some point, I wanted to setup the "domains" and "websites" tables on the VM. To do that I have to run the snapmanager tool. However, that tool requires X-Windows and my VM is just a ...
Once in a while I want to add my user to a group and then right away make use of that group.
Unfortunately, in general Unix kind of forces you to re-log in for the new group to be attached to your account.
However, a command has been added, a while back, to do just that on the fly. Not something you would want to use in a script, but at least, it works for me when doing a few things here and there.
In my case, I wanted to run QEMU, which I hadn't done in a while, and the system told me that it could not open the KVM, the error: kvm permission denied.
The problem was that I was not part ...
If you are using Apache and e-Commerce, you probably want to know all the details of the ciphers used by the Apache SSL module.
So listing Apache supported ciphers is done using nmap as follow:
nmap --script ssl-cert,ssl-enum-ciphers -p 443 secure.m2osw.com
This call gives you a complete list of all the ciphers currently accepted by your running version of Apache. For example, the list may look like this:
| ssl-enum-ciphers: | SSLv3: | ciphers: | TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA - strong | TLS_DHE_RSA_WITH_AES_128_CBC_SHA - strong | ...
I use the Cassandra database cluster system to manage a new set of websites and once in a while I start getting many errors and the website stops working altogether.
When that happens, it is likely that Cassandra broke something in the temporary tables that it holds. The only way to go past that problem is to clear those tables. Until then, it will fail over and over again (they really would need some euristic to auto-clean up even if it means that you're losing some data.)
The command to repair the database, really quick, is as follow:
nodetool scrub snap_websites files
Note that ...
Today I got a new video card because it looks like the old one I had was going bad. I hope that was not my KVM, although we'll see when it gets hot again, whether the video goes bouncy again or not... If not, then the old card is good for the trash (although it works in console mode just fine!)
So I got a new card. My old one was a NVidia GT 220. Fairly old model. Yes.
The new card is an NVidia GT 630 (to be precise: Asus GT630-SL-2GD3-L.)
When I tried to start X11, I saw an error (really quick) and the system did not come up. Looking closer into the matter, I could see that the NVidia ...
I use gVim all the time, I like that editor very much (emacs is just way too much, if you ask me.)
But once in a while I install a new server and by default they generally turn off the modeline feature. This is because there are potential security risks in link with that feature (i.e. vim starts running whatever script is defined in the text files that you edit...)
Anyway, I most often forget about the command to enable my:
(I most often define the tab stops, corresponding shift width and eventually the syntax of a file.)
Only, on those new servers, that doesn't ...
As I upgraded to Ubuntu 13.10, I noticed that I lost the option to turn off the color when printing.
Looking around all the available options, no one to make it black and white (although the old option was saying something like: Color: Off; it was somewhat weird.)
Now that option is completely gone. There is no way for me to turn off my HP Printer color when I am in Acrobate or LibreOffice. I searched on the Internet to see whether that was just HP trying to get you to use colors on your printer or whether the option was available... somewhere else.
Indeed, I had to go to the System ...
I wanted to dynamically manage the attributes of the HTML tag. As I'm working on the Snap! C++ system, I thought that should be done with the standard XSLT feature: <xsl:attribute-set name="...">. Unfortunately the the XQuery implementation does not currently support such, at all.
There is a way, though, to still make it work with a central template definition which can be used to decide what should be and what should not be added to the HTML tag. Especially, in this way we can make use of one template that is a system defined template. This being said, if you use ...
As I am working on our Snap! C++ CMS, I created a set of virtual systems to test the compilation on "clean" system (yeah! my main computers has all sorts of things that I don't even know about...)
In those virtual system, I only install the basic server and then do a sudo apt-get install of anything else the server needs to get compiled. This includes libraries such as libmagic, boost, and Qt and some tools like xmllint. This is pretty cool, but when working in a console, and that console is very small, it makes it a bit difficult, so I looked into making it big.
For this ...
Find the page/content you are looking for with our index.
Most Database systems offer a number type called DECIMAL. In general, it represents a fixed integer number with a set number of digits on the left side of the decimal point and a set of digits after the decimal point. Some database system will use floating points instead. Commonly used synonyms are MONEY and CURRENCY.
An Operating System that works. All the specifications are free and Linux, AIX, HP-UX, SunOS, Solaris, IRIX are examples of a Unix implementation.