.pQd
agentless monitoring of linux servers from ossec
we’ve been poking around ossec for a while. it’s nice and all but… i never liked the idea of opening additional ports on the production server or letting it ‘call home’ with alerts to the central monitoring machine. i prefer ‘polling’ model where central server communicates with monitoring nodes. ideally all should be done via ... Read More
poor man’s vm clonning under vsphere 5 without downtime
how to clone a virtual machine under vmware vsphere 5: using the vsphere client create a new vm with similar parameters [at least the same number and size of hard drives] using the vsphere client create a snapshot of the original vm log in via ssh as root [ to enable the ssh access check ... Read More
status anxiety
status anxiety – socialistic sentiments aside an interesting document: http://www.youtube.com/watch?v=_acgqf27CIU http://www.youtube.com/watch?v=rFab92rIHRY http://www.youtube.com/watch?v=ThXcAko2KJ8
Call “HostFirewallSystem.UpdateRuleset” for object “firewallSystem” on ESXi “…” failed.
while poking around brand new installation of free edition of vmware vsphere 5 i managed to screw up the firewall. in result any changes done in vshpere client in configuration>security profile>firewall properties were resulting with errors: i’ve found a solution here. to get rid of errors from gui i had to: ssh to the vsphare ... Read More
excel 2010 displays garbage when opening xls documents from the web
while migrating few dozens of users to new desktops with the new office 2010 i’ve encountered a problem: when users open xls [saved in the excel 97-2003 format] directly from the web browser and allow editing excel displays garbage. amount of garbage depends but sometimes it makes the spreadsheet completely unusable. things get even worse ... Read More
gtd
i like gtd, i’ve heard first time about the idea around 2006. since then i use some tiny-little-miniature form of it on daily basis; it boils down to writing things down, using reminders, tasks and todo lists. in other words – having OCD / being anal. i still manage to miss things, but in general ... Read More
higher TCP ICW – real world tests
this post inspired me to check how much performance can we gain by just upgrading to more recent kernel on the internet-facing proxy servers at work.
[pl] petelicki
dobre podsumowanie serji brutalnych samobojstw tutaj. a lemingi w najlepsze griluja cieszac sie co tym co im mainstream podrzuci. ciekawe komentarze na stronie michalkiewicza. + dla przeciwwagi – confirmation bias aka efekt potwierdzenia.
asia trip – 4/4 philippines
for the last 10 days of my Asian adventure i was traveled around Philippines.
asia trip 3/4 – thailand
from Singapore i flew to Bangkok Thailand and stayed there for 5 days.
asia trip 2/4 – singapore
after 10 days in Hong Kong my next stop was Singapore. i had 2.5days to use for some meetings and sightseeing.
asia trip 1/4 – hong kong
i’ve spent last month in Asia – Hong Kong, Singapore, Thailand and Philippines. totally new experience in many ways.
[pl] to nie jest kraj dla mlodych ludzi
Film Fundacji Republikańskiej – To nie jest kraj dla młodych ludzi http://www.youtube.com/watch?v=LHG3bm_MvRk jako bonus: http://www.youtube.com/watch?v=S5HOP82rsso – grzegorz braun, cork. http://www.youtube.com/watch?v=aFbPq8UxFb4 – ziemkiewicz
Benford’s law
by a coincidence [process well described in this xkcd’s comics] i’ve stumbled on the definition of Benford’s law. since i have access to quite a lot of different economic & financial data i’ve decided to check if that law applies also to it.
morocco
in search for some February sunshine i’ve spent 11 days in Morocco.
extracting single database from a [large] mysqldump or pg_dump
MySQL: extracting the whole database: sed -n '/^-- Current Database: `databaseName`/,/^-- Current Database: `/p' /path/to/the/fill/dump.sql > output.sql single table: sed -n '/^CREATE TABLE `tableName`/,/^\-\- Table structure for table /p' /path/to/the/fill/dump.sql > output.sql [via this blog] PostgreSQL: pv dump.sql | perl -ne 'print if /^COPY public.name_of_the_table/ .. /^\\\.$/' > out.sql [ via https://stackoverflow.com/a/62289905 ]
aspies
few articles about mild form of autism: Jeff Atwood – Software Developers and Asperger’s Syndrome Tracy Mayor/computerworld – Asperger’s and IT: Dark secret or open secret? sounds familiar?
cloning the server using rsync
braindump of things to do/directories not to copy when cloning physical debian to a vm using rsync