Skip to content

Instantly share code, notes, and snippets.

View mizanulhasan's full-sized avatar

Mizanul Hasan mizanulhasan

  • Techinsec Inc.
  • Bangladesh
View GitHub Profile
#include <stdio.h>
/* registers */
#define NUM_REGS 4
int regs[NUM_REGS];
/* program instructions */
int prog[] = {
0x1005, /* loadi r0 #5 */
0x1101, /* loadi r1 #1 */
@raselahmed7
raselahmed7 / enable-masonry.php
Last active August 29, 2015 14:06
Enable masonry form wordpress
add_action( 'wp_enqueue_scripts', 'jk_masonry' );
function jk_masonry() {
wp_enqueue_script( 'jquery-masonry', array( 'jquery' ) );
}
/*
How to use?
$('#container').masonry({ singleMode: true });