Skip to content

Instantly share code, notes, and snippets.

View mohabouje's full-sized avatar
Focusing

Mohammed Boujemaoui mohabouje

Focusing
View GitHub Profile
@btfak
btfak / useHexo.md
Created May 26, 2016 09:41
How to use Hexo and deploy to GitHub Pages
@rejuvyesh
rejuvyesh / gcc-phat.m
Last active November 26, 2021 15:17
gcc phat algo
for i = 1:3
tau(i) = gcc_phat(x{i}(1,:), x{i}(2,:))
end
function tau = gcc_phat(sig1, sig2)
% Find FFT for the signals
fft1 = fft(sig1, fftSize(sig1));
fft2 = fft(sig2, fftSize(sig2));
% Find R(\Tau)
G12 = fft1.*conj(fft2);
@nddrylliog
nddrylliog / android_configure.sh
Created February 1, 2013 00:51
Cross-compile autotools library for Android / arm-linux-androideabi I stick that in ~/bin/, chmod +x, and then run it in place of "./configure" in my project. Then a make and make install later, the prefix contains libraries built for android. Neato eh?
#!/bin/sh
# I put all my dev stuff in here
export DEV_PREFIX=$HOME/Dev/
# Don't forget to adjust this to your NDK path
export ANDROID_NDK=${DEV_PREFIX}/android-ndk-r8d/
export CROSS_COMPILE=arm-linux-androideabi