Written with Ansible 2.7.6
Define remote hosts in /etc/ansible/hosts
preferably in groups along with their variable groups. Write the variables simply in plain text.
# Inventory File /etc/ansible/hosts
[home]
package main | |
import ( | |
"fmt" | |
) | |
func main() { | |
/* | |
Given a stream of numbers, | |
use two goroutines to print odd and even numbers by each |
package main | |
import ( | |
"bufio" | |
"io/ioutil" | |
"os" | |
"sort" | |
"strconv" | |
) |
const protoLoader = require('@grpc/proto-loader'); | |
const grpcLibrary = require('grpc'); | |
const options = { | |
includeDirs: [ | |
'./tensorflow_serving/apis/', | |
'./tensorflow_serving/config/', | |
'./tensorflow_serving/core/', | |
'./tensorflow_serving/util/', | |
'./tensorflow_serving/sources/', |
using System; | |
namespace DemoApp | |
{ | |
public class Almira | |
{ | |
private Door Door { get; set; } | |
public void LockAlmira() | |
{ | |
this.Door.LockDoor(); |
~/Downloads/sublime_text_3
which subl
or which sublime
or whatever you've named it currently// Extracted from "https://www.geeksforgeeks.org/must-do-coding-questions-for-companies-like-amazon-microsoft-adobe/" on April 7, 2018 | |
/* How To Use : | |
1. Install Node.js | |
2. Fire up your console and create a fresh directory and enter it. | |
3. Run `npm init -y && npm i superagent cheerio` | |
4. Save this file in that directory. | |
5. Run it with `node GFGExtractor.js` | |
*/ | |
/* | |
Required Modules |
Closures are special objects or functions that refer to independent variables and/or functions defined in a scope. These keep intact the environment in which they were created.
Normally, the local variables within a function only exist for the duration of that function's execution. However, a Closure retains the function as well as the "environment" (variables in that scope). Thus, the existence of that variable will be accounted for if we're using closures.
Closure definitions returns an accessible quantity like an object (in case of module pattern design) or a function (in case of attaching event listeners dynamically).