About dladdr function.

dladdr function from Unix-like OS looks similar as GetProcAddress Win32 API function. However dladdr obtains more information related to requested function than function entry point address as GetProcAddress does. Besides GetProcAddress requires the handle of the DLL module that contains the requested function, dladdr needs only the function name. Definitely in both cases DLL or… Read More »

Rip Audio CD Programmatically

More than 10 years ago I started XEdit project which is binary editor for files and disks contents. XEdit is available there. I am still using it sometime, however I do not support the project since 2011 mainly because this MFC application was written on Visual C++ 6 and I have no time to do… Read More »

Hotlinking protection for Dummies and against Dummies

Hotlinking means using URLs from hosted website on another website, usually it is links to images or downloadable files but not only. There are a lot of methods how protect URL from hotlinking it. Websites hosted on Apache server may prevent hotlinking using appropriate configuration defined in .htaccess files. There are WordPress plugins to block… Read More »

Apache on CentOS and HTTP -> HTTPS redirection

Apache HTTP server is a free, open source and popular web Server. It is cross platform server that may run on Linux, Windows and other operating systems. This post is about Apache installation and configuration on CentOS 8. I wrote it for myself as a reminder for future own references. Apache is available in CentOS… Read More »

Phishing Ascending to Heaven

Scammers began adopting cloud services such as Azure, AWS, Alibaba, and Google Docs and others for their activities. They use them to place their malicious crafts and mislead gullible dummies to get access to bank accounts or information about credit cards. Recently I received text message on my cell phone. The message suggested me to… Read More »

Installing swift on CentOS 8

Previously I worked with swift occasionally and using xCode only. There is my previous post with XML parser written in swift language. Here is my experience in swift installation on Linux platform with initial command line programming example. The first step – swift installation: It takes several minutes. Check swift version: # swift –version Swift… Read More »

ssh login troubleshooting

Suddenly ssh remote control to some of Mac devices stopped working, because remote host identification of that Mac device had been changed on remote side. Generally it means that the remote host key does not match the host key currently saved in /var/root/.ssh/known_hosts file. In other words the ssh handshake failed because host key verification… Read More »

Get screenshot programmatically

Several years ago I implemented a small project: “Optical character recognition (OCR) of Windows application screenshots”. It the first part of the project – the console application which makes screenshot of some process main window or capture entire screen image. The process is selected by its process ID which should specified as argument. When argument… Read More »

Uninstall TeamViewer Host from Mac mainly from terminal

I installed TeamViewer Host on Mac, used it and when tried to drug and drop TeamViewer Host to Trash the dialog “The item “TeamViewer Host” can’t be moved to the Trash because it’s open” was popped up. I did not find any option to quit TeamViewer Host from GUI, just I could minimize the TeamViewer… Read More »

Email Validation For Web Forms

Web response form with email validation looks more professional and help to protect from posting garbage entered in email email text field. Email validation is a hard problem and cannot guarantee 100% address authenticity. There is TCP Finger protocol, which can retrieve user information via email address and confirm that the email address is valid… Read More »