Skip to content

Instantly share code, notes, and snippets.

@iyer-arvind
iyer-arvind / SimpleSocket.py
Created September 4, 2016 08:34
This is a very simple class for server client persistent data
#!/usr/bin/env python
import pickle
import socket
import struct
class BaseSocket(object):
BUFSIZE = 2048
#!/usr/bin/env python
import numpy as np
s = 0
c = 9
solved = False
trials = 0
@iyer-arvind
iyer-arvind / csv_to_bin.c
Created June 9, 2017 10:03
Convert CSV to Binary converter
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
typedef struct {
double t;
double x;
double y;
double z;