Skip to content

Instantly share code, notes, and snippets.

View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
@TheAhmadSharif
TheAhmadSharif / react-redux.js
Last active Oct 17, 2019
react-redux one page example only 20 lines code
View react-redux.js
import { createStore } from 'redux'
const action = {
type: 'make_soap',
soap: {
color: "White",
weight: "75gm"
}
}
/* This is reducer */
@TheAhmadSharif
TheAhmadSharif / BDdistrictList.txt
Created Feb 11, 2018
Bangladesh 64 District List
View BDdistrictList.txt
Dhaka
Faridpur
Gazipur
Gopalganj
Jamalpur
Kishoreganj
Madaripur
Manikganj
Munshiganj
Mymensingh
@TheAhmadSharif
TheAhmadSharif / android.txt
Created Apr 24, 2016
AndroidSDK Installation
View android.txt
# install openjdk
$ sudo apt-get install openjdk-7-jdk
# download android sdk
$ wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz
# move the .tgz file
# Rigth click the file[.tgz] and select Extract Here.
# After Extracting, Now you can see that a file called android-sdk-linux.
View MyScriptLibrary.js
$(function () {
var DocumentHeight = $(document).height() - $('footer#page').height() - $('header#page').height();
$('ul.rslides > li > a > img').css('height', DocumentHeight);
});
// Object Center