Author Archives: smike19

SSH port forwarding in .Net, C# example

The example is based on Renci.sshNet Library. Actually it is a genuinely undocumented library, well the site has some documentation yet it’s not too supportive for this kind of task, so I spent several hours to develop this projects from scratch. When the project is created you need to install Renci.SshNet library using Visual Studio… Read More »

How to edit Mac dmg file on Linux Platform.

For example I have Apache Web server where Mac dmg file is located. I want to modify for every download adding specific readme file, depending on the region where download request is coming from. A special shell script can do this job, but before I need to verify all script steps manually. This article explains… Read More »

Bridged Adaptor vs NAT.

There are 2 main network choices when you installing virtual machine: Bridged adapter and NAT (Network address translation). The bridged adapter option connect new virtual device directly to the network adapter installed on the physical host device. The IP address assigned to the virtual machine belongs to the same subnet as the physical device IP… Read More »

Compiling a Linux Kernel

Rebuilding the Linux kernel is very interesting and sometime often scares off newbies. But there is nothing difficult in this, and compiling the Linux kernel is no more complicated than compiling any other source code. You may need to rebuild the kernel when you need to add some functions not included in the current kernel,… Read More »

Get kernel information through command line and programatically

The primary command to get kernel information is uname. The uname command reports basic information about operating system and hardware kernel. For example “name -p” prints the processor type or “unknown”, if it cannot file one. The “-r” option returns the kernel release version. To get full configuration for currently used kernel run the followung… Read More »

sysctl command and function

sysctl is a operating system command of some Unix-like OS that permits to reads and/or modify the parameters of the OS kernel for example limit and setting values of some system attributes. It is available both as a system API for compiled programs, and an administrator command for terminal interface and scripting. Below presented 2… Read More »

Empty desktop and explorer crash

Suddenly my desktop became empty. Start menu plus the toolbar with pinned icons, stating time date and etc had gone! However pressing on ALT-TAB keys it is possible to see that applications were still running and switching between them also works. On my desktop computer Windows explorer started to crash every two or three days.… Read More »

DMG background and title volume modification

File with dmg extension usually is Apple Disk Image file and mainly used for installation of other packages image commonly by Mac OSX operating system. Acronym of DMG according to acronymfinder.com is Disk iMaGe. Recently at my workplace it was required to make changes in DMG file: background image and volume name. I found one… Read More »

Installing tinyproxy on Ubuntu

Previously I played with squid proxy server, today I wanted to try with some alternatives and selected tinyproxy. This proxy also supports HTTP/HTTPS, it is light weight proxy. HTTP/HTTPS. The key features of tinyproxy include: Anonymous mode, Access control, Small footprint, Proxy chaining, remote monitoring and others. The tinyproxy is configurable by editing /etc/tinyproxy/tinyproxy.conf file… Read More »

Building .Net core applications for different platforms

.Net core is actually very cool brainchild of Microsoft. It tries give you possibility to publish the same code to the multiple OS platforms. The result sometime looks cumbersome but probably it does not matter so far, if you want to migrate Windows code to Linux, Mac OSX and Android fast. Definitely it is not… Read More »