Skip to content

Instantly share code, notes, and snippets.

View oowasn's full-sized avatar

Nataniel O. oowasn

  • Abidjan, Côte d'Ivoire
View GitHub Profile
#include <stdlib.h>
#include <stdio.h>
#include "mpi.h"
#include <time.h>
#include <sys/time.h>
/*
In here 'process o' which distribute the workload to other processes is considered
as Root (Master) process and other processes which do the computation is considered
as Slave task processes.
@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active May 9, 2025 10:21
crack activate Office on mac with license file
@rossov
rossov / ipython3_mavericks.sh
Last active June 19, 2022 23:02
Install ipython3 on Mac OS X Mavericks
# Install ipython3 on Mac OS X Maverics
# Update brew
brew update
brew upgrade
# Install Python 3
brew install python3
# Install ipython
@vrushank-snippets
vrushank-snippets / Convert strings to slugs
Created March 23, 2012 11:03
PHP : Convert strings to slugs
function slug($str){
$str = strtolower(trim($str));
$str = preg_replace('/[^a-z0-9-]/', '-', $str);
$str = preg_replace('/-+/', "-", $str);
return $str;
}