Skip to content

Instantly share code, notes, and snippets.

View ethicalvats's full-sized avatar
🎯
Focusing

Vatsal Mishra ethicalvats

🎯
Focusing
View GitHub Profile
@ethicalvats
ethicalvats / main.go
Last active November 4, 2019 14:44
movement in arrays
package main
import (
"bufio"
"fmt"
"math"
"os"
"strconv"
"strings"
)
/*
// Sample code to perform I/O:
fmt.Scanf("%s", &myname) // Reading input from STDIN
fmt.Println("Hello", myname) // Writing output to STDOUT
// Warning: Printing unwanted or ill-formatted data to output will cause the test cases to fail
*/
// Write your code here
@ethicalvats
ethicalvats / main.go
Last active October 21, 2019 12:46
Hackerearth Voice recognition
package main
import (
"fmt"
"regexp"
)
func check(e error) {
if e != nil {
panic(e)
@ethicalvats
ethicalvats / main.go
Created October 16, 2019 12:45
hackerearth golang i/o
package main
import (
"bufio"
"fmt"
"os"
"strconv"
)
func main() {
Welcome
#Deplyoing to Production
## Deployment using dokku (docker manager)
*The current way of setting up the server requires knowledge with following:*
- *Git*
- *docker*
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html">
<polymer-element name="my-element">