Skip to content

Instantly share code, notes, and snippets.

View embeddedmz's full-sized avatar

Mohamed Mzoughi embeddedmz

  • Tunisia
View GitHub Profile
@embeddedmz
embeddedmz / test_interpolate.cpp
Created November 23, 2019 12:50 — forked from dhirschfeld/test_interpolate.cpp
Demonstration of bug in MKL version 11.2
#include <iostream>
#include <vector>
#include <mkl.h>
#include <mkl_df.h>
using namespace std;
int main () {
const int nx = 11; // #rows in x
const int ny = 1; // #cols in y
@embeddedmz
embeddedmz / README.md
Created February 20, 2018 15:20 — forked from yamnikov-oleg/LICENSE
Shared (interprocess) mutexes on Linux

shared_mutex

Microlibrary for inter-process mutexes on Linux.

Example which says it all

#include "shared_mutex.h"
#include <stdio.h>

GPIB interfacing using Agilent 82357B on Ubuntu Linux

I initially had some problems installing on my laptop, so decided to boot Ubuntu 12.04.5 LTS, 3.13.0-32-generic from USB and work from there.

Download the linux-gpib package, unpack and build. Get python-setuptools first for later Python bindings support.

wget --content-disposition --no-check-certificate https://sourceforge.net/projects/linux-gpib/files/linux-gpib%20for%203.x.x%20and%202.6.x%20kernels/3.2.20/linux-gpib-3.2.20.tar.gz/download
@embeddedmz
embeddedmz / update_curl.sh
Created November 17, 2016 20:17 — forked from fideloper/update_curl.sh
Update curl on Ubuntu 14.04
#! /usr/bin/env bash
# Install any build dependencies needed for curl
sudo apt-get build-dep curl
# Get latest (as of Feb 25, 2016) libcurl
mkdir ~/curl
cd ~/curl
wget http://curl.haxx.se/download/curl-7.50.2.tar.bz2
tar -xvjf curl-7.50.2.tar.bz2