Saturday, November 9, 2019

Angular with Electron JS


Installation
Angular: npm install -g @angular/cli
Electron: npm i -D electron@latest
Electron Packager:  npm install electron-packager -g

What you need to change ?
Create new angular app : ng new appdemo
Create main.js
Update package.json
Update index.html



Command to test electron app: npm run electron-build

Command to create executable: 
      electron-packager . --platform=<platform-name>
e.g.  electron-packager . --platform=win32

Github git clone url:

git clone https://github.com/yogeshjog/Angular-Electron.git

Video Demo:











Wednesday, January 16, 2019

Installing Node server (Node JS) on Ubuntu

Just hit the following commands:

$sudo apt-get install curl
$curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
$sudo apt-get install -y nodejs
source :https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions-enterprise-linux-fedora-and-snap-packages
(: I don't get it why node js posted it so deep on the first place :)

Monday, December 31, 2018

Airtel customer care contact number direct


In order to contact airtel customer care


  1. Dial 121/198 and wait for response
  2. Select option 1 as Mobile Services
  3. Select option 9 to speak to airtel customer care executive


Saturday, November 24, 2018

Monday, November 5, 2018

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded

ERROR:

"The VirtualBox Linux kernel driver (vboxdrv) is either not loaded 
or there is a permission problem with /dev/vboxdrv. 
Please reinstall the kernel module by executing"



sudo modprobe vboxdrv

if  does not worked then

sudo apt update
sudo apt install --reinstall linux-headers-$(uname -r) virtualbox-dkms dkms

reboot and run

sudo modprobe vboxdrv































SRC: https://askubuntu.com/questions/920689/how-to-fix-modprobe-vboxdrv-error-in-virtualbox

Wednesday, December 6, 2017

Ubuntu Stuck on Blue Screen Error

ISSUE: Ubuntu Stuck on Blue Screen While Booting




Solution:
  1. Press ctrl + alt + F1
  2. run command "sudo apt-get upgrade"
  3. sudo dpkg --configure -a

Saturday, December 2, 2017

IO Error: The network adapter could not establish the connection

I'm not sure if the following steps will help you or not to solve the "IO Error: The network adapter could not establish the connection" issue just give a try it works in my case.

The error  was:


(In NetBeans and in Sqldeveloper)

Steps:



Step 1: Open CMD
Step 2: Type services.msc and hit enter




Step 3: Search for Oracle Services and make sure that the following three are running:
                                             OracleXETNSListener
                                             OracleXEClrAgent
                                             OracleServiceXE







Step 4: If not then just right click and hit start

That's all :).

Hope This will help you :p.