Install Odoo on Vagrant

You can find some boxes which provides odoo packages. I tried some and got few problems so, I made solution my way to run odoo on vagrant.

Steps are:

  1. Download and install Virtualbox
  2. Download and install Vagrant
  3. cd to folder where you wanted to install vagrant
  4. vagrant init ubuntu/trusty64 ( here I uses ubuntu box you can use other linux boxes)
  5. vagrant up –provider virtualbox
  6. vagrant ssh
  7. sudo wget
  8. sudo chmod +x
  9. ./
  10. Thats it, just wait for finish the installation.
  11. To make the odoo load from host pc have to edit Vagrantfile
    1. search and un-comment ( remove # from the beginning of the line ) ‘ “private_network”, ip: “” ( on ubuntu/trusty64 box have this line and just need to remove the # )
  12. save the vagrant file
  13. vagrant reload
  14. try visit


n.b: from step 7-10  taken from here

Little Trick to parseURL using javascript

function parseURL(url) {
    var a =  document.createElement('a');
    a.href = url;
    return {
        source: url,
        protocol: a.protocol.replace(':',''),
        host: a.hostname,
        port: a.port,
        params: (function(){
            var ret = {},
                seg =^\?/,'').split('&'),
                len = seg.length, i = 0, s;
            for (;i<len;i++) {
                if (!seg[i]) { continue; }
                s = seg[i].split('=');
                ret[s[0]] = s[1];
            return ret;
        file: (a.pathname.match(/\/([^\/?#]+)$/i) || [,''])[1],
        hash: a.hash.replace('#',''),
        path: a.pathname.replace(/^([^\/])/,'/$1'),
        relative: (a.href.match(/tps?:\/\/[^\/]+(.+)/) || [,''])[1],
        segments: a.pathname.replace(/^\//,'').split('/')

jQuery Object maping and templating method

If you wanted to get all the attributes into object then use this:

var attrs = $(selector).map(function() {
var attributes = {};
jQuery.each(this.attributes, function(index, attr) {
attributes[] = attr.value;
return attributes;

then wants to integrate the exact attributes into jquery.tmpl then I uses this:

params[index]= this;
params = { 'options': params};
'{{each options}}'+
'<span {{each(i,v) options[$index]}} ${i}="${v}" {{/each}}>${title}</span>'+

jQuery.tmpl(‘jqTemplate’, params ).appendTo(‘body’);

My Bookmarks


Slideshow 2! A javascript class for Mootools 1.2 to stream and animate the presentation of images on your website
Making a Cool Spotlight Effect with jQuery | web enavu
15 Amazing jQuery Image Gallery/Slideshow Plugins and Tutorials – Speckyboy Design Magazine


21 Brilliant jQuery Image Gallery/Slideshow Plugins
37 Fresh jQuery Image And Gallery Display Solutions
Top 14 jQuery Photo Slideshow / Gallery Plugins | Chicago Web Design
jQuery lightbox for images, videos, YouTube, iframes | Stéphane Caron – No Margin For Errors
Kwicks for jQuery
Flash Components – Jumpeye – V3 Components for Flash CS3 and Flash 8
Tutorial Lounge [Learn Step by Step] – coin-slider – Coin Slider – Project Hosting on Google Code
Bedford Camera & Video | Your photo, digital cameras and professional photographic equipment photo store in Arkansas AR USA
ColorBox – customizable lightbox plugin for jQuery 1.3 & 1.4
Nivo Slider – The Most Awesome jQuery Image Slider
Dewplayer lecteur mp3 en Flash – Alsacréations
jSlider –
jquery onload prettyphoto – efreedom
Ariel Flesler: jQuery.ScrollTo
FredHQ – Roundabout for jQuery by Fred LeBlanc
jQuery Quicksand plugin
Making a Mosaic Slideshow With jQuery & CSS | Tutorialzine
SlideShow 1.0: A Powerful, Highly Extendable MooTools Class by Ryan Florence
jQuery slideViewerPro 1.0
Better Coda Slider
» Sexy Forms
AJAX Upload
AjaxFileUpload – Jquery Plugin
jQuery Form Plugin
7 trusted ajax file upload plugins using jquery | Web Developer Juice
JQuery File Upload Plugin Script – Implementation – Uploadify
google link
Ajaxload – Ajax loading gif generator
Plugins/Validation – jQuery JavaScript Library
A collection of cool Mootools plugins | OpenSourceHunter
26 cool and useful jQuery tips, tricks & solutions | OpenSourceHunter
jQuery validation plug-in – main demo
Javascript Compressor – compress code online for free
CSS3 Rounded Image With jQuery
A fancy search suggestion
35 Ultimate Useful CSS Cheats to Streamline Web Development | Tutorial Lounge
10 jQuery and non-jQuery javascript Rich Text Editors
Multiple file upload (Mootools version)
36 Eye-Catching Jquery Navigation Menus
Ajax Load Table – Pagination –
Ajax Pagination with Jquery,PHP,Mysql « Beschi’s Works
jQuery UI – Tabs Demos & Documentation
News A2 – Riverside CA Inland Empire Southern California News
Jeditable – Edit In Place Plugin For jQuery
jQuery MultipleLiveSearch v1.0 Demo
jQuery Alert Dialogs (Alert, Confirm, & Prompt Replacements) | A Beautiful Blog
Nitobi | Downloads
Loading JSON-encoded AJAX content into jQuery UI tabs – Stack Overflow
Really simple jQuery Ajax File Upload plugin –
DeepLiquid » Jcrop Image Cropping Demos
New Tab
New Tab
YouTube Player Demo – YouTube APIs and Tools – Google Code
jMonthCalendar |
jQuery plugin to style scrollbars (cross-browser compatible) | rShahin Blog Designs – Web Designer Rofikul Islam Shahin – Bangladesh
ThickBox 3.1
J-Log » Custom Scrollbars
Custom Javascript Scrollbar – Hidden Pixels
jScrollPane example skins (operating system style scrollbars)
/testing/settings.js – JW Player – Trac
image magnifier
Aedas | Global Award Winning Architects
jQuery plugin for Autocomplete Example
10 Auto Complete Ajax Scripts | WebTecker the latest Web Trends, Resources and News.
Tracking JW Player Events with SiteCatalyst |
FusionCharts v3 Documentation
FlexBox Autocomplete and all
Flexbox Demos
jQuery datePicker inline datePicker demo
jQuery Graph
LavaLamp for jQuery lovers! | Ganesh
Player5FlashVars – JW Player – Trac
Fullscreen Template – Fullscreen Website and Fullscreen WordPress Theme
jQuery Custom File Upload Input: from the book Designing with Progressive Enhancement | Filament Group, Inc., Boston, MA
Promote JS! A Worldwide Call for Improving JS Documentation Visibility!
jQueryGlobe – Daily source of tutorials, examples & news for jQuery
License – Wijmo
Show loading progress percentage of progress bar in Javascript | Images and animations | w3mentor
An Introduction to JSON |
ajax lock
jQuery virtual tour – OpenStudio – expert in Webdesign and Development
Naomi Morgulis
25+ jQuery Plugins that enhance and beautify HTML form elements | Queness
Vertical slider with integrated autocomplete using jQuery UI
Vertical slider with integrated autocomplete – jQuery UI | Simon Battersby | Free AJAX animated loading gif’s | Circular
John Dyer | Stupid JavaScript Tricks: &quot;3D&quot; Panorama
Selectivizr – CSS3 pseudo-class and attribute selectors for IE 6-8
jQuery – AJAX
Sliding Menu


Development Projects « Golam Robbany
WordPress › Banner Rotator FX « WordPress Plugins
WordPress › Media Slideshow FX « WordPress Plugins
WordPress › Image Store « WordPress Plugins
WordPress › Slideshow Gallery « WordPress Plugins


How-To: Full Page CSS 3 Layout (Desktop) « Appcelerator Developer Center
Download PhoneGap « PhoneGap
BlackBerry – BlackBerry JDE Plug-in for Eclipse
Get Started « PhoneGap
iPhone Freelancer – Withdraw
360×640 Wallpapers for Nokia 5800, N97, X6, 5530, 5230, Sony Ericsson Satio and Samsung i8910 HD
Downloads — Qt – A cross-platform application and UI framework
Integrating Google Maps API With Ext JS – Sencha – Blog


Parse GetVars with JavaScript [javascript] [regex] [string]
CSS Drive Gallery- CSS Compressor (Advanced Mode)


Font Download – Thousands of Fonts!
Nilland Font |
Font Squirrel | Create Your Own @font-face Kits
Order Confirmation
Fontes do Mac – Windows Live
Binary / Image File to Base64 Encoder / Translator
Download Rockwell Std Bold font
Myriad Pro Light Font
Api – cufon – GitHub
Google Font Directory | Archive for ?????


ZIP Code database of Bangladesh
SecureSignup.Net: Hosting, Domains & Servers – Shopping Cart
Codesion: Professional Subversion (SVN) Hosting and CVS Hosting
The best 44 photoshop text effects tutorials on the web! | OpenSourceHunter
Create a Spectacular Grass Text Effect in Photoshop | Psdtuts+
Minimize round-trip times
Download Google Chrome OS and Run it from a USB Drive
Search — War Log Explorer

WordPress Themes (page 3 of 46) – Free WP Themes
WordPress 3 Themes – Download Free WordPress 3.0 Themes
WordPress Ecommerce a WordPress Shopping Cart Plugin
Rogers urMusic » BraveNewCode Inc.
New Tab
ACT For WellBeing –
Simplified AJAX For WordPress Plugin Developers using Jquery | am i works?
How To Make a WordPress Events List | Pro Blog Design
Attachment Tags | Web Design WordPress Function List
Google Font Directory


50 useful and free icon packs for your next project | OpenSourceHunter
Komodo Media » Downloads
Remove empty <ul> tag with jquery – Stack Overflow
Free Icons – Download Free Mac OS X Icons and Flags | Icon Drawer
Flag Icons free download, Flag Icon Packs download,
Aquaticus Social Icons | Download Popular PNG icon pack | IconsPedia


PHP / Ajax File Upload
Submitting a form post with PHP and CURL
Auto submit form using php is not available
What are the different functions in sorting an array? | PHP Tutorials and technical interview questions
ensure – Ensures relevant script and html are loaded before executing code
PST: Pacific Standard Time  (USA & Canada). What’s the time now?
UTC GMT Conversion
Setting Up Perl and CGI For Wamp Server WAMP(P) | Chromic Design


Getting Started with PEAR – PHP’s Low Hanging Fruit
R&OS: pdf class
classPdf (pdf to text, pdf to image, create pdf) – PHP Classes
NetBeans IDE Download Started
PHP Pagination
Web scraping tutorial
The Future of the Web » Articles » Web Development with JavaScript, jQuery, PHP and MySQL
Basic PHP Web Scraping Script Tutorial –
The Future of the Web » Easy web scraping with PHP » Web Development with JavaScript, jQuery, PHP and MySQL


Wiki | CodeIgniter
cURL library for CodeIgniter | Phil Sturgeon
Gala Hotel : Home
Best practice: JSON/JQuery/Codeignitor with different tabs – Stack Overflow


arbitrage affiliate blog
Raesco | Welcome to Raesco
The Sophatography Blog »
Booge Designs
Japanese Website Design, eCommerce, SEO & SEM – JPSoft LLC, Japan
Resources Directory | FreelanceSwitch
How to become a good developer overnight


HTML5 Demos and Examples
Adobe® BrowserLab
Pixel Manipulation – Safari Technology Demos – Safari Dev Center – Apple Developer
Safari Technology Demo – 360°
LGD is Kvelling
HTML5 presentation
HTML5 – CodeCanyon
AyerViernes | Web design company Chile
Nothing found for Files 20090213 Csshover Zip
CSS | HTML Remix
AIR iPad | merhl
Less Framework 2
Sencha – Sencha Touch Overview – HTML5 Mobile App Framework
Sencha Touch API Documentation
HTML5 WebSockets Tutorial
Start Using HTML5 WebSockets Today | Nettuts+
HTML5 Boilerplate – A rock-solid default for HTML5 awesome.
Basic usage – MDC
HTML5 – Quick Guide
Using jQuery for Background Image Animations –
CSS – Support for “border-radius” in IE – efreedom
CSS Compatibility and Internet Explorer
Ben the Bodyguard. Coming soon to iPhone® and iPod touch® – iPhone / iPad / iPod Touch
Page Flip Effect Demo
The mesmerizer


PHPDeveloper: PHP News, Views and Community
Special ASCII / HTML Character Symbols Codes
Floresense Resource center: Paypal and NuSOAP
Paypal API issues, using PHP5 and nusoap | Koopman.ME
Feathered selections and transparent gradients in Fireworks 3
JW Player Javascript API Tutorial Examples
JW API Example 4-3-2-0 – JW FLV Media Player
SWIFT Codes for all Banks in Bangladesh – Page 3
:: BCS Computer City – an official site :: Site developed by-
Right Brain Solution Ltd :: Web Solution, Offshore Development and Creative Services
Best Practices for Speeding Up Your Web Site
Simple Ways To Sharpen Your Freelancing Skills
Bangladesh Post Office Online >
Listing « Ticketfly
Entanglement – by Gopherwood Studios – TU Berlin – Homepage – German Institutes of Technology
facebook page


New Tab
New Tab
RGBa Browser Support | CSS-Tricks


Credit Card Number Generator
Care2 – largest online community for healthy and green living, human rights and animal welfare.
XE: (EUR/BDT) Euro to Bangladesh Taka Rate
Card Fees


Bangladesh travel web site, Tour Operator in Bangladesh, Tourism Company in Bangladesh, Travels is Bangladesh, Bangladesh to india tours, India Tours, Darjeeling Tours, India-Nepal-Bhutan Tours, Nepal Tours, Bhutan Tours, Bangladesh Tourism, Bangladesh Tours, Bangladesh Travels, Bangladesh tour and travel agents, online tour and travel oparetor dhaka, travel and tour oparetors in Bangladesh, travelling to Bangladesh, domestic corporate tour and travel service, airlines ticketing agents, air tickets booking,hotel reservation,singapore,thai,malaysia,australia,china,hong kong visa processing agent bangladesh
GRE Center ::


Samsad Bengali-English Dictionary
English to Bengali Dictionary – English Bangla Dictionary – Bangla Ovidhan

PayPal X Developer Network: PP_MTS_Chad’s Blog


Current time in Tampa, United States – daylight savings time 2010 dates, Tampa clock.
Current local time in Bangladesh
GMT Converter


iPhone and iPad

Web Development For The iPhone And iPad: Getting Started – Smashing Magazine
iPad Detection Using JavaScript or PHP
iPhone & iPod Detection Using JavaScript
Installation Guide part 3 |
Redirect iPhone, Blackberry, & Palm Requests With .htaccess | Dev Tips | Become a Better Developer, One Tip at a Time.
Tutorial:A Sencha Touch MVC application with PhoneGap – Sencha – Learn
About Sencha/Ext JS Events fire & on
Android 2.2 Froyo Emulator for PC and Mac OS X
DHTMLX Touch – HTML5 JavaScript Framework for Mobile and Touch Devices
How to create offline webapps on the iPhone | The CSS Ninja – All things CSS, Javascript & xhtml
Sencha Touch Demos by Mitchell Simoens
pisi/Reel – GitHub
Safari Web Content Guide: Handling Events
Developing Web Applications for Internet Explorer Mobile 6 on Windows Mobile 6.5
HTML5 Mobile Mapping [Tile5]
iPhone Programming Tutorials
Mobile Web Development with PHP, MySQL and jQTouch – CodeProject
Position Absolute, web apps and front-end stuff – jQTouch HTML5 database api extension «
VFA Mobile


Extjs quick start guide for jQuery Developers – Let’s explore the web technologies together
AJAX form submission using ExtJS and ASP.NET MVC – Stack Overflow
Infinite Ajax Carousel – Sencha – Blog
Tutorial:Using Calendar – Sencha – Learn

google Map

The Google Directions API – Google Maps API Web Services – Google Code
Google Maps API Examples – Google Maps JavaScript API V2 – Google Code
Getting distance using GDirections via URL – Google Maps API V2 | Google Groups
Google Maps JavaScript API Example: Simple Directions


SEO advice: url canonicalization

design and template

500+ Free Download High Quality Photoshop PSD Files For Designers | Web Design Blog, Web Designer Resources
45 Best Free Web Templates to Download Part II | Dzine Blog
25 Brilliant Glow Effects | Learning Resources for Adobe Photoshop
Create a Layered Glowing Text Effect | Psdtuts+


Magento – Designer’s Guide to Magento – eCommerce Software for Growth
Top Magento-powered sites : Magento Themes – Magento eCommerce
25 Awesome Online Store Built with Magento – Inspiration – Geek Sucks
30 High Quality Magento Templates To Spice Up Your Ecommerce Projects


New folder

Adding card to carousel breaks tabpanel? [Archive] – Sencha Forum
Dynamically loading a nestedList using a jsonstore [Archive] – Sencha Forum
javascript – Navigating with a button in sencha touch – Stack Overflow
Horizontal Scrollbars on ExtJS Dataview « Honolulu Hacker
Extensible Calendar + Ext Scheduler


How to Embed RSS Feeds into HTML Web Pages – The Easy Way
Creating a Custom RSS Feed with PHP and MySQL
PHP Example AJAX RSS Reader
Ajax Feed

Jwplayer events

// Detect if the user navigates away from the video
window.onbeforeunload = confirmExit;
var currentPosition = 0;
var currentVolume = 0;
var currentMute = false;
var currentState = “NONE”;
var defaultState = “NONE”;
var clipduration = 0;
var player = null;
var s = null;

function playerReady() {
player = document.getElementById(‘swfobject-1’);

function addListeners(player) {
if (player) {
else {

function addAllModelListeners(player) {
if (typeof player.addModelListener == “function”) {
player.addModelListener(“BUFFER”, “doNothing”);
player.addModelListener(“ERROR”, “doNothing”);
player.addModelListener(“LOADED”, “doNothing”);
player.addModelListener(“META”, “doNothing”);
player.addModelListener(“STATE”, “stateListener”);
player.addModelListener(“TIME”, “positionListener”);

function doNothing(obj) {

function positionListener(obj) {
currentPosition = obj.position;
clipduration = obj.duration;

function stateListener(obj) {
s = s_gi(‘sitecatalyst_id’);
currentState = obj.newstate;
switch(obj.newstate) {
case ‘PLAYING’:
s.eVar1=secondsToMinutes(currentPosition);”video_play”;,’o’,’Play Video’);
case ‘PAUSED’:
s.eVar1=secondsToMinutes(currentPosition);”video_pause”;,’o’,’Pause Video’);
s.linkTrackEvents=”video_complete”;”video_complete”;,’o’,’Video Complete’);

function confirmExit() {
if(currentState != ‘COMPLETED’) {
s.eVar1=secondsToMinutes(currentPosition);”video_leave”;,’o’,’Leave Video’);
currentState = ”;

// Helper function to convert seconds to mm:ss format
function secondsToMinutes(seconds) {
// Parse the minutes
minVar = parseInt(Math.floor(seconds/60));
minVar = minVar <10 ? '0' + minVar : minVar;
// Parse the seconds
secVar = parseInt(seconds % 60);
// The balance of seconds
secVar = secVar <10 ? '0' + secVar : secVar;
return minVar + ':' + secVar;