Category: Linux

All about linux

Remote Procedure Calls RPC using RabbitMQ in C# .NET

Author: | Categories: General, Linux, Programming No Comments
RabbitMQ.NET RabbitMQ.NET is a .NET Core library to easily integrate RabbitMQ in .NET applications Nuget https://www.nuget.org/packages/RabbitMQ.NET/ Github https://github.com/rizansari/RabbitMqCore Installation Install-Package RabbitMQ.NET Using the library RabbitMQ.NET is a simple library to Publish and Subscribe easily in .NET Core applications. It now supports Remote Procedure Calls RPC in very intuitive manner Setup DI var serviceProvider = new […]

Real time location tracking like Uber using Redis

Author: | Categories: Linux, Programming One Comment
Let’s say we need to create an App like Uber which saves drivers location on a regular interval. If someone request a driver, App will display nearest to farthest drivers available to serve the user. Redis inherently support geospatial data structures which will help us in making such App. In this Post I’ll show Redis […]

RabbitMQ.NET library to easily integrate RabbitMQ in .NET Core applications

Author: | Categories: IoT, Linux, Programming, Windows No Comments
RabbitMQ.NET RabbitMQ.NET is a .NET Core library to easily integrate RabbitMQ in .NET Core applications Nuget https://www.nuget.org/packages/RabbitMQ.NET/ Github https://github.com/rizansari/RabbitMqCore Installation Install-Package RabbitMQ.NET Using the library RabbitMQ.NET is a simple library to Publish and Subscribe easily in .NET Core applications. Setup DI var serviceProvider = new ServiceCollection() .AddLogging(loggingBuilder => { loggingBuilder.SetMinimumLevel(Microsoft.Extensions.Logging.LogLevel.Trace); }) .AddRabbitMQCore(options => { options.HostName […]

Log4NetCore library to easily integrate log4net in .NET Core applications

Author: | Categories: Linux, Programming, Windows No Comments
Log4NetCore Log4NetCore is a .NET Core library to easily integrate log4net in .NET Core applications Nuget https://www.nuget.org/packages/Log4NetCoreEx/ Github https://github.com/rizansari/Log4NetCore Installation Install-Package Log4NetCoreEx Using the library Logging Builder How to use using Logging Builder var serviceProvider = new ServiceCollection() .AddLogging(loggingBuilder => { loggingBuilder.SetMinimumLevel(Microsoft.Extensions.Logging.LogLevel.Trace); loggingBuilder.AddLog4Net(); loggingBuilder.AddConsole(); }) .BuildServiceProvider(); Services Collection How to use using Services Collection var […]

RedUI – Redis Desktop

Author: | Categories: Database, Linux, Mac, Programming, Windows No Comments
RedUI is a Cross platform Redis Desktop Manager built with Electron, Angular, Clarity UI and ioredis. Main Features Cross platform Supports List view and Tree view `Monitor` mode Display Redis `Info` JSON formatting for `string` Github https://github.com/rizansari/red-ui Screenshots

GIT Server on Raspberry Pi with Http Backend and GitWeb

Author: | Categories: Linux, Programming, Raspberry Pi No Comments
For Source code you want to share to the world, there is GitHub, but for closed source projects there are many paid and free options. This article is all about setting up your own private Git server on your home network using Raspberry Pi. Following modules will be used: Git Core Http Backend: to access […]

Digital Ocean Dynamic DNS

Author: | Categories: Linux, Networking, Raspberry Pi No Comments
Here is bash script to dynamically update DigitalOcean domain name ‘A’ record to create dyndns type service on your Linux system. Pre-Requisites 1. Domain (example.com) registered at DO 2. Subdomain (home.example.com) which you want to point to a machine whose public IP is not constant 3. DO API key. Can be obtained from https://cloud.digitalocean.com/settings/api/tokens 4. […]

Enable SSH on Raspberry Pi without Monitor

Author: | Categories: Linux, Raspberry Pi No Comments
Raspbian by default has disabled SSH server. To enable it without Keyboard and Monitor, follow any of the below mentioned methods. Preliminary requirements: 1. You should have Raspbian image written on SD Card 2. You should have a machine with SD Card reader and OS which supports reading ext filesystem Method 1 1. Mount SD […]

Raspberry Pi Ethernet to WiFi

Author: | Categories: Linux, Networking, Raspberry Pi 2 Comments
This tutorial is about using your Raspberry Pi (or any Linux box) as WiFi router. Setup I am using Raspberry Pi 2 with Raspbian Strech. Edimax WiFi adapter. Internet enabled Ethernet connection. Check Ethernet Before continuing make sure the Ethernet cable is connected in and you can ping out from the Pi try ping ping […]

Dual Boot Ubuntu on Mac

Author: | Categories: Linux, Mac No Comments
This is step by step guide to install Ubuntu on Mac in dual boot configuration without using rEFInd or any 3rd party tools. I assume you have created a bootable Ubuntu USB flash drive installer and have verified the contents. I also assume you have verified hardware compatibility by successfully booting the live version of […]