Profile cover photo
Profile photo
sangram desai
sangram's posts

Post has attachment
Centos 7 Booting automatically into Graphical mode
Centos 7  installation end up into terminal mode start up ,if no INTERNET connectivity within VM instance. running "dhclient" command resolved this problem for session & i was able to ping google. Now we have to install Gnome as follows         yum groups i...

Post has attachment
REDIS on Debian 9 Installation Notes
To install redis on Debian 9 we need to download source code then we need to compile it by unzipping then running make,make install & finally from util dir run "". Please refer below link for  detail instructions. https://www.digitalocean.c...

Post has attachment

Post has attachment
postgresql Cluster
List All Cluster:     root@debian:~# pg_lsclusters     Ver Cluster Port Status Owner    Data directory               Log file     9.6 main    5432 online postgres /var/lib/postgresql/9.6/main     /var/log/postgresql/postgresql-9.6-main.log Find Status of gi...

Post has attachment
Listing all files recursively using bluebird promise
var Promise = require("bluebird"); var fs = Promise.promisifyAll(require('fs')); var Path = require('path'); var dir = '/home/test_user/pictures/sample'; var ext = ['.txt', '.jpg']; let files = []; function walk(dir, ext) {     return fs.readdirAsync(dir).m...

Post has attachment
Listing files & directories in given folder using node.js synchroniously
Here is my code for getting list of directories & sub-directories & files within each of it for given path. var fs = require("fs"); var path = require('path'); var op = new Object(); var basePath = '/home/test_user/pictures/samples/'; function myCb(opt){   ...

Post has attachment
Postgres Cross-Server/Cross-Database Querying
To demonstrate cross database quering we will create two
databases "PlaygroundLive" & "PlaygroundStaging".Both these database can be on same server or different postgresql server.In current case they are on same server. On both databases
create below table ...

Post has attachment
Installing SQL SERVER on Fedora 23
Here are my notes on
installation of MSSQL SERVER on Fedora. First become root     # su - Microsoft sql server
on fedora requires two new YUM repository one for actual sql server
and other for command line tool to query it. Add Microsoft
Software repositor...

Post has attachment
Running Ubuntu headless in Fedora 23 on Docker
we will add docker repository for Fedora 23 for that inside
directory /etc/yum.repos.d/  add "docker.repo" file in which add
following content.I use nano a simple command line text editor for it
through root privileges.most of tutorial assumes root pr...

Post has attachment
Linq - Group by into an array
LINQ has lot of capability that we seldom use.For example sometime we need to group a column into a string array or collection of some sort like say list based on another column. Here I will demonstrate same into an array. For purpose of demonstration I wil...
Wait while more posts are being loaded