tag:blogger.com,1999:blog-20307372677378322762024-03-12T23:24:11.995-07:00CodingsterTutorials For All Programming LanguagesCodingsterhttp://www.blogger.com/profile/05089479495510517742noreply@blogger.comBlogger19125tag:blogger.com,1999:blog-2030737267737832276.post-20297672288142744632019-02-08T16:54:00.000-08:002019-02-08T16:54:01.647-08:00Go Program To Find Area Of Square (Golang)<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8IluHMwcT5afJDAR8sia05g6pH3aHEl0PivUOBvwx7g6wZmk8byUTIn-ppXZm9f7CvCrtDWDO-2nZwmsWcIDIR82ukwFC5PoGU916bMflyF5WgNnurYZofl0MIPWsCi0dmURauTUh0eka/s1600/areaofsquare.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Go Program To Find Area Of Square (Golang)" border="0" data-original-height="901" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8IluHMwcT5afJDAR8sia05g6pH3aHEl0PivUOBvwx7g6wZmk8byUTIn-ppXZm9f7CvCrtDWDO-2nZwmsWcIDIR82ukwFC5PoGU916bMflyF5WgNnurYZofl0MIPWsCi0dmURauTUh0eka/s640/areaofsquare.png" title="Go Program To Find Area Of Square (Golang)" width="640" /></a></div>
<br />
<b><a href="https://www.codingster.com/2019/02/go-area-of-square.html">Go Program To Find Area Of Square (Golang)</a></b> - This Go program to calculate an area of a square, The program takes the length of the square as input, calculates the area of the square and outputs it on the screen.<br />
<br />
<h3>
Source Code :</h3>
<br />
<pre class="line-numbers" data-codetype="Golang" title="areaofsquare.go"><code class="line-numbers language-markup">package main
import "fmt"
func main() {
var length, area int
fmt.Print("Enter length of square: ")
fmt.Scanln(&length)
area = length * length
fmt.Println("Area of square is: ", area)
}
</code></pre>
<br />
<h3>
Compile & Run :</h3>
<div>
Here's how to compile source code manually:</div>
<pre data-codetype="Golang" title="Compile & Run"><code class="language-markup">
$ go build areaofsquare.go
$ ./areaofsquare
</code></pre>
Run without compile:<br />
<pre data-codetype="Golang" title="Run without compile"><code class="language-markup">
$ go run areaofsquare.go
</code></pre>
<br />
<h3>
Output Of Program :</h3>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfgYThUCGIZj2iwzq1Yb5O5Z-s178CefE92mKEiipeV1QImLU01dWAeDuYqT4rTD2eljoz9Ihb1zjWPVAitAn0Fo2H0PjN2O-o_eVuztO7SiUzm8dpVsYBPNsfBgqKBkl8TOESFhs7aNHF/s1600/areaofsquare1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="The result of Golang program to find area of square" border="0" data-original-height="80" data-original-width="543" height="94" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfgYThUCGIZj2iwzq1Yb5O5Z-s178CefE92mKEiipeV1QImLU01dWAeDuYqT4rTD2eljoz9Ihb1zjWPVAitAn0Fo2H0PjN2O-o_eVuztO7SiUzm8dpVsYBPNsfBgqKBkl8TOESFhs7aNHF/s640/areaofsquare1.png" title="The result of Golang program to find area of square" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">The result of Golang program to find area of square</td></tr>
</tbody></table>
<div>
<br /></div>
Codingsterhttp://www.blogger.com/profile/05089479495510517742noreply@blogger.comtag:blogger.com,1999:blog-2030737267737832276.post-75343661795788303422019-02-02T17:50:00.000-08:002019-02-02T17:50:10.170-08:00Go Program To Find Area Of Circle (Golang)<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmilrkoFh4lCgqVSAyFEWo0jY_unNSddK6xhGDTRPxh6q76nB99uT40iB49ozyfrY5Yig0MhQrwGoKVCSKVPV34A008YVdmARne2k-YVEYAFue6X8SrtqoX0ooLnXALbcxNLkmMSmhsU2S/s1600/areaofcircle.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Go Program To Find Area Of Circle" border="0" data-original-height="901" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmilrkoFh4lCgqVSAyFEWo0jY_unNSddK6xhGDTRPxh6q76nB99uT40iB49ozyfrY5Yig0MhQrwGoKVCSKVPV34A008YVdmARne2k-YVEYAFue6X8SrtqoX0ooLnXALbcxNLkmMSmhsU2S/s640/areaofcircle.png" title="Go Program To Find Area Of Circle" width="640" /></a></div>
<br />
<b><a href="https://www.codingster.com/2019/02/go-area-of-circle.html">Go Program To Find Area Of Circle</a></b> - This Go program to calculate an area of a circle, The program takes the radius of the circle as input, calculates the area of the circle and outputs it on the screen.<br />
<br />
<h3>
Source Code :</h3>
<br />
<pre class="line-numbers" data-codetype="Golang" title="areaofcircle.go"><code class="line-numbers language-markup">package main
import "fmt"
func main() {
var radius, area float64
const phi float64 = 3.14
fmt.Print("Enter radius of circle: ")
fmt.Scanln(&radius)
area = phi * radius * radius
fmt.Println("Area of circle is: ", area)
}
</code></pre>
<br />
<h3>
Compile & Run :</h3>
<div>
Here's how to compile source code manually:</div>
<pre data-codetype="Golang" title="Compile & Run"><code class="language-markup">
$ go build areaofcircle.go
$ ./areaofcircle
</code></pre>
Run without compile:<br />
<pre data-codetype="Golang" title="Run without compile"><code class="language-markup">
$ go run areaofcircle.go
</code></pre>
<br />
<h3>
Output Of Program :</h3>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZ4ys6R8Zm0k011KscQL7J_6Vy4E1HWwUPMHTg579VdX2A3baHrDkz7Hha5wltKGNnSUzNCty76oMtQQMqjOSrvg8Rd2fkatlAuH19ob4H326v6Kn1UJZtnbTd3_AZ-eeTx32UDKNutJhm/s1600/areaofcircle1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="The result of Golang program to find area of circle" border="0" data-original-height="71" data-original-width="540" height="84" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZ4ys6R8Zm0k011KscQL7J_6Vy4E1HWwUPMHTg579VdX2A3baHrDkz7Hha5wltKGNnSUzNCty76oMtQQMqjOSrvg8Rd2fkatlAuH19ob4H326v6Kn1UJZtnbTd3_AZ-eeTx32UDKNutJhm/s640/areaofcircle1.png" title="The result of Golang program to find area of circle" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">The result of Golang program to find area of circle</td></tr>
</tbody></table>
<br />Codingsterhttp://www.blogger.com/profile/05089479495510517742noreply@blogger.comtag:blogger.com,1999:blog-2030737267737832276.post-89117810171482731552019-02-01T19:29:00.002-08:002019-02-01T19:29:24.034-08:00Bubble Sort Algorithm in Go (Golang)<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh654I6RU4VMDK54F8OB-DDWn7OfBgSJFrX2oT2dAL9E6cnS3duS4lfkMR0nOxgSswd1ujFo3ysIzbc0N8M-IA2-BWTCjdS09_-lzu2ChyEOtx3FjN_jv7nLZ7YTlJubcanggr62MvXNxGT/s1600/bubblesort.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Bubble Sort Algorithm in Go (Golang)" border="0" data-original-height="901" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh654I6RU4VMDK54F8OB-DDWn7OfBgSJFrX2oT2dAL9E6cnS3duS4lfkMR0nOxgSswd1ujFo3ysIzbc0N8M-IA2-BWTCjdS09_-lzu2ChyEOtx3FjN_jv7nLZ7YTlJubcanggr62MvXNxGT/s640/bubblesort.png" title="Bubble Sort Algorithm in Go (Golang)" width="640" /></a></div>
<br />
Bubble Sort Algorithm in Go (Golang) - This code implements the bubble sort algorithm to sort numbers in ascending order. Bubble Sort is less efficient as its average and worst case complexity is high, there are many other fast sorting algorithms like quick-sort, heap-sort, etc.<br />
<br />
<h3>
Source Code :</h3>
<br />
<pre class="line-numbers" data-codetype="Golang" title="bubblesort.go"><code class="line-numbers language-markup">package main
import "fmt"
func bubbleSort(arr []int) {
for {
sorted := true
for i := 0; i < len(arr)-1; i++ {
if arr[i] > arr[i+1] {
tmp := arr[i]
arr[i] = arr[i+1]
arr[i+1] = tmp
sorted = false
}
}
if sorted == true {
break
}
}
}
func main() {
arr := []int{11, 51, 21, 31, 16, 26, 13, 41, 46, 1}
fmt.Print("elements: ", arr, "\n", "In ascending order: [ ")
bubbleSort(arr)
for i := 0; i < len(arr); i++ {
fmt.Print(arr[i], ", ")
}
fmt.Print("]\n")
}
</code></pre>
<br />
<h3>
Compile & Run :</h3>
<div>
Here's how to compile source code manually:</div>
<pre data-codetype="Golang" title="Compile & Run"><code class="language-markup">
$ go build bubblesort.go
$ ./bubblesort
</code></pre>
Run without compile:<br />
<pre data-codetype="Golang" title="Run without compile"><code class="language-markup">
$ go run bubblesort.go
</code></pre>
<br />
<h3>
Output Of Program :</h3>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYArBZObWO7e0zkKZaGfCJ1-aKfhRGxMs3b6QuJTz-ZkRdLDBAQADUCat7pNVaW4PwTdCa4o8SwZgnidaiZ22HLWDiqh_zXb65wcqlVbmu6eshKbkOI1HQddJVrB91hf7NQSa_MClgXmer/s1600/bubblesort1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Result program bubble sort in golang" border="0" data-original-height="83" data-original-width="526" height="100" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYArBZObWO7e0zkKZaGfCJ1-aKfhRGxMs3b6QuJTz-ZkRdLDBAQADUCat7pNVaW4PwTdCa4o8SwZgnidaiZ22HLWDiqh_zXb65wcqlVbmu6eshKbkOI1HQddJVrB91hf7NQSa_MClgXmer/s640/bubblesort1.png" title="Result program bubble sort in golang" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Result program bubble sort in Golang</td></tr>
</tbody></table>
<div>
<br /></div>
Codingsterhttp://www.blogger.com/profile/05089479495510517742noreply@blogger.comtag:blogger.com,1999:blog-2030737267737832276.post-60116582138820060572019-01-31T13:04:00.002-08:002019-01-31T13:08:52.397-08:00Selection Sort Algorithm in Go (Golang)<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdtGsM0NUUohSmVNQsUHjv7X-LXPis2t05hpBgrfmpprY14wEJHsnl15xxN1KShtQRhZ-4ETf6KRPXBlFHbfseyFjHL5syfGr296HL3yeuVE8p60C7suMPKclefVmp4d69YjzfFPZvaHk-/s1600/selectionsort.png" imageanchor="1"><img alt="Selection Sort Algorithm in Go (Golang)" border="0" data-original-height="901" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdtGsM0NUUohSmVNQsUHjv7X-LXPis2t05hpBgrfmpprY14wEJHsnl15xxN1KShtQRhZ-4ETf6KRPXBlFHbfseyFjHL5syfGr296HL3yeuVE8p60C7suMPKclefVmp4d69YjzfFPZvaHk-/s640/selectionsort.png" title="Selection Sort Algorithm in Go (Golang)" width="640" /></a></div>
<b><a href="https://www.codingster.com/2019/01/go-selection-sort-algorithm.html">Selection Sort Algorithm in Go (Golang)</a></b> - This code implements the selection sort algorithm to set the array of numbers in ascending order.<br />
<br />
<h3>
Source Code :</h3>
<br />
<pre class="line-numbers" data-codetype="Golang" title="selectionsort.go"><code class="line-numbers language-markup">package main
import "fmt"
func selectionSort(arr []int) {
for i := 0; i < len(arr)-1; i++ {
minIndex := i
for j := i + 1; j < len(arr); j++ {
if arr[minIndex] > arr[j] {
minIndex = j
}
}
tmp := arr[i]
arr[i] = arr[minIndex]
arr[minIndex] = tmp
}
}
func main() {
arr := []int{11, 8, 35, 98, 3, 44, 24, 14, 10, 1}
fmt.Print("elements: ", arr, "\n", "In ascending order: [ ")
selectionSort(arr)
for i := 0; i < len(arr); i++ {
fmt.Print(arr[i], ", ")
}
fmt.Print("]\n")
}
</code></pre>
<br />
<h3>
Compile & Run :</h3>
<div>
Here's how to compile source code manually:</div>
<pre data-codetype="Golang" title="Compile & Run"><code class="language-markup">
$ go build selectionsort.go
$ ./selectionsort
</code></pre>
Run without compile:<br />
<pre data-codetype="Golang" title="Run without compile"><code class="language-markup">
$ go run selectionsort.go
</code></pre>
<br />
<h3>
Output Of Program :</h3>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiE7jBtHJeF3P4h4QnN4U5LQqGNNdCS9j0nwGpZpvkjw-06TGlvFKMYPfgd-lVND5Xk1EzYiz9zQzeRd4Z0CdF0MCOdV9P6IP29gC3rvpKCyCuUJCdOjIMivxZ8GYPu2ECmoGwW5vAbnHk9/s1600/selectionsort1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Result program selection sort in golang" border="0" data-original-height="79" data-original-width="542" height="92" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiE7jBtHJeF3P4h4QnN4U5LQqGNNdCS9j0nwGpZpvkjw-06TGlvFKMYPfgd-lVND5Xk1EzYiz9zQzeRd4Z0CdF0MCOdV9P6IP29gC3rvpKCyCuUJCdOjIMivxZ8GYPu2ECmoGwW5vAbnHk9/s640/selectionsort1.png" title="Result program selection sort in golang" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Result program selection sort in Go</td></tr>
</tbody></table>
<br />Codingsterhttp://www.blogger.com/profile/05089479495510517742noreply@blogger.comtag:blogger.com,1999:blog-2030737267737832276.post-38476400898662418892019-01-27T05:41:00.000-08:002019-01-27T18:50:17.176-08:00Insertion Sort Algorithm In Go (Golang)<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6UBVXVnskSHkkxec_BKA-O2d1mFvcgapyOsu3p4CR-EK6BplmeIfNIKEWSiUlT4N174NL0-qiyGKetH6Q0lGnkFMk4vRcGluUNL9EawtU2OHXIl1mUghgWb0LSigw_VnWystYO49zeVzD/s1600/insertionsort.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Insertion Sort Algorithm In Go (Golang)" border="0" data-original-height="901" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6UBVXVnskSHkkxec_BKA-O2d1mFvcgapyOsu3p4CR-EK6BplmeIfNIKEWSiUlT4N174NL0-qiyGKetH6Q0lGnkFMk4vRcGluUNL9EawtU2OHXIl1mUghgWb0LSigw_VnWystYO49zeVzD/s640/insertionsort.png" title="Insertion Sort Algorithm In Go (Golang)" width="640" /></a></div>
<br />
In this post, we will learn to create an insertion sort algorithm program in the Go programming language (Golang). We try to sort 10 numbers randomly, with numbers that will be sorted as follows: 7, 10, 22, 16, 5, 53, 108, 100, 6, 1.<br />
<br />
<h3>
Source Code :</h3>
<br />
<pre class="line-numbers" data-codetype="Golang" title="insertionsort.go"><code class="line-numbers language-markup">package main
import "fmt"
func insertionSort(arr []int) {
for i := 0; i < len(arr); i++ {
tmp := arr[i]
j := i
for j > 0 && arr[j-1] > tmp {
arr[j] = arr[j-1]
j--
}
arr[j] = tmp
}
}
func main() {
arr := []int{7, 10, 22, 16, 5, 53, 108, 100, 6, 1}
fmt.Print("Member of the array element: ", arr, "\n", "The result of sorting: [ ")
insertionSort(arr)
for i := 0; i < len(arr); i++ {
fmt.Print(arr[i], ", ")
}
fmt.Print("]\n")
}
</code></pre>
<br />
Save the source code with the name of insertionsort.go, don't forget the extension should .go<br />
<br />
<h3>
Compile & Run :</h3>
<div>
Here's how to compile source code manually:</div>
<pre data-codetype="Golang" title="Compile & Run"><code class="language-markup">
$ go build insertionsort.go
$ ./insertionsort
</code></pre>
You can run without having to compile it:<br />
<pre data-codetype="Golang" title="Run without compile"><code class="language-markup">
$ go run insertionsort.go
</code></pre>
<br />
<h3>
The Output of Program :</h3>
<div>
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinp3xPIXIsc6T5nP1qOi3AXox5OFEIkji-wloH6Ynvu6cGSVkx7Ur4-uHFB5BpdHFokcUBdAr3FyiAZnZ97NO6tRCs637TRy1XU7WyF9a123l3IRRzz2mvYxRWokQ8DUjIxCx1gNp99NWI/s1600/insertionsort1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Picture of the result insertion sort algorithm" border="0" data-original-height="113" data-original-width="698" height="102" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinp3xPIXIsc6T5nP1qOi3AXox5OFEIkji-wloH6Ynvu6cGSVkx7Ur4-uHFB5BpdHFokcUBdAr3FyiAZnZ97NO6tRCs637TRy1XU7WyF9a123l3IRRzz2mvYxRWokQ8DUjIxCx1gNp99NWI/s640/insertionsort1.png" title="Picture of the result insertion sort algorithm" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Picture of the result insertion sort algorithm</td></tr>
</tbody></table>
<div>
<br /></div>
Codingsterhttp://www.blogger.com/profile/05089479495510517742noreply@blogger.comtag:blogger.com,1999:blog-2030737267737832276.post-68433838300260909602019-01-26T14:22:00.003-08:002019-01-26T14:23:28.702-08:00Go Program To Check Leap Year (Golang)<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyAC9PRVuoPayhzl-8F3gOEcmyUXlBEmZk2usRG9lZGYX9QHqDCYCkM4Zi69t4QThpFXnd32Bv5CgsoFi7Q2Xq9rNnBFcH9K9fQHyQNuAl-sFWeOgO0YjQlSk3r8jh8ILKd0z1GHQCKT7k/s1600/leapyear.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Go Program To Check Leap Year" border="0" data-original-height="901" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyAC9PRVuoPayhzl-8F3gOEcmyUXlBEmZk2usRG9lZGYX9QHqDCYCkM4Zi69t4QThpFXnd32Bv5CgsoFi7Q2Xq9rNnBFcH9K9fQHyQNuAl-sFWeOgO0YjQlSk3r8jh8ILKd0z1GHQCKT7k/s640/leapyear.png" title="Go Program To Check Leap Year" width="640" /></a></div>
<br />
Go Program To Check Leap Year - in this post, we will learn how to create a leap year check program in the Go programming language. Leap year is the year where the number of days is the most that occur every four years. The difference in leap year with the normal year is every February has a date up to 29.<br />
<br />
<h2>
Go Program To Check Leap Year</h2>
<div>
<br /></div>
<h3>
Source Code :</h3>
<br />
<pre class="line-numbers" data-codetype="Golang" title="leapyear.go"><code class="line-numbers language-markup">package main
import "fmt"
func main() {
var year int
fmt.Print("Enter a year: ")
fmt.Scanln(&year)
if year%400 == 0 {
fmt.Println(year, "is a leap year")
} else if year%100 == 0 {
fmt.Println(year, "is not a leap year")
} else if year%4 == 0 {
fmt.Println(year, "is a leap year")
} else {
fmt.Println(year, "is not a leap year")
}
}
</code></pre>
<br />
Save the source code with the name of leapyear.go, but adjust wrote with a file name that chills and don't forget the extension should .go<br />
<br />
<h3>
Compile & Run :</h3>
<div>
Here's how to compile source code manually:</div>
<pre data-codetype="Golang" title="Compile & Run"><code class="language-markup">
$ go build leapyear.go
$ ./leapyear
</code></pre>
You can run without having to compile it:<br />
<pre data-codetype="Golang" title="Run without compile"><code class="language-markup">
$ go run leapyear.go
</code></pre>
<br />
<h3>
The Output of Program :</h3>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM-qzXYSyJqRzkBBlfeHC-94hoIBYCbvSs53nsOijCwus-DJoRQcCD_tbRdm4ID7AltRQfOQQLfnrCd8KKVL_iCmvtm9PfOL3cYAhgdbxmoFtt-V9naDwm2lSNrhnSPCzGjnWAiBMUbfwx/s1600/leapyear1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Picture of the result check leap year" border="0" data-original-height="166" data-original-width="666" height="158" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM-qzXYSyJqRzkBBlfeHC-94hoIBYCbvSs53nsOijCwus-DJoRQcCD_tbRdm4ID7AltRQfOQQLfnrCd8KKVL_iCmvtm9PfOL3cYAhgdbxmoFtt-V9naDwm2lSNrhnSPCzGjnWAiBMUbfwx/s640/leapyear1.png" title="Picture of the result check leap year" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Picture of the result check leap year</td></tr>
</tbody></table>
<br />Codingsterhttp://www.blogger.com/profile/05089479495510517742noreply@blogger.comtag:blogger.com,1999:blog-2030737267737832276.post-16991691804743871022019-01-25T18:21:00.002-08:002019-01-25T18:22:24.919-08:00Go Program To Generate Fibonacci Series (Golang)<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB7TV7taJF4z2gs6OskZRPXETKgFL_ala1ecMutNccjxv1xi9JP8inTrALoCInvaoLJZxRj653-v1H9I3ibg0vsRatRKue3xUug_so7P-pTcByCfnVxORIDrPM5esJyjbXbNmTgMbxPuWp/s1600/fibonaccigo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Go Program To Generate Fibonacci Series (Golang)" border="0" data-original-height="901" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB7TV7taJF4z2gs6OskZRPXETKgFL_ala1ecMutNccjxv1xi9JP8inTrALoCInvaoLJZxRj653-v1H9I3ibg0vsRatRKue3xUug_so7P-pTcByCfnVxORIDrPM5esJyjbXbNmTgMbxPuWp/s640/fibonaccigo.png" title="Go Program To Generate Fibonacci Series (Golang)" width="640" /></a></div>
<br />
Go Program To Generate Fibonacci Series (Golang) - in this post we will learn how to create a Fibonacci series program in the Go programming language. Fibonacci is a pattern of numbers obtained from the sum of the two previous numbers in a sequence.<br />
<br />
<h2>
Go Program To Generate Fibonacci Series (Golang)</h2>
<div>
<br /></div>
<h3>
Source Code : </h3>
<br />
<pre class="line-numbers" data-codetype="Golang" title="fibonacci.go"><code class="line-numbers language-markup">package main
import "fmt"
func fibonacci(n int) int {
if n == 0 || n == 1 {
return n
} else {
return (fibonacci(n-1) + fibonacci(n-2))
}
}
func main() {
var n, i, j int
j = 0
fmt.Print("Enter the number of terms: ")
fmt.Scanln(&n)
fmt.Print("Fibonacci series: ")
for i = 1; i <= n; i++ {
fmt.Print(fibonacci(j), ", ")
j++
}
fmt.Println()
}
</code></pre>
<br />
Save the source code with the name of fibonacci.go, but adjust wrote with a file name that chills and don't forget the extension should .go<br />
<br />
<h3>
Compile & Run :</h3>
<div>
Here's how to compile source code manually:</div>
<pre data-codetype="Golang" title="Compile & Run"><code class="language-markup">
$ go build fibonacci.go
$ ./fibonacci
</code></pre>
You can run without having to compile it:<br />
<pre data-codetype="Golang" title="Run without compile"><code class="language-markup">
$ go run fibonacci.go
</code></pre>
<h3>
</h3>
<h3>
</h3>
<h3>
The Output of Program :</h3>
<div>
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivr0Gt-O5tqT1gGLXkYhWOiOPjbyLe5sUJMvABxTHXYuPZ9ZJG2t7ryCPFSIdT7xfIEcPft2R6MuBmEHZDPV9XQHyniCUgI8drQf7D_ehVt1xqTbbf6T8eC4x7eijVgE9kvcGdfjSSHePE/s1600/fibonaccigo1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Picture of the result Fibonacci series" border="0" data-original-height="132" data-original-width="658" height="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivr0Gt-O5tqT1gGLXkYhWOiOPjbyLe5sUJMvABxTHXYuPZ9ZJG2t7ryCPFSIdT7xfIEcPft2R6MuBmEHZDPV9XQHyniCUgI8drQf7D_ehVt1xqTbbf6T8eC4x7eijVgE9kvcGdfjSSHePE/s640/fibonaccigo1.png" title="Picture of the result Fibonacci series" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Picture of the result Fibonacci series</td></tr>
</tbody></table>
<div>
<br /></div>
Codingsterhttp://www.blogger.com/profile/05089479495510517742noreply@blogger.comtag:blogger.com,1999:blog-2030737267737832276.post-35285383603262035232019-01-24T22:17:00.001-08:002019-01-25T18:23:17.604-08:00Go Program To Find Transpose Of A Matrix (Golang)<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSDg4grCDMPp8YPI1qMiHfXUJH3Qvr92wzrFaNeO4K4mvlaeKwLIvUOig6rZXA8R49SAuGaCt722mgJN15UnS9zUiQ_zEqvLN7xlqbgqIk-tyPJI6LlYeWFKOJkY7aDqGyuiQVf0k7i8jh/s1600/gotranspose.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Go Program To Find Transpose Of A Matrix (Golang)" border="0" data-original-height="901" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSDg4grCDMPp8YPI1qMiHfXUJH3Qvr92wzrFaNeO4K4mvlaeKwLIvUOig6rZXA8R49SAuGaCt722mgJN15UnS9zUiQ_zEqvLN7xlqbgqIk-tyPJI6LlYeWFKOJkY7aDqGyuiQVf0k7i8jh/s640/gotranspose.png" title="Go Program To Find Transpose Of A Matrix (Golang)" width="640" /></a></div>
<br />
<b><a href="https://www.codingster.com/2019/01/go-transpose-matrix.html">Go Program To Find Transpose Of A Matrix (Golang)</a></b> - In this post, we will learn how to create to find transpose of a matrix program in the Go programming language. Matrix is a collection of numbers arranged in rows (vertical) and columns (horizontal) can also be called two-dimensional arrays. Matrix Transpose produces a matrix by exchanging rows into columns and columns into rows of a matrix.<br />
<br />
<h2>
Go Program To Find Transpose Of A Matrix (Golang)</h2>
<div>
<br /></div>
<h3>
Source Code : </h3>
<br />
<pre class="line-numbers" data-codetype="Golang" title="transpose.go"><code class="line-numbers language-markup">package main
import "fmt"
func main() {
var i, j, m, n int
var matrix [10][10]int
var transpose [10][10]int
fmt.Print("Enter the number of rows the matrix: ")
fmt.Scanln(&m)
fmt.Print("Enter the number of columns th matrix: ")
fmt.Scanln(&n)
fmt.Println("Enter the matrix elements")
for i = 0; i < m; i++ {
for j = 0; j < n; j++ {
fmt.Scan(&matrix[i][j])
}
}
for i = 0; i < m; i++ {
for j = 0; j < n; j++ {
transpose[j][i] = matrix[i][j]
}
}
fmt.Println("Transpose of matrix: ")
for i = 0; i < n; i++ {
for j = 0; j < m; j++ {
fmt.Print(transpose[i][j], "\t")
}
fmt.Println()
}
}
</code></pre>
<br />
Save the source code with the name of transpose.go, but adjust wrote with a file name that chills and don't forget the extension should .go<br />
<br />
<h3>
Compile & Run :</h3>
<div>
Here's how to compile source code manually:</div>
<pre data-codetype="Golang" title="Compile & Run"><code class="language-markup">
$ go build transpose.go
$ ./transpose
</code></pre>
You can run without having to compile it:<br />
<pre data-codetype="Golang" title="Run without compile"><code class="language-markup">
$ go run transpose.go
</code></pre>
<h3>
</h3>
<h3>
</h3>
<h3>
The Output of Program :</h3>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXrgBF8ddoAdt6-epSOkNQvqrlPo7sIRakLW0mz5zZ8Ntbwee6P47yOA8o_dbzCI6Voyd_DWO85-g6kSnbb1rxbGAD5bTArtG3o9j5v-afvPStmXNRnhFq5c4VAC5zeHEc83UM9bVoSPQE/s1600/transpose1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="242" data-original-width="647" height="238" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXrgBF8ddoAdt6-epSOkNQvqrlPo7sIRakLW0mz5zZ8Ntbwee6P47yOA8o_dbzCI6Voyd_DWO85-g6kSnbb1rxbGAD5bTArtG3o9j5v-afvPStmXNRnhFq5c4VAC5zeHEc83UM9bVoSPQE/s640/transpose1.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Picture of the result transpose matrix</td></tr>
</tbody></table>
<h3>
Conclusion :</h3>
<div>
<br /></div>
<div>
From the results of the program can be run without any error and display the results matrix transpose inputted by the user.</div>
Codingsterhttp://www.blogger.com/profile/05089479495510517742noreply@blogger.comtag:blogger.com,1999:blog-2030737267737832276.post-24327731893710248402019-01-24T18:19:00.005-08:002019-01-24T18:27:00.520-08:00How To Run Javascript On Google Chrome Snippets<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNgQVYSXZkvHBmavFam8IfPd9KzIrb1D3cw4K-VV4vz52o_hdtpmQLotj7-BkQr6ffp0bgOstJICOqSwHeTDvT-usXJSzashNFfgXK-c89_HakEcSbFzUf98bvIHYK93rOvZA9XEfMR_CR/s1600/jssnippet.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="How To Run Javascript On Google Chrome Snippet" border="0" data-original-height="901" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNgQVYSXZkvHBmavFam8IfPd9KzIrb1D3cw4K-VV4vz52o_hdtpmQLotj7-BkQr6ffp0bgOstJICOqSwHeTDvT-usXJSzashNFfgXK-c89_HakEcSbFzUf98bvIHYK93rOvZA9XEfMR_CR/s640/jssnippet.png" title="How To Run Javascript On Google Chrome Snippet" width="640" /></a></div>
<b><a href="https://www.codingster.com/2019/01/run-javascript-on-chrome-snippets.html">How To Run Javascript On Google Chrome Snippet</a></b> - in this post, we will learn how to run the JavaScript source code in the Google Chrome browser. Usually, if we want to create javascript, it must be embedded in HTML or web files to run, but now we will run javascript code on Google Chrome with Snippets without having to be embedded into the HTML file.<br />
<br />
<h2>
How To Run Javascript On Google Chrome Snippet</h2>
<h3>
</h3>
<h3>
</h3>
<h3>
<br /></h3>
<h3>
Step 1: Open Google Chrome</h3>
<div>
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2Ysi5xMCLpPDEAmpQd0rDYci3Y1qdpixauXd6XNVlvvVR9JgNA7Ca25AY4AnaA39qLuBZ8dcAVArDaOB-PHsAuulH1R3po1jphHa4Az16QSDpoz-FLrTLBmImdy4UTi6huW9_PeLIssEL/s1600/gc.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Picture of Google Chrome" border="0" data-original-height="480" data-original-width="679" height="449" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2Ysi5xMCLpPDEAmpQd0rDYci3Y1qdpixauXd6XNVlvvVR9JgNA7Ca25AY4AnaA39qLuBZ8dcAVArDaOB-PHsAuulH1R3po1jphHa4Az16QSDpoz-FLrTLBmImdy4UTi6huW9_PeLIssEL/s640/gc.png" title="Picture of Google Chrome" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Picture of Google Chrome</td></tr>
</tbody></table>
<div>
<br /></div>
<h3>
Step 2: Open the Snippets tab</h3>
<div>
<br />
<ol>
<li>Right-click on google chrome</li>
<li>Select the Inspect</li>
<li>Open the Sources tab</li>
<li>Select the Snippets.</li>
</ol>
</div>
<div>
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu0ocfiGWxWv79QRGp6OlqaVSADVBgg_iyxNCKxscrScvKH9weKZWMXllHP9inNBHtnZMiEc2-uMm4g3TyzTio3iiKA0wrrmgiS0Vyb5Bh607HJokEUuxIxg8BM4U_cwGr7_gHeBLzM-rX/s1600/snippet1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Picture of Snippets tab" border="0" data-original-height="294" data-original-width="436" height="428" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu0ocfiGWxWv79QRGp6OlqaVSADVBgg_iyxNCKxscrScvKH9weKZWMXllHP9inNBHtnZMiEc2-uMm4g3TyzTio3iiKA0wrrmgiS0Vyb5Bh607HJokEUuxIxg8BM4U_cwGr7_gHeBLzM-rX/s640/snippet1.png" title="Picture of Snippets tab" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Picture of Snippets tab</td></tr>
</tbody></table>
<div>
<br /></div>
<h3>
Step 3: Create and run a new snippet</h3>
<div>
<br />
<ol>
<li>New snippet</li>
<li>Insert the name snippet</li>
<li>Enter Javascript code</li>
<li>To run the snippet by pressing CTRL + ENTER on the keyboard or can right-click on the file and select run.</li>
<li>The results will be displayed on the console tab.</li>
</ol>
</div>
<div>
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL5AMYIi_AAcjLx4TrBM4diUY86wF9X3AU638vIgycDSS9jxkb48i8VRnSDuXkhcBpWaAs5eFyzCiEPVWNuAl5OFOK7wsi0kqH5vNd_hOU8E44skg0S5gOV8tkFGBLlrC6gDlFj9wzPebZ/s1600/snippet2.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Picture of Hello World on the Chrome snippets" border="0" data-original-height="286" data-original-width="565" height="322" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL5AMYIi_AAcjLx4TrBM4diUY86wF9X3AU638vIgycDSS9jxkb48i8VRnSDuXkhcBpWaAs5eFyzCiEPVWNuAl5OFOK7wsi0kqH5vNd_hOU8E44skg0S5gOV8tkFGBLlrC6gDlFj9wzPebZ/s640/snippet2.png" title="Picture of Hello World on the Chrome snippets" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Picture of Hello World on the Chrome snippets</td></tr>
</tbody></table>
<div>
<br /></div>
<div>
<br /></div>
Codingsterhttp://www.blogger.com/profile/05089479495510517742noreply@blogger.comtag:blogger.com,1999:blog-2030737267737832276.post-91433145422685025212019-01-24T11:23:00.000-08:002019-01-24T22:05:36.027-08:00Go Program To Multiplication Two Matrices (Golang)<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYA0R-pC6VGUkjQ6ErNri4p4D-c7nFpgi2XKw0HUK-hwEdJTShq4sFn0Wq0cEwulMXVeOPJF1cxb_y0g3N7j568V-8sSSYs4AGHR9eW7qkx8OrYceomIKya5A0UlycXDlm6Fx9yzn1Kuft/s1600/multiplymatrices.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Go Program To Multiplication Two Matrices (Golang)" border="0" data-original-height="901" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYA0R-pC6VGUkjQ6ErNri4p4D-c7nFpgi2XKw0HUK-hwEdJTShq4sFn0Wq0cEwulMXVeOPJF1cxb_y0g3N7j568V-8sSSYs4AGHR9eW7qkx8OrYceomIKya5A0UlycXDlm6Fx9yzn1Kuft/s640/multiplymatrices.png" title="Go Program To Multiplication Two Matrices (Golang)" width="640" /></a></div>
<br />
Go Program To Multiplication Two Matrices (Golang) - In this post, we will learn how to create a program calculate the two matrix multiplication in the Go programming language.<br />
<br />
Matrix is a collection of numbers arranged in rows (vertical) and columns (horizontal) can also be called two-dimensional arrays. matrix multiplication has the condition that the number of columns of the first matrix is equal to the number of rows of the second matrix.<br />
<br />
<h2>
Go Program To Multiplication Two Matrices (Golang)</h2>
<h3>
</h3>
<h3>
Source Code:</h3>
<br />
<pre class="line-numbers" data-codetype="Golang" title="multiplymatrices.go"><code class="line-numbers language-markup">package main
import "fmt"
func main() {
var matrixA [10][10]int
var matrixB [10][10]int
var result [10][10]int
var i, j, k, m, n, p, q, total int
total = 0
fmt.Print("Enter the number of rows the first matrix: ")
fmt.Scanln(&m)
fmt.Print("Enter the number of columns the first matrix: ")
fmt.Scanln(&n)
fmt.Print("Enter the number of rows the second matrix: ")
fmt.Scanln(&p)
fmt.Print("Enter the number of columns the second matrix : ")
fmt.Scanln(&q)
if n != p {
fmt.Println("Error: The matrix cannot be multiplied")
} else {
fmt.Println("Enter the first matrix elements: ")
for i = 0; i < m; i++ {
for j = 0; j < n; j++ {
fmt.Scan(&matrixA[i][j])
}
}
fmt.Println("Enter the second matrix elements: ")
for i = 0; i < p; i++ {
for j = 0; j < q; j++ {
fmt.Scan(&matrixB[i][j])
}
}
for i = 0; i < m; i++ {
for j = 0; j < q; j++ {
for k = 0; k < p; k++ {
total = total + matrixA[i][k]*matrixB[k][j]
}
result[i][j] = total
total = 0
}
}
fmt.Println("Results of matrix multiplication: ")
for i = 0; i < m; i++ {
for j = 0; j < n; j++ {
fmt.Print(result[i][j], "\t")
}
fmt.Print("n")
}
}
}
</code></pre>
<br />
Save the source code with the name of multiplymatrices.go, but adjust wrote with a file name that chills and don't forget the extension should .go<br />
<br />
<h3>
Compile & Run :</h3>
<div>
Here's how to compile source code manually:</div>
<pre data-codetype="Golang" title="Compile & Run"><code class="language-markup">
$ go build multiplymatrices.go
$ ./multiplymatrices
</code></pre>
You can run without having to compile it:<br />
<pre data-codetype="Golang" title="Run without compile"><code class="language-markup">
$ go run multiplymatrices.go
</code></pre>
<h3>
</h3>
<h3>
</h3>
<h3>
The Output of Program :</h3>
<div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiylwjSVaMgf8KmFvo56w4ojXJUL657uBXy5K7rVVb9MgLQotg79acwyg9ZzKjlb3ZXvXEExeUEMs3nfarn-IqWjanS5yE3gpMkfkokEM2qDDyA539m5VyTEV-iLa8o1fPwrghAsKjYSFMi/s1600/multiplymatrices1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="372" data-original-width="691" height="344" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiylwjSVaMgf8KmFvo56w4ojXJUL657uBXy5K7rVVb9MgLQotg79acwyg9ZzKjlb3ZXvXEExeUEMs3nfarn-IqWjanS5yE3gpMkfkokEM2qDDyA539m5VyTEV-iLa8o1fPwrghAsKjYSFMi/s640/multiplymatrices1.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Picture of result the program</td></tr>
</tbody></table>
<h3>
Conclusion:</h3>
</div>
<div>
<br />
From the results of the matrix multiplication program, it can be successfully run without any errors and display the results of the first matrix multiplication and the second matrix with a 3 x 3 order.</div>
Codingsterhttp://www.blogger.com/profile/05089479495510517742noreply@blogger.comtag:blogger.com,1999:blog-2030737267737832276.post-59046715550639841862019-01-24T09:05:00.000-08:002019-01-24T09:14:33.201-08:00How To Install Sails.js With NPM<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE77D9kdv5MxfaanklwQr_54YTdRjut-8I5F_ZXlHXkLgoAXkz98Ce4GYnMGff0V02BZ34lsPZ3dmv7YLPUA1jacLlfLyJJet8DRXsXUxJ_i7zTwQtAW1mKcxqmBoZm1wFsoK3p963LwEQ/s1600/installsails.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="How To Install Sails.js With NPM" border="0" data-original-height="901" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE77D9kdv5MxfaanklwQr_54YTdRjut-8I5F_ZXlHXkLgoAXkz98Ce4GYnMGff0V02BZ34lsPZ3dmv7YLPUA1jacLlfLyJJet8DRXsXUxJ_i7zTwQtAW1mKcxqmBoZm1wFsoK3p963LwEQ/s640/installsails.png" title="How To Install Sails.js With NPM" width="640" /></a></div>
<b><br /></b> <b><a href="https://www.codingster.com/2019/01/install-sailsjs-with-npm.html">How To Install Sails.js With NPM</a></b> - In this post, we will learn how to install Sails.js with npm. Sails.js is one of the MVC web frameworks built with Node.js, express.js, and Socket.io. To find out more about Sails.js, you can open the <a href="https://sailsjs.com/" target="_blank">Sails.js website</a>.<br />
<br />
Before installing Sails.js on your computer you must first install Node.js and npm.<br />
<br />
<blockquote>
<a href="https://www.codingster.com/2019/01/install-nodejs-ubuntu-1804.html">How To Install Node.js On Ubuntu 18.04</a></blockquote>
<br />
<h2>
How To Install Sails.js With NPM</h2>
<h3>
</h3>
<h3>
</h3>
<h3>
<br /></h3>
<h3>
Step 1: Install Sails.js</h3>
<div>
Open the terminal and type the following command line:</div>
<pre data-codetype="Golang" title="Install Sails.js"><code class="language-markup">$ npm install sails -g
</code></pre>
Note: if you use Ubuntu, you can include sudo.<br />
<br />
<h3>
</h3>
<h3>
Step 2: Create a project</h3>
<pre data-codetype="Golang" title="Create a project"><code class="language-markup">$ sails new test</code></pre>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGGUXL7IXSS-W95rwdhPdaO_JNW4IdWV3baXpKtgmP-VhrUpT3VQR2-PeG8XWIb3HTjVOzyUOC-d3kmw2qw93qj99PTgl10Q4ud1b7oElOn31u_QuSZ40YliPtgS2QqCnMcj_SZAxPWfHd/s1600/installsails1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Picture of creating Sails.js project" border="0" data-original-height="269" data-original-width="818" height="210" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGGUXL7IXSS-W95rwdhPdaO_JNW4IdWV3baXpKtgmP-VhrUpT3VQR2-PeG8XWIb3HTjVOzyUOC-d3kmw2qw93qj99PTgl10Q4ud1b7oElOn31u_QuSZ40YliPtgS2QqCnMcj_SZAxPWfHd/s640/installsails1.png" title="Picture of creating Sails.js project" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Picture of creating Sails.js project</td></tr>
</tbody></table>
<br />
In the command line, we will create a project with the name test. Next, we will be asked for the template selection in the form of a web app or empty. When finished, Sails.js creates the project folder test and generate the files.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGKRF2IoS2ntnfvRMG2YJCqaGp2Yq4bThKSe05GWskGJYlmvHe5dELLsDWE5_3XFXOkHFRO2I7E6_gOz1fAJAfUvUGhyphenhyphenzzZQIWoHFpry1E5tuFQiEcLDCZ9Z02Ie9-O4hMBdVmmOL054CY/s1600/sailsjs2.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Picture of Sails.js project on the web browser" border="0" data-original-height="499" data-original-width="302" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGKRF2IoS2ntnfvRMG2YJCqaGp2Yq4bThKSe05GWskGJYlmvHe5dELLsDWE5_3XFXOkHFRO2I7E6_gOz1fAJAfUvUGhyphenhyphenzzZQIWoHFpry1E5tuFQiEcLDCZ9Z02Ie9-O4hMBdVmmOL054CY/s320/sailsjs2.png" title="Picture of Sails.js project on the web browser" width="193" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Picture of the folder structure Sails.js project</td></tr>
</tbody></table>
<br />
<h3>
Step 3: Run the project</h3>
<pre data-codetype="Golang" title="Run the project"><code class="language-markup">$ cd test
$ sails lift</code></pre>
To see the results of the Sails.js project, we can open a browser and type 127.0.0.1:1337 in the browser address bar.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUpC0979ZTjQDKu7OP89fxikAh6DTIKjrABQPfBlwZbwyUg61oUHaKmwuqaxuQ7iLCfyb6iNVbPCA1W9qEEXdLY56z-n-_yLqbZ9eiu3CaYcf5-HuFlBamo7RYOmUt6EBgX5uRtZTxQHi6/s1600/sailsjs4.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Picture of Sails.js project on the web browser" border="0" data-original-height="768" data-original-width="1366" height="358" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUpC0979ZTjQDKu7OP89fxikAh6DTIKjrABQPfBlwZbwyUg61oUHaKmwuqaxuQ7iLCfyb6iNVbPCA1W9qEEXdLY56z-n-_yLqbZ9eiu3CaYcf5-HuFlBamo7RYOmUt6EBgX5uRtZTxQHi6/s640/sailsjs4.png" title="Picture of Sails.js project on the web browser" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Picture of Sails.js project on the web browser</td></tr>
</tbody></table>
<br />
<h3>
Conclusion:</h3>
<div>
<br />
Sails.js is one of the MVC web frameworks built with Node.js, express.js, and Socket.io. For Sails.js installation, we can use NPM (Node Package Manager). After the installation is complete we can create a project with Sails.js. To run the project we can type sails lift and we can see through the browser by typing 127.0.0.1:1337.</div>
Codingsterhttp://www.blogger.com/profile/05089479495510517742noreply@blogger.comtag:blogger.com,1999:blog-2030737267737832276.post-28861963794334247752019-01-24T01:28:00.001-08:002019-01-24T01:30:02.730-08:00How To Install Go Language On Ubuntu 18.04<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdmoNKRoHo89TDug1hHHCNR3qcHaOCpm27edpm3eO5-4VamoTfNyXjAWJ4cklczEnCAY4KzU3IWJRvA_kiJwe4rHjG3_eyfuPg6ZuKkOa3kCwhOzRc5nU-PLtREQ72VvCx15KoqujsAsol/s1600/installgolang.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="How To Install Go Language On Ubuntu 18.04" border="0" data-original-height="901" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdmoNKRoHo89TDug1hHHCNR3qcHaOCpm27edpm3eO5-4VamoTfNyXjAWJ4cklczEnCAY4KzU3IWJRvA_kiJwe4rHjG3_eyfuPg6ZuKkOa3kCwhOzRc5nU-PLtREQ72VvCx15KoqujsAsol/s640/installgolang.png" title="How To Install Go Language On Ubuntu 18.04" width="640" /></a></div>
<br />
<b><a href="https://www.codingster.com/2019/01/install-go-language-ubuntu-1804.html">How To Install Go Language On Ubuntu 18.04</a></b> - In this post, we will learn how to install Go Language on Ubuntu 18.04. Golang is a programming language developed by Google and released in March 2012 with version 1.0. If you want to find out more, you can open the <a href="https://golang.org/" target="_blank">Go Language website</a>. In this tutorial, the latest version of Go is 1.11.5. I will use the latest version in this tutorial.<br />
<br />
<h2>
How To Install Go Language On Ubuntu 18.04</h2>
<h3>
Step 1: Download and Install Go</h3>
<div>
Open the terminal and follow the steps of each line.</div>
<div>
<br /></div>
<div>
For Ubuntu 32 Bit:</div>
<pre data-codetype="Golang" title="Compile & Run"><code class="language-markup">
$ wget https://redirector.gvt1.com/edgedl/go/go1.11.5.linux-386.tar.gz
$ sudo tar -zxvf go1.11.5.linux-386.tar.gz -C /usr/local
</code></pre>
<div>
<br /></div>
<div>
For Ubuntu 64 Bit:</div>
<pre data-codetype="Golang" title="Compile & Run"><code class="language-markup">
$ wget https://redirector.gvt1.com/edgedl/go/go1.11.5.linux-amd64.tar.gz
$ sudo tar -zxvf go1.11.5.linux-amd64.tar.gz -C /usr/local
</code></pre>
<div>
<br /></div>
<div>
<h3>
Step 2: Setup Go Environment Variable</h3>
<pre data-codetype="Golang" title="Setup Go Env"><code class="language-markup">
$ echo 'export GOROOT=/usr/local/go' | sudo tee -a /etc/profile
$ echo 'export PATH=$PATH:/usr/local/go/bin' | sudo tee -a /etc/profile
$ source /etc/profile
</code></pre>
</div>
<h3>
<br /></h3>
<h3>
Step 3: Testing</h3>
<div>
after the installation is complete, you can see the version and environment of the Go programming language</div>
<div>
<pre data-codetype="Golang" title="Testing Go"><code class="language-markup">
$ go version
$ go env
</code></pre>
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKvc3wfi_r7jn6bdij7rhK8uawhU6MGmitxKrCggdy9dE5lvEL7uHTTrVEs759XoQ-XMWc5Fy3m-A4OaJN_GcYa-V95KZcEbO-F0Clli1QmX1JBEcQ9F2R9Bvj_XRiMf0QKqE3UJnqgBn7/s1600/installgo1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Picture of Go environment variable" border="0" data-original-height="484" data-original-width="820" height="376" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKvc3wfi_r7jn6bdij7rhK8uawhU6MGmitxKrCggdy9dE5lvEL7uHTTrVEs759XoQ-XMWc5Fy3m-A4OaJN_GcYa-V95KZcEbO-F0Clli1QmX1JBEcQ9F2R9Bvj_XRiMf0QKqE3UJnqgBn7/s640/installgo1.png" title="Picture of Go environment variable" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Picture of Go environment variable</td></tr>
</tbody></table>
<div>
<br /></div>
Codingsterhttp://www.blogger.com/profile/05089479495510517742noreply@blogger.comtag:blogger.com,1999:blog-2030737267737832276.post-75227601883056214642019-01-24T00:19:00.003-08:002019-01-24T00:28:42.334-08:00How To Install Visual Studio Code On Ubuntu 18.04<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji6U8ERYub3TWdDu_6JN6P5xe5y2NoGFo6IZ9aDFa7HssOoQ3oFBLGJ5O88PNIxBEHxjZBjWGz8nlJdARDlowIJUn3nzIYz8hnyqT4pTnhRWUNiltKYJjSDTukh8pfIz0C4JtjQEo1cy_B/s1600/vscode.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="How To Install Visual Studio Code On Ubuntu 18.04" border="0" data-original-height="901" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji6U8ERYub3TWdDu_6JN6P5xe5y2NoGFo6IZ9aDFa7HssOoQ3oFBLGJ5O88PNIxBEHxjZBjWGz8nlJdARDlowIJUn3nzIYz8hnyqT4pTnhRWUNiltKYJjSDTukh8pfIz0C4JtjQEo1cy_B/s640/vscode.png" title="How To Install Visual Studio Code On Ubuntu 18.04" width="640" /></a></div>
<b><br /></b> <b><a href="https://www.codingster.com/2019/01/install-vscode-on-ubuntu-1804.html">How To Install Visual Studio Code On Ubuntu 18.04</a> </b>- In this post we will learn how to how to install Visual Studio Code text editor in Ubuntu. Visual Studio Code or VSCode is a free text editor that was developed by Microsoft Corporation. To find out further VSCode you can open <a href="https://code.visualstudio.com/" target="_blank">Visual Studio Code website</a>.<br />
<br />
<h2>
How To Install Visual Studio Code On Ubuntu 18.04</h2>
<br />
<h3>
Step 1: Download Visual Studio Code from Web</h3>
<div>
For Ubuntu 32 Bit:</div>
<div>
Link: <a href="https://code.visualstudio.com/docs/?dv=linux32_deb" target="_blank">https://code.visualstudio.com/docs/?dv=linux32_deb</a><br />
<br /></div>
<div>
</div>
<div>
For Ubuntu 64 Bit:</div>
<div>
Link: <a href="https://code.visualstudio.com/docs/?dv=linux64_deb" target="_blank">https://code.visualstudio.com/docs/?dv=linux64_deb</a></div>
<h3>
</h3>
<h3>
</h3>
<h3>
Step 2: Install Visual Studio Code</h3>
<div>
After the download is complete we will directly install the VSCode download results, open a terminal and open the Directory Downloads. Adjust the downloaded VSCode file name when installing with dpkg.</div>
<pre data-codetype="Golang" title="Compile & Run"><code class="language-markup">
$ cd ~/Downloads
$ sudo dpkg -i code_1.30.2-1546901646_amd64.deb
</code></pre>
<div>
After installation is complete then the VSCode already exists in ubuntu. Open visual studio code from the Ubuntu menu.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH9LyaqwmGI_fnV16hVPUO-u1vz2HWkfHaVuWUC5IadFhlWyhfXNAefdS0nyyZgdpKf_6BslmoYIx7tf7gkmLVEF-GlFsw2IU8bkQhXzgVJhzyix2jvvTWJ6_LJUagv_iKzOg8GoTzyLL9/s1600/vscode1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Picture of Visual Studio Code" border="0" data-original-height="661" data-original-width="1017" height="414" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH9LyaqwmGI_fnV16hVPUO-u1vz2HWkfHaVuWUC5IadFhlWyhfXNAefdS0nyyZgdpKf_6BslmoYIx7tf7gkmLVEF-GlFsw2IU8bkQhXzgVJhzyix2jvvTWJ6_LJUagv_iKzOg8GoTzyLL9/s640/vscode1.png" title="Picture of Visual Studio Code" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Picture of Visual Studio Code</td></tr>
</tbody></table>
<br /></div>
Codingsterhttp://www.blogger.com/profile/05089479495510517742noreply@blogger.comtag:blogger.com,1999:blog-2030737267737832276.post-44085053656540568662019-01-23T22:14:00.003-08:002019-01-24T00:31:20.797-08:00How To Install Node.js On Ubuntu 18.04<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHmQtEK2pih_8qpvru3zbZxlw2p8iXpKtYzcjdmUCrfzpeEHMhp_tJB2fzS8xyoWr7yi5kI8i5CaGt2eCLGgDiro-10pyhvBHIuYZi-tbdex-SsbP7RfkOvHbQulF46ySsqDIyoGckvjG9/s1600/nodejs.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="How To Install Node.js On Ubuntu 18.04" border="0" data-original-height="901" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHmQtEK2pih_8qpvru3zbZxlw2p8iXpKtYzcjdmUCrfzpeEHMhp_tJB2fzS8xyoWr7yi5kI8i5CaGt2eCLGgDiro-10pyhvBHIuYZi-tbdex-SsbP7RfkOvHbQulF46ySsqDIyoGckvjG9/s640/nodejs.png" title="How To Install Node.js On Ubuntu 18.04" width="640" /></a></div>
<b><br /></b>
<b><a href="https://www.codingster.com/2019/01/install-nodejs-ubuntu-1804.html">How To Install Node.Js On Ubuntu 18.04</a> </b>- In this post, we will learn how to install Node.js on Ubuntu 18.04. Node.js is a javascript runtime environment built on the Chrome V8 JavaScript engine to execute javascript code that is open source and can run on cross-platform (all platforms). The advantages of Node.js are Highly scalable, data-intensive, and real-time apps. To find out more, go to the <a href="https://nodejs.org/en/" target="_blank">website Node.js</a>.<br />
<br />
In this tutorial, the latest version of Node.js is 11.6.0 and for the LTS (Long Term Support) version is 10.15.0, I will use the latest version in this tutorial.<br />
<br />
<h2>
How To Install Node.js On Ubuntu 18.04</h2>
<div>
<br /></div>
<h3>
Via PPA (Package Personal Archive)</h3>
<div>
Open the terminal and follow the steps of each line</div>
<h4>
Step 1: Install Dependencies</h4>
<pre data-codetype="HTMLku" title="Install Dependencies"><code class="language-shell">$ sudo apt-get install curl python-software-properties</code></pre>
<h4>
<br /></h4>
<h4>
Step 2: Adding PPA</h4>
For Latest Version:
<br />
<pre data-codetype="HTMLku" title="Adding PPA"><code class="language-shell">$ curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -</code></pre>
For LTS Version:
<br />
<pre data-codetype="HTMLku" title="Adding PPA"><code class="language-shell">$ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -</code></pre>
<h4>
<br /></h4>
<h4>
Step 3: Install Node.js</h4>
<pre data-codetype="HTMLku" title="Install Node.js"><code class="language-shell">$ sudo apt-get install nodejs</code></pre>
<h4>
<br /></h4>
<h4>
Step 4: Testing</h4>
<pre data-codetype="HTMLku" title="Testing"><code class="language-shell">$ node -v
$ npm -v</code></pre>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitFHwlEMQupx9VLfeeAe7MD5VpKFjkEMeD7IQIpAqVos7BgiQNl4SjsUavA_FZ658IUXCBB7fDeLKLV9Hb8CaHGZ0vdCEGOc21k4r5FIf6MRT0lLt5eLHSuiXwr2unW-S4DWT-S21iv4Bw/s1600/nodev.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Picture of Node.js Version" border="0" data-original-height="177" data-original-width="589" height="120" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitFHwlEMQupx9VLfeeAe7MD5VpKFjkEMeD7IQIpAqVos7BgiQNl4SjsUavA_FZ658IUXCBB7fDeLKLV9Hb8CaHGZ0vdCEGOc21k4r5FIf6MRT0lLt5eLHSuiXwr2unW-S4DWT-S21iv4Bw/s400/nodev.png" title="Picture of Node.js Version" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Picture of Node.js Version</td></tr>
</tbody></table>
<br />
<h4>
Step 5: Hello World (Optional)</h4>
<div>
After the installation is complete, we can try to create a hello world with Node .js. Create a file with the name of helloworld.js.</div>
<pre data-codetype="HTMLku" title="Create file Helloworld"><code class="language-shell">$ nano helloworld.js</code></pre>
<div>
<br /></div>
<div>
Insert the code below into the file.</div>
<pre class="line-numbers" data-codetype="HTMLku" title="helloworld.js"><code class="line-numbers language-markup">const http = require('http');
const hostname = '127.0.0.1';
const port = 3000;
const server = http.createServer((req, res) => {
res.statusCode = 200;
res.setHeader('Content-Type', 'text/plain');
res.end('Hello World from Codingster\n');
});
server.listen(port, hostname, () => {
console.log(`Server running at http://${hostname}:${port}/`);
});</code></pre>
<div>
<br /></div>
<div>
To run the file we can do the following command line:</div>
<pre data-codetype="HTMLku" title="Run Node.js"><code class="language-shell">$ node helloworld.js</code></pre>
<div>
<br /></div>
<div>
After the file helloworld.js running so we can view it by opening a browser and type 127.0.0.1:3000 in the address bar of the browser.<br />
<br /></div>
<div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUuiFKSX5ChNjVLWkOtQ2VuZSRl1pxfy0HbXFi-AvDNVZEspC7lZTlf1EzAL0LQYkI4UUUqWyGYsO8kVTO3KpF7qM9JhG5OR71Q6JZk-K8RNeKlU-ib3KqYJP-rOoUpm9z3DsddGsiFSwM/s1600/nodehell.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Picture Hello World with Node.js" border="0" data-original-height="128" data-original-width="464" height="110" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUuiFKSX5ChNjVLWkOtQ2VuZSRl1pxfy0HbXFi-AvDNVZEspC7lZTlf1EzAL0LQYkI4UUUqWyGYsO8kVTO3KpF7qM9JhG5OR71Q6JZk-K8RNeKlU-ib3KqYJP-rOoUpm9z3DsddGsiFSwM/s400/nodehell.png" title="Picture Hello World with Node.js" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Picture Hello World with Node.js</td></tr>
</tbody></table>
</div>
<h3>
Conclusion:</h3>
<div>
<br /></div>
<div>
Node.JS is a javascript runtime environment built on Chrome's V8 JavaScript engine to execute javascript code that is open source and can run on cross-platform (all platforms). There are several steps to install Node.js on Ubuntu, including adding PPA Node.js to Ubuntu, we can install Node.js with the latest version or the LTS version. The second step is to install Node.js with apt-get install. After the installation is complete we can see the version of Node.js installed on Ubuntu.</div>
Codingsterhttp://www.blogger.com/profile/05089479495510517742noreply@blogger.comtag:blogger.com,1999:blog-2030737267737832276.post-34891274848728117472019-01-23T18:42:00.001-08:002019-01-23T18:53:46.712-08:00How To Install Atom Text Editor On Ubuntu 18.04<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRpi1fwfYPfDtJ-Ls3o6XvHaXvLvkv05DbojtlcOEn_N3GDKUOl7Nf7exYY3Njl0y80xwOLypeL4FE8vBSf1Pef8Snh49L6kteKBR-DnvWrJN6_SOZSlEbnunKHOmZ1RxhnPflCjTrhTQa/s1600/atom.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="How To Install Atom Text Editor On Ubuntu 18.04" border="0" data-original-height="901" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRpi1fwfYPfDtJ-Ls3o6XvHaXvLvkv05DbojtlcOEn_N3GDKUOl7Nf7exYY3Njl0y80xwOLypeL4FE8vBSf1Pef8Snh49L6kteKBR-DnvWrJN6_SOZSlEbnunKHOmZ1RxhnPflCjTrhTQa/s640/atom.png" title="How To Install Atom Text Editor On Ubuntu 18.04" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><a href="https://www.codingster.com/2019/01/install-atom-text-editor-ubuntu.html" target="">How To Install Atom Text Editor On Ubuntu 18.04</a></b> - In this post, we will learn how to install the Atom text editor on Ubuntu. Atom is a free or open source text editor developed by Github. To find out more about Atom, you can open the <a href="https://atom.io/" target="_blank">Atom website</a>. One of the advantages of this text editor is the availability of plugins that can help work easier.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Features provided by Atom:</div>
<ul style="background-color: white; box-sizing: inherit; color: #555555; font-family: Roboto; font-size: 14px; list-style: square; margin: 1.5em 0px 1.571em 1.9em; padding: 0px;">
<li style="box-sizing: inherit;">Smart Autocompletion</li>
<li style="box-sizing: inherit;">Multiple Panes</li>
<li style="box-sizing: inherit;">File System Browser</li>
<li style="box-sizing: inherit;">Built-in Package Manager</li>
<li style="box-sizing: inherit;">Find and Replace</li>
<li style="box-sizing: inherit;">Cross-Platform Editing</li>
</ul>
<h2>
How To Install Atom Text Editor On Ubuntu 18.04</h2>
<div>
<br /></div>
<h3>
Via PPA (Personal Package Archive)</h3>
<div>
<br /></div>
Open the terminal and follow the command every step.<br />
<br />
<h4>
Step 1: Adding PPA</h4>
<pre data-codetype="HTMLku" title="Add PPA"><code class="language-shell">$ sudo add-apt-repository ppa:webupd8team/atom
</code></pre>
<h4>
</h4>
<h4>
Step 2: Update and Install Atom</h4>
<pre data-codetype="HTMLku" title="Update and Install"><code class="language-shell">$ sudo apt-get update
$ sudo apt-get install atom
</code></pre>
<br />
After installation is complete then the Atom already in Ubuntu. Just open the Atom from search Ubuntu.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDcgYmNbBjkvFzM4LKAJYAhXN7Q2VxOF9XQ1Kic9mopnxhyphenhyphen7iUmxvoij4xNCv-1HC5EnBZdQDKYSNsRpagXqtBAaV6P9P8n23QTMfLiEbEIdaNV-ai2jRhKaHvbf3V8W4tEKvrOEwz0jyb/s1600/atomcodingster.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Picture of Atom" border="0" data-original-height="768" data-original-width="1366" height="355" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDcgYmNbBjkvFzM4LKAJYAhXN7Q2VxOF9XQ1Kic9mopnxhyphenhyphen7iUmxvoij4xNCv-1HC5EnBZdQDKYSNsRpagXqtBAaV6P9P8n23QTMfLiEbEIdaNV-ai2jRhKaHvbf3V8W4tEKvrOEwz0jyb/s640/atomcodingster.png" title="Picture of Atom" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Picture of Atom</td></tr>
</tbody></table>
<br />
<h4>
Optional: Uninstall Atom</h4>
<div>
<br /></div>
To uninstall Atom, you can use the following command line:<br />
<pre data-codetype="HTMLku" title="Uninstall"><code class="language-shell">sudo apt-get remove --purge atom
</code></pre>
Codingsterhttp://www.blogger.com/profile/05089479495510517742noreply@blogger.comtag:blogger.com,1999:blog-2030737267737832276.post-49680127933626932722019-01-23T14:13:00.002-08:002019-01-23T15:02:02.301-08:00How To Install Postman On Ubuntu 18.04<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgK2PfJpgJd7C2zy-Y8xjiCB9evm2Ed9X8_3-VOBPCmo3a9arQKTKdRFdY7O5pmDiK6-G5vxD3tayH30Xshput1c6aB7e_pq5QMyfPl9g4klfwnrABRcMxigUra9k6WHpXgRwu_YrpU6uUz/s1600/postman.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="901" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgK2PfJpgJd7C2zy-Y8xjiCB9evm2Ed9X8_3-VOBPCmo3a9arQKTKdRFdY7O5pmDiK6-G5vxD3tayH30Xshput1c6aB7e_pq5QMyfPl9g4klfwnrABRcMxigUra9k6WHpXgRwu_YrpU6uUz/s640/postman.png" width="640" /></a></div>
<br />
<b><a href="https://www.codingster.com/2019/01/how-to-install-postman-on-ubuntu.html">How To Install Postman On Ubuntu 18.04</a></b> - In this post, we will learn how to install Postman on Ubuntu 18.04. Postman is a GUI (Graphics User Interface) tool that functions as a Caller API (Application Programming Interface) but not only that there are other features such as Testing API, Sharing Collection for Documentation whose features are free, but there are also paid features such as Real-time Collaboration features Team, API Monitoring, and Integration. To find out more about the postman, you can open the <a href="https://www.getpostman.com/" target="_blank">Postman website</a>.<br />
<br />
<h3>
Step 1: Download and Install Postman</h3>
<div>
<div>
Open a terminal and follow the steps of each row:</div>
<div>
<br /></div>
</div>
<div>
For Ubuntu 32 Bit:</div>
<div>
<br />
<pre data-codetype="JQueryku" title="Download & Install Postman 32 Bit"><code class="language-shell">$ wget https://dl.pstmn.io/download/latest/linux32 -O postman.tar.gz
$ sudo tar -xzf postman.tar.gz -C /opt
$ rm postman.tar.gz
$ sudo ln -s /opt/Postman/Postman /usr/bin/postman
</code></pre>
For Ubuntu 64 Bit:</div>
<div>
<pre data-codetype="JQueryku" title="Download & Install Postman 64 Bit"><code class="language-shell">$ wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz
$ sudo tar -xzf postman.tar.gz -C /opt
$ rm postman.tar.gz
$ sudo ln -s /opt/Postman/Postman /usr/bin/postman
</code></pre>
<br />
<h3>
Step 2: Adding icon laucher Postman</h3>
</div>
<div>
After downloading and installing is complete, the Postman launcher icon is not yet on Ubuntu so we must configure it by adding the launcher icon file, open the terminal and type the following command.</div>
<div>
<br /></div>
<div>
<br /></div>
<pre data-codetype="JQueryku" title="Create file icon launcher Postman"><code class="language-shell">$ nano ~/.local/share/applications/postman.desktop
</code></pre>
Enter the configuration below into the file.
<br />
<pre data-codetype="JQueryku" title="Configuration file icon Postman"><code class="language-shell">[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=postman
Icon=/opt/Postman/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
</code></pre>
After the installation is complete, Postman is already on our Ubuntu. Just open postman on Ubuntu search, then create an account or login if you already have it.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXEr4K8-Lww5xsAs-Gzog6l7UEzFs1qaOY2zLFOghxmR6wwx5fy97hxPFylgkrJZ9L9MMlew9KYAvwgKbf_Ihq_mMXS3Odfymn4nMKfyCRNCZrlxe75yn-B4yE3SFnVyjCD7pOtye21WuS/s1600/postman2.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Picture of the Postman" border="0" data-original-height="768" data-original-width="1366" height="358" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXEr4K8-Lww5xsAs-Gzog6l7UEzFs1qaOY2zLFOghxmR6wwx5fy97hxPFylgkrJZ9L9MMlew9KYAvwgKbf_Ihq_mMXS3Odfymn4nMKfyCRNCZrlxe75yn-B4yE3SFnVyjCD7pOtye21WuS/s640/postman2.png" title="Picture of the Postman" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Picture of the Postman</td></tr>
</tbody></table>
<br />
<h3>
Conclusion:</h3>
<div>
Postman is an application tool for Caller API that is free but has paid features. Postman also supports the Ubuntu operating system and his family. From the beginning of the installation process Postman we have to download the Postman installer file with type compress tar.gz after downloading we have to extract it and move it to the opt directory in the root and also link to the /usr/bin directory. After the installation is complete Postman can only be opened through the terminal, to open with the launcher icon we have to create a configuration file to display on the Ubuntu menu. We must log in first to use this postman tool.</div>
Codingsterhttp://www.blogger.com/profile/05089479495510517742noreply@blogger.comtag:blogger.com,1999:blog-2030737267737832276.post-34001338879479037962019-01-23T12:07:00.001-08:002019-01-23T12:13:57.596-08:00Go Program To Addition Two Matrices (Golang)<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKBowxTg6xk_LBgfyTSyGKy1a9zeV0PYLH42KYuPKuPrL205ioncVuaN8I-3wRvpgkJs5FJoyBu9ETzzzdXUgoIzecyKQg0M7Q7HR5poPKvKNIZxCs7ha4K5l6VBSs2arBHo16VqkGSRw3/s1600/additionmatricesgo.png" style="margin-left: 1em; margin-right: 1em;"><img alt="Go Program To Addition Matrices (Golang)" border="0" data-original-height="901" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKBowxTg6xk_LBgfyTSyGKy1a9zeV0PYLH42KYuPKuPrL205ioncVuaN8I-3wRvpgkJs5FJoyBu9ETzzzdXUgoIzecyKQg0M7Q7HR5poPKvKNIZxCs7ha4K5l6VBSs2arBHo16VqkGSRw3/s640/additionmatricesgo.png" title="Go Program To Addition Matrices (Golang)" width="640" /></a></div>
<br />
<b><a href="https://www.codingster.com/2019/01/addition-matrices-go.html">Go Program To Addition Two Matrices</a></b> - in this post we will learn how to create a program to calculate the addition of two matrices in Go programming language.<br />
<br />
Matrix is a set of numbers arranged in rows (vertical) and columns (horizontal) can be referred to as a two-dimensional array. matrix addition have terms that are the order of the matrix must be equal, or in other words, the two matrices must have the number of rows and columns are the same.<br />
<br />
<h3>
Source Code :</h3>
<div>
<br /></div>
<pre class="line-numbers" data-codetype="Golang" title="subtractionmatrices.go"><code class="line-numbers language-markup">
package main
import (
"fmt"
)
func main() {
var i, j, m, n int
var matriksA [10][10]int
var matriksB [10][10]int
fmt.Print("Enter the number of rows of a matrix: ")
fmt.Scanln(&m)
fmt.Print("Enter the number of columns of the matrix: ")
fmt.Scanln(&n)
fmt.Println("Enter the Matrix A element: ")
for i = 0; i < m; i++ {
for j = 0; j < n; j++ {
fmt.Scan(&matriksA[i][j])
}
}
fmt.Println("Enter the Matrix B element: ")
for i = 0; i < m; i++ {
for j = 0; j < n; j++ {
fmt.Scan(&matriksB[i][j])
}
}
fmt.Println("The results addition of matrix A & B: ")
for i = 0; i < m; i++ {
for j = 0; j < n; j++ {
fmt.Print(matriksA[i][j]+matriksB[i][j], "\t")
}
fmt.Println()
}
}
</code></pre>
<br />
Save the source code with the name of additionmatrices.go, but adjust wrote with a file name that chills and don't forget the extension should .go<br />
<br />
<h3>
Compile & Run :</h3>
<div>
Here's how to compile source code manually:</div>
<pre class="line-numbers" data-codetype="Golang" title="Compile & Run"><code class="line-numbers language-markup">
$ go build additionmatrices.go
$ ./additionmatrices
</code></pre>
You can run without having to compile it:<br />
<pre class="line-numbers" data-codetype="Golang" title="Run without compile"><code class="line-numbers language-markup">
$ go run additionmatrices.go
</code></pre>
<h3>
</h3>
<h3>
The Output of Program :</h3>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8u9x3HcjNa6XYz-LeG_gPier9XozPkx8duTDquZEeqxMqtAzsW8i8zE18dDXsl0WwZ0PSmiMqQaVKyu051BeQMVWTpSFsoYcWbkqfNu42w2cRo_X4T9_9a7O3XD4vsxSrCR0HH83Pdb0n/s1600/additionmatrices1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="The Output of Program Addition Two Matrices (Golang)" border="0" data-original-height="346" data-original-width="706" height="312" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8u9x3HcjNa6XYz-LeG_gPier9XozPkx8duTDquZEeqxMqtAzsW8i8zE18dDXsl0WwZ0PSmiMqQaVKyu051BeQMVWTpSFsoYcWbkqfNu42w2cRo_X4T9_9a7O3XD4vsxSrCR0HH83Pdb0n/s640/additionmatrices1.png" title="The Output of Program Addition Two Matrices (Golang)" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">The Output of Program Addition Two Matrices (Golang)</td></tr>
</tbody></table>
<br /></div>
<h3>
Conclusion :</h3>
From the results of the matrix addition program can be run without any error and display the results of the addition of matrices A and matrix B.<br />
<br />
<h3>
Video :<br /><div class="separator" style="clear: both; text-align: center;">
<br /></div>
</h3>
<iframe allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/oMbXvJQddMA" width="560"></iframe>Codingsterhttp://www.blogger.com/profile/05089479495510517742noreply@blogger.comtag:blogger.com,1999:blog-2030737267737832276.post-53795435257996995762019-01-22T22:31:00.000-08:002019-01-23T10:08:31.213-08:00Go Program To Subtraction Two Matrices (Golang)<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgV9xGVsvu6P04O_iWr0gs9fajXqAlNOq9Vrfksa_Z7qVxCS41THPlf64IozjvkYWAXykV_0OLoLuNIEUBvgfVjeieBBOfgQoo0IWtmU5eJpkou6KKtYxyJhJpw0EbtJ5UONhbyHTc6Ybwo/s1600/subtraction.png" imageanchor="1"><img alt="Go Program To Subtraction Two Matrices (Golang)" border="0" data-original-height="901" data-original-width="1600" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgV9xGVsvu6P04O_iWr0gs9fajXqAlNOq9Vrfksa_Z7qVxCS41THPlf64IozjvkYWAXykV_0OLoLuNIEUBvgfVjeieBBOfgQoo0IWtmU5eJpkou6KKtYxyJhJpw0EbtJ5UONhbyHTc6Ybwo/s400/subtraction.png" title="Go Program To Subtraction Two Matrices (Golang)" width="400" /></a></div>
<b><a href="https://www.codingster.com/2019/01/subtraction-two-matrices-go.html">Go Program To Subtraction Two Matrices</a></b> - in this post we will learn how to create a program to calculate the reduction of two matrices in Go programming language.<br />
<br />
Matrix is a set of numbers arranged in rows (vertical) and columns (horizontal) can be referred to as a two-dimensional array. matrix reduction have terms that are the order of the matrix must be equal, or in other words, the two matrices must have the number of rows and columns are the same.<br />
<br />
<h3>
Source Code :</h3>
<div>
<br /></div>
<pre class="line-numbers" data-codetype="Golang" title="subtractionmatrices.go"><code class="line-numbers language-markup">
package main
import (
"fmt"
)
func main() {
var i, j, m, n int
var matriksA [10][10]int
var matriksB [10][10]int
fmt.Print("Enter the number of rows of a matrix: ")
fmt.Scanln(&m)
fmt.Print("Enter the number of columns of the matrix: ")
fmt.Scanln(&n)
fmt.Println("Enter the Matrix A element: ")
for i = 0; i < m; i++ {
for j = 0; j < n; j++ {
fmt.Scan(&matriksA[i][j])
}
}
fmt.Println("Enter the Matrix B element: ")
for i = 0; i < m; i++ {
for j = 0; j < n; j++ {
fmt.Scan(&matriksB[i][j])
}
}
fmt.Println("The results matrix reduction A & b: ")
for i = 0; i < m; i++ {
for j = 0; j < n; j++ {
fmt.Print(matriksA[i][j]-matriksB[i][j], "\t")
}
fmt.Println()
}
}
</code></pre>
<br />
Save the source code with the name of subtractionmatrices.go, but adjust wrote with a file name that chills and don't forget the extension should .go<br />
<br />
<h3>
Compile & Run :</h3>
<div>
Here's how to compile source code manually:</div>
<pre class="line-numbers" data-codetype="Golang" title="Compile & Run"><code class="line-numbers language-markup">
$ go build subtractionmatrices.go
$ ./subtractionmatrices
</code></pre>
You can run without having to compile it:<br />
<pre class="line-numbers" data-codetype="Golang" title="Run without compile"><code class="line-numbers language-markup">
$ go run subtractionmatrices.go
</code></pre>
<h3>
</h3>
<h3>
The Output of Program :</h3>
<div>
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipmHWzkt4nE_CfmjK-m4D7vOR1Y4WOjl4DlL_EL1fSv8nh6Sww6rMsvmOvbWPSQq5wx8Ms9XbpqMpLS0D8ZXj2n7JIfHac71xiEyJG2G2YlnZRNM5pxxOQtDotCCmn167pZGX2WSpHl8WG/s1600/subtractionmatrices.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Output of Program subtraction two matrices golang" border="0" data-original-height="335" data-original-width="929" height="230" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipmHWzkt4nE_CfmjK-m4D7vOR1Y4WOjl4DlL_EL1fSv8nh6Sww6rMsvmOvbWPSQq5wx8Ms9XbpqMpLS0D8ZXj2n7JIfHac71xiEyJG2G2YlnZRNM5pxxOQtDotCCmn167pZGX2WSpHl8WG/s640/subtractionmatrices.png" title="Output of Program subtraction two matrices golang" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">The Output of Program Subtraction Two Matrices (Golang)</td></tr>
</tbody></table>
<div>
<br /></div>
<h3>
Conclusion :</h3>
From the results of the matrix reduction program can be run without any error and display the results of the subtraction of matrices A and matrix B.<br />
<br />
<h3>
Video :<br /><div class="separator" style="clear: both; text-align: center;">
<br /></div>
</h3>
<iframe width="560" height="315" src="https://www.youtube.com/embed/ycVwalartyo" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>Codingsterhttp://www.blogger.com/profile/05089479495510517742noreply@blogger.comtag:blogger.com,1999:blog-2030737267737832276.post-89681780236387772912015-12-04T16:22:00.004-08:002019-01-21T10:48:18.676-08:00Install and Configure DNS Server on FreeBSD 10.0<div style="text-align: center;">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtG3Q5Bl4ZuYLJ5bEcSRqfsfmbgyGgcNJnENU6Qq_oPl-KkZnn_f_eRPCH753y76ojWIpLLCqHDyRNA1-vWdns-Kn7BxqHypfbWNCM8bPX3mTPsEDimP_4Sqe3nocoG4jiMPqHSWTb8iG0/s1600/dnsserver.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Install and Configure DNS Server on FreeBSD 10.0" border="0" data-original-height="400" data-original-width="640" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtG3Q5Bl4ZuYLJ5bEcSRqfsfmbgyGgcNJnENU6Qq_oPl-KkZnn_f_eRPCH753y76ojWIpLLCqHDyRNA1-vWdns-Kn7BxqHypfbWNCM8bPX3mTPsEDimP_4Sqe3nocoG4jiMPqHSWTb8iG0/s400/dnsserver.png" title="Install and Configure DNS Server on FreeBSD 10.0" width="400" /></a></div>
<br />
<br />
<br />
<iframe allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/3duqT7ScNb8" width="560"></iframe></div>
Codingsterhttp://www.blogger.com/profile/05089479495510517742noreply@blogger.com