Skip to content

Instantly share code, notes, and snippets.

# month day events births deaths total
1 1 109 341 107 557
1 2 33 194 86 313
1 3 47 203 115 365
1 4 42 166 102 310
1 5 38 182 87 307
1 6 45 236 111 392
1 7 38 189 103 330
1 8 51 243 125 419
1 9 47 198 118 363
@mani-monaj
mani-monaj / gist:e6ef366c2e20eb0e09e2
Created April 17, 2015 00:39
ardrone_autonomy : Extract Tag Info
#define DETECTION_EXTRACT_SOURCE(type) ( ((type)>>16) & 0x0FF )
#define DETECTION_EXTRACT_TAG(type) ( (type) & 0x0FF )
typedef enum
{
DETECTION_SOURCE_CAMERA_HORIZONTAL=0, /*<! Tag was detected on the front camera picture */
DETECTION_SOURCE_CAMERA_VERTICAL, /*<! Tag was detected on the vertical camera picture at full speed */
DETECTION_SOURCE_CAMERA_VERTICAL_HSYNC, /*<! Tag was detected on the vertical camera picture inside the horizontal pipeline */
DETECTION_SOURCE_CAMERA_NUM,
} DETECTION_SOURCE_CAMERA;
@mani-monaj
mani-monaj / wordpress-4.0-tokens-combined.csv
Created September 21, 2014 23:50
Word frequency stats of Wordpress 4.0 - All language files combined
# Total: 4168 messages 1739 tokens
to 452
the 423
you 287
not 263
this 262
strong 205
your 204
is 192
site 192
@mani-monaj
mani-monaj / combined.csv
Last active August 29, 2015 14:03
Word frequency stats of Wordpress 3.9 language files
# 4128 messages 1720 tokens
the 192
to 178
you 155
not 139
this 120
your 114
strong 113
is 98
site 75
@mani-monaj
mani-monaj / gist:2949997
Created June 18, 2012 18:50
OpenCV CMake output
-- General configuration for OpenCV 2.4.1 =====================================
--
-- Platform:
-- Host: Linux 3.2.0-25-generic x86_64
-- CMake: 2.8.7
-- CMake generator: Unix Makefiles
-- CMake build tool: /usr/bin/make
-- Configuration: Release
--
-- C/C++:
@mani-monaj
mani-monaj / mps_404_redirect.php
Created March 8, 2012 05:29
Systematic 404 redirect for wordpress
<?php
/*
Plugin Name: Manionline 404 Redirect
Plugin URI: http://www.manionline.org
Description: Redirect any 404 on manionline.org to blog.manionline.org with validity check
Version: 0.1
Author: Mani Monajjemi
Author URI: http://www.manionline.org
This software is distributed in the hope that it will be useful,