Skip to content

Instantly share code, notes, and snippets.

View vinayb21's full-sized avatar
🎯
Focusing

vinay badhan vinayb21

🎯
Focusing
  • HackerRank
  • Bangalore, India
View GitHub Profile
apiVersion: v1
kind: Namespace
metadata:
name: ingress-nginx
labels:
app.kubernetes.io/name: ingress-nginx
app.kubernetes.io/instance: ingress-nginx
---
/**
* Factory for JSON-RPC proxy objects.
*
* A JSON-RPC proxy exposes the programmatic interface of an object through
* JSON-RPC. This allows remote programs to call methods of this objects by
* sending JSON-RPC requests. This takes place over a bi-directional stream,
* where both ends can expose an object and both can call methods each other's
* exposed object.
*
* For example, assuming we have an object of the following type on one end:
{
"name": "sample",
"private": true,
"version": "0.0.0",
"description": "a sample application",
"keywords": [],
"dependencies": {
"babel-eslint": "^8.2.2",
"ejs": "2.3.4",
"eslint": "^4.19.0",
@vinayb21
vinayb21 / voice.xml
Last active October 29, 2018 07:05
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Say voice="alice">Record your message in three, two, one, start.</Say>
<Record action="http://90e3ae2d.ngrok.io/paper/record_call" recordingStatusCallback="http://90e3ae2d.ngrok.io/paper/set_record_url" timeout="10" maxLength="15" playBeep="true" />
<Hangup/>
</Response>