ProgrammingKnowledge

Videos: 279 Likes: 18,675 Views: 1,736,869

Videos by: ProgrammingKnowledge

Node.js Tutorial for Beginners 15 – Using node.js for serving JSON Data

Node.js Tutorial for Beginners 15 – Using node.js for serving JSON Data

1 year ago
In this video I am going to show you How can I return JSON from node.js backend to frontend. if you want to send the response prettified, for some awkward reason, you could use something like JSON.stringify(anObject, null, 3) It’s important that you set the Content-Type header to application/json, too.
Node.js Tutorial for Beginners 14 – Using node.js for serving HTML page

Node.js Tutorial for Beginners 14 – Using node.js for serving HTML page

1 year ago
In this video we will see how we can serve a html page to the web browser. sets say I want to run a very simple HTTP server. Every GET request to example.com should get index.html served to it but as a regular HTML page (i.e., same experience as when you read normal web pages).
Node.js Tutorial for Beginners 13 – pipes

Node.js Tutorial for Beginners 13 – pipes

1 year ago
The ‘pipe’ event is emitted when the stream.pipe() method is called on a readable stream, adding this writable to its set of destinations. All Readable streams begin in paused mode but can be switched to flowing mode in one of the following ways: Adding a ‘data’ event handler. Calling the stream.resume() method. Calling the stream.pipe() […]
Node.js Tutorial for Beginners 12 – Basics of Streams – Writable Streams

Node.js Tutorial for Beginners 12 – Basics of Streams – Writable Streams

1 year ago
The path to the file the stream is writing to as specified in the first argument to fs.createWriteStream(). If path is passed as a string, then writeStream.path will be a string. If path is passed as a Buffer, then writeStream.path will be a Buffer.
Node.js Tutorial for Beginners 11 – Basics of Streams – Readable Stream

Node.js Tutorial for Beginners 11 – Basics of Streams – Readable Stream

1 year ago
Readable streams are an abstraction for a source from which data is consumed.When in flowing mode, data is read from the underlying system automatically and provided to an application as quickly as possible using events via the EventEmitter interface.
How to Install CentOS 7 on VirtualBox in Windows 8 / Windows 10

How to Install CentOS 7 on VirtualBox in Windows 8 / Windows 10

1 year ago
I this video I am going to show step-by-step how to install the CentOS 7 Linux distribution on VirtualBox for pure and open source virtualization of your testing and development environments. Create a New Virtual Machine (VM) with the Virtual Machine Wizard, choosing Linux for the OS Type and Red Hat or Red Hat (64 […]
How To install MinGW on Windows 10 (GCC & G++)

How To install MinGW on Windows 10 (GCC & G++)

1 year ago
This is a short guide on how to install MinGW and MSYS using the latest stable. Download the MinGW installer from www.mingw.org/wiki/HOWTO_Install_the_MinGW_GCC_Compiler_Suite. (As of this writing, the download link is a bit difficult to find; it’s under “About” in the menu on the left-hand side). You want the file entitled “Automated MinGW Installer” (currently version […]
How to Install Ubuntu 16.04 LTS on VMware in Windows 8 / Windows 10

How to Install Ubuntu 16.04 LTS on VMware in Windows 8 / Windows 10

1 year ago
In this video I will show you how to install Ubuntu 16.04 LTS Desktop and VMware tools in VMware . You can use VMware Player which is free to personal use. This tutorial also helps if you install Ubuntu 16.04 LTS
Node.js Tutorial for Beginners 10 – Node.js Events and EventEmitter

Node.js Tutorial for Beginners 10 – Node.js Events and EventEmitter

1 year ago
Much of the Node.js core API is built around an idiomatic asynchronous event-driven architecture in which certain kinds of objects (called “emitters”) periodically emit named events that cause Function objects (“listeners”) to be called. When the EventEmitter object emits an event, all of the functions attached to that specific event are called synchronously. Any values […]
Node.js Tutorial for Beginners 9 – Creating and Removing Directories using fs module

Node.js Tutorial for Beginners 9 – Creating and Removing Directories using fs module

1 year ago
In thi video i am goin to show how to Create and Remove Directories using fs module. Most of the people using fs with Node.js would like functions close to the “Unix way” of dealing with files. fs.rmdir(path, callback) fs.rmdirSync(path) fs.mkdir(path[, mode], callback) fs.mkdirSync(path[, mode]) fs.unlink(path, callback)
How to Install Fedora 25 on VirtualBox in Windows 8 / Windows 10

How to Install Fedora 25 on VirtualBox in Windows 8 / Windows 10

1 year ago
I this video I am going to show , How to Install Fedora 25 LTS on VirtualBox in Windows 8 / Windows 10. Ubuntu is a most popular Linux-based operating system. Recently Fedora releases its newest version 25. VirtualBox is also a popular software for creating virtual machine available for Windows and Linux environment. Fedora […]
Node.js Tutorial for Beginners 8 – Reading and Writing Files using fs module

Node.js Tutorial for Beginners 8 – Reading and Writing Files using fs module

1 year ago
File I/O is provided by simple wrappers around standard POSIX functions. To use this module do require(‘fs’). All the methods have asynchronous and synchronous forms. The asynchronous form always takes a completion callback as its last argument. The arguments passed to the completion callback depend on the method, but the first argument is always reserved […]