Steps with explanations to set up a server using:
- Virtualenv
- Virtualenvwrapper
- Django
- Gunicorn
| Our knowlarity company mainly have three departments | |
| 1) Engineering | |
| 2) Marketing | |
| 3) Sales . | |
| Engineering is once again divided into | |
| 1) Web development | |
| 2) Front end design and UX | |
| 2) Developer Operations |
| id: 1 | |
| data: {"dispnumber":"+919066021780","k_api_key":"15e4f59e-ef19-11e4-bead-22000aaca33c","timezone_offset":"+0530","business_call_type":"DTMF","caller_id":"+918376901385","Call_Type":"Incoming","uuid":"734fd7e4-1bec-4aaf-85cf-6c8294dd4f88","call_duration":13,"destination":null,"konnect_id":630,"application":"konnect","end_time":"2015-11-20 11:49:43+05:30","resource_url":null,"type":"CDR","start_time":"2015-11-20 11:49:30+05:30"} | |
| id: 2 | |
| data: {"event_type":"HANGUP","k_api_key":"15e4f59e-ef19-11e4-bead-22000aaca33c","business_call_type":"Unanswered","agent_number":null,"call_recording":null,"knowlarity_number":"+919066021780","uuid":"734fd7e4-1bec-4aaf-85cf-6c8294dd4f88","call_direction":"Inbound","caller":"+918376901385","customer_number":"+918376901385","konnect_id":630,"application":"konnect","version":"1.0","k_number":"+919066021780","type":"HANGUP","called":null} | |
| id: 3 | |
| data: {"event_type":"HANGUP","k_api_key":"15e4f59e-ef19-11e4-bead-22000aaca33c","business_call_type":"Unanswered","agent_number":null |
| source = new EventSource(KONNECT_POPUP_ENDPOINT + key + '/suitecrm/' + agentNumber); | |
| //sessionStorage.clear(); | |
| source.onmessage = function(event) { | |
| var data = JSON.parse(event.data); | |
| console.log('I recieved an event.........'); | |
| console.log(data); | |
| getCall(data); | |
| } | |
| } |
| import datetime | |
| import os | |
| __name__ = "Script for generating Markdown metadata for a new post for pelican" | |
| __author__ = "Naren Arya" | |
| __date__ = "08-01-2016" | |
| BASE_DIR = os.path.dirname(os.path.dirname(__file__)) |
| def print_figure(n): | |
| for i in range(1, n+1) + list(reversed(range(1, n))): | |
| print ''.join([str(i) for i in range(1, i+1)]) | |
| print_figure(4) |
| package main | |
| import "fmt" | |
| func main(){ | |
| s := []string{"Naren", "Saikiran"} | |
| // appending an element at the end of slice | |
| s = append(s, "Manoj", "Harish") | |
| fmt.Println(s) | |
| // removing element at the end |
| package main | |
| import ( | |
| "fmt" | |
| "bufio" | |
| "os" | |
| ) | |
| func main() { | |
| inputreader := bufio.NewReader(os.Stdin) |
| package main | |
| import ("fmt" | |
| "bufio" | |
| "os" | |
| "strconv" | |
| "strings" | |
| ) | |
| func cleanString(stream string, seperator string) []int{ |
| // https://www.hackerrank.com/challenges/plus-minus | |
| package main | |
| import ("fmt" | |
| "bufio" | |
| "os" | |
| "strconv" | |
| "strings" | |
| ) |