Category

Programming

You are now browsing the posts filled under Programming.

Importing a large MySQL database from Linux Terminal

Importing a large MySQL database from Linux Terminal

Let’s say you have a very large MySQL database and you are moving it to a new server ( or just moving your whole website to a new web host ) and of course your cannot import it from phpMyAdmin. This is a tutorial to show you the easiest way to import a very large […]

Optimizing your MySQL database from your website

Optimizing your MySQL database from your website

  In this post I’ll explain how simple is it to optimize your MySQL database directly from your website / website administration panel ( if you have one ).   Usually people I know optimize their MySQL database from “phpmyadmin” if they have it.   Why optimize ? Well, in case you just deleted a […]

Plyr: A simple HTML5 media player with custom controls and WebVTT captions

Plyr: A simple HTML5 media player with custom controls and WebVTT captions

  Plyr is a simple HTML5 media player with custom controls and WebVTT captions made by @sam_potts   Download Plyr on GitHub or get access to implementation procedures and other options.   Features Accessible – full support for captions and screen readers. Lightweight – just 6.4KB minified and gzipped. Customisable – make the player look […]

A Great Way To Show Off Your Sponsors Or Friends On Your Website

A Great Way To Show Off Your Sponsors Or Friends On Your Website

Everybody has a link list, a blog roll, a links page etc. on their website. Here’s a great way to show off your friends, sponsors or websites you like with the jQuery Sponsor Flip Wall. No … it’s not a table. It’s a jQuery animated wall. It does it like this: What’s great is that […]

Multiple CSS Style Session Flash’es in CakePHP

Multiple CSS Style Session Flash'es in CakePHP

We all know that CakePHP has the Session component that allows us to login and logout users and to show them messages that appear only once: <?php $this->Session->setFlash(‘Random message that appears only once’); ?> We can style this message the way we want but what about having these kind of messages that are style differently […]

Multilingual Website with CakePHP

Multilingual Website with CakePHP

We all know that developing a website in CakePHP is very easy and also fast. Here’s how to create a multilingual website fast. First open app/config/bootstrap.php and set the languages you want available for your website: Configure::write(‘Config.languages’, array( ‘ro’ => array( ‘language’ => ‘Romanian’, ‘locale’ => ‘rum’, ‘localeFallback’ => ‘rum’, ‘charset’ => ‘utf-8’ ), ‘en’ […]

Multiple Databases in CakePHP

Multiple Databases in CakePHP

There comes a time in life when you need to use multiple databases for a website you have to build 🙂 . I came across this “problem” when I was working on a portal website and I had to make sure that users can login with the same details on any website that company owned. […]

The Faces Behind Popular Programming Languages

The Faces Behind Popular Programming Languages

C Dennis MacAlistair Ritchie (born September 9, 1941) is an American computer scientist notable for his influence on C and other programming languages, and on operating systems such as Multics and Unix. He received the Turing Award in 1983 and the National Medal of Technology in 1998. Ritchie was the head of Lucent Technologies System […]

New in CSS 3

New in CSS 3

Just in case you wondered what’s coming with CSS 3 here are 3 of the most interesting features. Border-Radius Before After CSS Code: -moz-border-radius: 10px; -webkit-border-radius: 10px; Works in Firefox 3 and Safari 3 Opacity Before After CSS Code: opacity: 0.6; Outline Offset Before After CSS Code: outline: 2px solid orange; outline-offset: 4px; At the […]

3 HTML Tags You Probably Never Used

<abbr> or <acronym> The <abbr> and <acronym> tag describes abbreviations and acronyms. By marking up abbreviations you can give useful information to your visitors by showing tooltips when they hover the mouse over the element. Example: HTML <q> The <q> tag defines a short quotation. It tells the browser to insert quotation marks around the […]