Skip to content

Instantly share code, notes, and snippets.

View nish17's full-sized avatar
🏠
Working from home

Nimesh Solanki nish17

🏠
Working from home
View GitHub Profile

Keybase proof

I hereby claim:

  • I am nish17 on github.
  • I am nish17 (https://keybase.io/nish17) on keybase.
  • I have a public key ASDgS2Q9-4XIb03jeAcLw-EY4HY2KcypWEYwdc9Nj7ej1go

To claim this, I am signing this object:

@nish17
nish17 / 4-FORK.c
Created November 28, 2018 04:55
Operating System programs
#include <stdio.h>
int main( void )
{
printf( "Parent with pid %d\n", getpid() );
if ( fork() == 0 ){
printf("%d\n",getpid());
for ( int i = 0; i < 3; i++ ){
if(i==0)printf("ONE\n");
{
"responseMetadata": {
"status": {
"code": 10,
"message": "Failed to parse Dialogflow response into AppResponse because of empty speech response",
"details": [
{
"@type": "type.googleapis.com/google.protobuf.Value",
"value": "{\"id\":\"25545a21-d8c1-4557-9ab2-2efc97941963\",\"timestamp\":\"2018-08-12T10:34:49.565Z\",\"lang\":\"en-us\",\"result\":{},\"status\":{\"code\":200,\"errorType\":\"success\"},\"sessionId\":\"1534070089438\"}"
}