Skip to content

Instantly share code, notes, and snippets.

View mhasan3's full-sized avatar
🎯
Focusing

Mahmudul Hasan mhasan3

🎯
Focusing
View GitHub Profile

Assert:

এই মডিউল টি অ্যাপ্লিকেশনের ইউনিট টেস্ট লেখার জন্য ইউজ করা হয়। এটিকে অ্যাকসেস করা হয়:

require('assert')

Buffer:

Basic Google Chrome Extensions Developing

Google Chrome is by far the easiest browser to make extensions for, as you will see from the steps below. We can build an extension for it using only HTML, CSS, and JavaScript.


Testing Your Very First Extension

@mhasan3
mhasan3 / 0_reuse_code.js
Last active August 29, 2015 14:25
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@mhasan3
mhasan3 / shortcode.md
Created May 26, 2015 16:18
Adding shortcodes to visual composer.

Shortcodes in Visual Composer

For example you have your own shortcode "hello_name":

function hello($atts, $content) {

extract(shortcode_atts( array(

'salutation' => !empty($salutation) ? $salutation : 'Mr.', 
@mhasan3
mhasan3 / gulp.js
Last active August 29, 2015 14:05
test gulp file
var gulp = require('gulp');
var minifycss = require('gulp-minify-css');
var autoprefixer = require('gulp-autoprefixer');
var notify = require('gulp-notify');
var stripDebug = require('gulp-strip-debug');
var uglify = require('gulp-uglify');
gulp.task('css', function() {
return gulp.src('assets/css/sentinel.css')