Saturday, September 16, 2017

Scala Tutorial 3 - How to Install and Setup SBT on Windows 10





SBT (Scala Build Tool, formerly Simple Build Tool) is an open source build tool for Scala and Java projects, similar to Java's Maven and Ant. In this video I am going to show you How to Install and Setup SBT on Windows 10. Also i am going to show you How to execute sbt on Windows to open the interactive shell?



-------------------------Follow-------------------

My Website - http://www.codebind.com

My Blog - https://goo.gl/Nd2pFn

My Facebook Page - https://goo.gl/eLp2cQ

Google+ - https://goo.gl/lvC5FX

Twitter - https://twitter.com/ProgrammingKnow

Pinterest - https://goo.gl/kCInUp

Text Case Converter - https://goo.gl/pVpcwL

Epoch Timestamp Converter - https://goo.gl/Zedjo5

Decimal - Binary - Hexadecimal Converter - https://goo.gl/rkX3JE

8-bit Checksum Calculator - https://goo.gl/inxvIT

Scala Tutorial 2 - Introduction to SBT (Scala Build Tool)



SBT (Scala Build Tool, formerly Simple Build Tool) is an open source build tool for Scala and Java projects, similar to Java's Maven and Ant. SBT is a modern build tool. While it is written in Scala and provides many Scala conveniences, it is a general purpose build tool. sbt is the de facto build tool in the Scala.
Why SBT :
- Native support for compiling Scala code.
- Uses Apache Ivy for dependency management
- Only-update-on-request model
- Full Scala language support for creating tasks
- Support for mixed Java/Scala projects
- Launch REPL (Read–Eval–Print Loop) in project context.

-------------------------Follow-------------------
My Website -
http://www.codebind.com
My Blog -
https://goo.gl/Nd2pFn
My Facebook Page -
https://goo.gl/eLp2cQ
Google+ -
https://goo.gl/lvC5FX
Twitter -
https://twitter.com/ProgrammingKnow
Pinterest -
https://goo.gl/kCInUp
Text Case Converter -
https://goo.gl/pVpcwL
Epoch Timestamp Converter -
https://goo.gl/Zedjo5
Decimal - Binary - Hexadecimal Converter -
https://goo.gl/rkX3JE
8-bit Checksum Calculator -
https://goo.gl/inxvIT

Saturday, September 9, 2017

Scala Tutorial 1 - Introduction to Scala





- “Scala is an acronym for Scalable Language ”
- Scala is a modern multi-paradigm programming language designed to express common programming patterns in a concise, elegant, and type-safe way.
- Scala is written by Martin Odersky at EPFL.
- Scala is Statically Typed
- Scala Runs on JVM, full inter-op with Java.
- Scala is Object Oriented
- Scala is Functional
- Scala has Dynamic Features
- Scala is Scala blends object-oriented and functional programming in a statically typed language.

Tuesday, September 5, 2017

Redis Tutorial for Beginners 11 - Redis Publish Subscribe





SUBSCRIBE, UNSUBSCRIBE and PUBLISH implement the Publish/Subscribe messaging paradigm where senders (publishers) are not programmed to send their messages to specific receivers (subscribers).
PSUBSCRIBE pattern [pattern ...]
Listen for messages published to channels matching the given patterns
PUBSUB subcommand [argument [argument ...]]
Inspect the state of the Pub/Sub subsystem
PUBLISH channel message
Post a message to a channel
PUNSUBSCRIBE [pattern [pattern ...]]
Stop listening for messages posted to channels matching the given patterns
SUBSCRIBE channel [channel ...]
Listen for messages published to the given channels
UNSUBSCRIBE [channel [channel ...]]
Stop listening for messages posted to the given channels

-------------------------Follow-------------------
My Website -
http://www.codebind.com
My Blog -
https://goo.gl/Nd2pFn
My Facebook Page -
https://goo.gl/eLp2cQ
Google+ -
https://goo.gl/lvC5FX
Twitter -
https://twitter.com/ProgrammingKnow
Pinterest -
https://goo.gl/kCInUp
Text Case Converter -
https://goo.gl/pVpcwL
Epoch Timestamp Converter -
https://goo.gl/Zedjo5
Decimal - Binary - Hexadecimal Converter -
https://goo.gl/rkX3JE
8-bit Checksum Calculator -
https://goo.gl/inxvIT

Saturday, September 2, 2017

What Is JSON ?



“JSON” stands for “JavaScript Object Notation”
Despite the name, JSON is a (mostly) language-independent way of specifying objects as name-value pairs. Json Commonly used in Web as a vehicle to describe data being sent between systems. JSON or JavaScript Object Notation is a lightweight text-based open standard designed for human-readable data interchange.


-------------------------Follow-------------------
My Website -
http://www.codebind.com
My Blog -
https://goo.gl/Nd2pFn
My Facebook Page -
https://goo.gl/eLp2cQ
Google+ -
https://goo.gl/lvC5FX
Twitter -
https://twitter.com/ProgrammingKnow
Pinterest -
https://goo.gl/kCInUp
Text Case Converter -
https://goo.gl/pVpcwL
Epoch Timestamp Converter -
https://goo.gl/Zedjo5
Decimal - Binary - Hexadecimal Converter -
https://goo.gl/rkX3JE
8-bit Checksum Calculator -
https://goo.gl/inxvIT

Thursday, August 31, 2017

How to Install Eclipse Oxygen on Ubuntu 16.04





In this video I am going to show you How to Install The Latest Eclipse in Ubuntu 16.04.

Download Website
https://www.eclipse.org

Java Install command
sudo apt-get install openjdk-8-jdk

What’s Eclipse?
- Eclipse is An IDE is an Integrated Development Environment
- It is a free software / open source platform-independent software framework for delivering what the project calls "rich-client applications". Eclipse is also a community of users, constantly extending the covered application areas.
- Eclipse was originally developed by IBM as the successor of its VisualAge family of tools.
- Eclipse is now managed by the Eclipse Foundation, an independent not-for-profit consortium of software industry vendors.

-------------------------Follow-------------------
My Website -
http://www.codebind.com
My Blog -
https://goo.gl/Nd2pFn
My Facebook Page -
https://goo.gl/eLp2cQ
Google+ -
https://goo.gl/lvC5FX
Twitter -
https://twitter.com/ProgrammingKnow
Pinterest -
https://goo.gl/kCInUp
Text Case Converter -
https://goo.gl/pVpcwL
Epoch Timestamp Converter -
https://goo.gl/Zedjo5
Decimal - Binary - Hexadecimal Converter -
https://goo.gl/rkX3JE
8-bit Checksum Calculator -
https://goo.gl/inxvIT

Tuesday, August 8, 2017

How To Install MySQL on Mac OS X











In this post we will learn how to How To Install MySQL on Mac OS X. The same procedure can be used for installing MySQL on Mac OS X.

How to add MySQL to $PATH variable:
cd to your home folder
$ open -t .bash_profile
Try adding the following line to your .bash_profile file.
export PATH=${PATH}:/usr/local/mysql/bin/

Setting the MySQL root user password on OS X
$ mysql -u root -p
mysql$ ALTER USER 'root'@'localhost' IDENTIFIED BY 'MyNewPass'; 

-------------------------Follow-------------------
My Website - http://www.codebind.com
My Blog - https://goo.gl/Nd2pFn
My Facebook Page - https://goo.gl/eLp2cQ
Google+ - https://goo.gl/lvC5FX
Twitter - https://twitter.com/ProgrammingKnow
Pinterest - https://goo.gl/kCInUp
Text Case Converter - https://goo.gl/pVpcwL
Epoch Timestamp Converter - https://goo.gl/Zedjo5
Decimal - Binary - Hexadecimal Converter - https://goo.gl/rkX3JE
8-bit Checksum Calculator - https://goo.gl/inxvIT

Sunday, July 30, 2017

How to Install Apache Tomcat on Mac OS X







Tomcat is a Servlet container (Web server that interacts with Servlets) developed under the Jakarta Project of Apache Software Foundation.

Tomcat implements the Servlet and the Java Server Pages (JSP) specifications of Sun Microsystems

Tomcat is an open-source, non commercial project

Licensed under the Apache Software License

Tomcat is written in Java (OS independent)



Download and unzip the tar.gz:

http://tomcat.apache.org/download-70.cgi



install:



sudo mkdir /usr/local

sudo mv ~/Downloads/apache-tomcat-7.0.*  /usr/local

sudo ln -s /usr/local/apache-tomcat-7.0.*  /Library/Tomcat

sudo chown -R your-OSX-username  /Library/Tomcat

sudo chmod +x /Library/Tomcat/apache-tomcat-7.0.*/bin/*.sh



start:

/Library/Tomcat/bin/startup.sh



stop:

/Library/Tomcat/bin/shutdown.sh





------------------------Follow-------------------

My Website - http://www.codebind.com

My Blog - https://goo.gl/Nd2pFn

My Facebook Page - https://goo.gl/eLp2cQ

Google+ - https://goo.gl/lvC5FX

Twitter - https://twitter.com/ProgrammingKnow

Pinterest - https://goo.gl/kCInUp

Text Case Converter - https://goo.gl/pVpcwL

Epoch Timestamp Converter - https://goo.gl/Zedjo5

Decimal - Binary - Hexadecimal Converter - https://goo.gl/rkX3JE

8-bit Checksum Calculator - https://goo.gl/inxvIT

Wednesday, July 26, 2017

Shell Scripting Tutorial





For more detailed Tutorial visit - https://goo.gl/bbvi0C



A shell script is a computer program designed to be run by the Unix shell, a command-line interpreter. The various dialects of shell scripts are considered to be scripting languages. A shell usually interprets a single line of input, but we can also create a file containing a number of lines of commands to be interpreted. This file is a program known as a shell script. The program can also contain control structures (if-then, loops). Shell scripts allow a sequence of commands to be executed automatically . Shell Scripting tutorial is designed to help beginners and professionals.



00:00:00 1 - Introduction

00:10:00 2 - using Variables and Comments

00:20:11 3 - Read User Input

00:31:37 4 - Pass Arguments to a Bash-Script

00:40:08 5 - If Statement ( If then , If then else, If elif else)

00:53:20 6 - File test operators

01:03:45 7 - How to append output to the end of text file

01:14:26 8 - Logical 'AND' Operator

01:21:01 9 - Logical 'OR' Operator

01:26:35 10 - Perform arithmetic operations

01:33:51 11 - Floating point math operations in bash | bc Command

01:46:06 12 - The case statement

01:53:53 13 - The case statement Example

02:02:26 14 - Array variables

02:12:51 15 - WHILE Loops

02:19:07 16 - using sleep and open terminal with WHILE Loops

02:23:59 17 - Read a file content in Bash

02:31:15 18 - UNTIL loop

02:35:38 19 - FOR loop

02:44:08 20 - use FOR loop to execute commands

02:50:44 21 - Select loop

02:57:41 22 - Break and continue

03:04:11 23 - Functions

03:13:48 24 - Local variables

03:22:09 25 - Function Example

03:34:16 26 - Readonly command

03:41:34 27 - Signals and Traps

04:03:08 28 - How to debug a bash script



-------------------------Follow-------------------

My Website - http://www.codebind.com

My Blog - https://goo.gl/Nd2pFn

My Facebook Page - https://goo.gl/eLp2cQ

Google+ - https://goo.gl/lvC5FX

Twitter - https://twitter.com/ProgrammingKnow

Pinterest - https://goo.gl/kCInUp

Text Case Converter - https://goo.gl/pVpcwL

Epoch Timestamp Converter - https://goo.gl/Zedjo5

Decimal - Binary - Hexadecimal Converter - https://goo.gl/rkX3JE

8-bit Checksum Calculator - https://goo.gl/inxvIT

Saturday, July 22, 2017

Redis Tutorial for Beginners 6 - more commands (SETEX, SETNX, INCR, DECR...





SETEX key seconds value

Sets the value with the expiry of a key



SETNX key value

Sets the value of a key, only if the key does not exist



SETRANGE key offset value

Overwrites the part of a string at the key starting at the specified offset



STRLEN key

Gets the length of the value stored in a key



MSET key value [key value ...]

Sets multiple keys to multiple values



MSETNX key value [key value ...]

Sets multiple keys to multiple values, only if none of the keys exist



PSETEX key milliseconds value

Sets the value and expiration in milliseconds of a key



INCR key

Increments the integer value of a key by one



INCRBY key increment

Increments the integer value of a key by the given amount



INCRBYFLOAT key increment

Increments the float value of a key by the given amount



DECR key

Decrements the integer value of a key by one



DECRBY key decrement

Decrements the integer value of a key by the given number



APPEND key value

Appends a value to a key



-------------------------Follow-------------------

My Website - http://www.codebind.com

My Blog - https://goo.gl/Nd2pFn

My Facebook Page - https://goo.gl/eLp2cQ

Google+ - https://goo.gl/lvC5FX

Twitter - https://twitter.com/ProgrammingKnow

Pinterest - https://goo.gl/kCInUp

Text Case Converter - https://goo.gl/pVpcwL

Epoch Timestamp Converter - https://goo.gl/Zedjo5

Decimal - Binary - Hexadecimal Converter - https://goo.gl/rkX3JE

8-bit Checksum Calculator - https://goo.gl/inxvIT