Profile cover photo
Profile photo
Jan Narkiewicz
21 followers -
Software Engineer
Software Engineer

21 followers
About
Posts

Post has attachment
C#: Sending mail SmtpClient using of app.config/web.config
Scanning the web I found a large number of examples demonstrating the use of SmtpClient where the email host, port, username, password, etc. was stored in app.config or web.config. In most cases the developer put a few settings in the configuration file and...

Post has attachment
Git: Setting Name/Email from the Command-Line
After logging into to git using your credentials, git knows  you are logged in but does not always know who you are with respect to your name and email. Adding this to  your global git settings is a matter of invoking git config --global as follows: git con...

Post has attachment
Windows 10: Logging out of the current Git account
I find myself working from multiple Git accounts while logged into the same Windows login. Normally I use Git exclusively from the command-line but when logging out of Git to insure I can login and receive a new login-prompt, I use Control Panel, specifical...

Post has attachment
C#: Running Google OAuth 2.0 for Desktop Apps on Windows 7
This article demonstrates the code required to make Google OAuth 2.0  for Windows desktop applications work with Windows 7. Google OAuth 2.0 means that an application can relying on Google's user credentials in order to support authentication. The users of ...

Post has attachment
Configuring Windows to use a PAC File or Proxy Server
This post demonstrates configuring Windows to make use of a PAC file and/or Proxy server. These settings apply to a given user rather then applying to an application that programmatically species a PAC file or proxy server. All .NET applications that adhere...

Post has attachment
Setting up Apache2 (a web server on which to host PAC files) on Ubuntu
In this posting the steps to setup Apache2 on Ubuntu are reviewed. The reason for needing a web server (Apache2) is to host a PAC file. A PAC file (proxy auto-config) is used to map a URL to a proxy (host/port). The contents are of the PAC file are javascri...

Post has attachment
OS/X Dock visible in full-screen VMWare Fusion
A great many developers using Macs run VMWare Fusion in full screen mode. At times (for no apparent reason) OS/X's dock remains visible even though VMWare Fusion is full screen mode. The solution to this problem to open a terminal window in OS/X and execute...

Post has attachment
Windows: Testing if a remote port is open using Telnet
In a previous post,  Opening an inbound port for an Ubuntu Virtual Machine on Azure , an inbound port was open on an Ubuntu virtual machine (port 21777) and on this host a service (tinyproxy) was installed that listens on this port via TCP/IP. Obviously, th...

Post has attachment
Testing if a remote port is open using BASH /dev/tcp/host/port
In a previous post, Opening an inbound port for an Ubuntu Virtual Machine on Azure , an inbound port was open on an Ubuntu virtual machine (port 21777) and on this host a service (tinyproxy) was installed that listens on this port via TCP/IP. Obviously, the...

Post has attachment
Making Telnet Client available on Windows
Telnet is a handy utility that allows a TCP/IP connection to be made to a host/port. Unlike ping or tracert which simply detect if a hosts exists, telnet allows a connection to be opened to a specific port. This is handy in verifying that there is no firewa...
Wait while more posts are being loaded