find duplicates in array

Given an array of unknown size and containing only integers between 0 to 30 (inclusive), write an algorithm to find which numbers are duplicated, if any.

javascript prototype

Adding a prototyped method to a function Adding a prototyped method to all string objects Adding a prototyped method to all array objects Adding a prototyped method to a function Properties added in the constructor (or later) override prototyped properties Prototyped properties affect all objects of the same constructor, simultaneously, even if they already exist ... Read more

Sixto Rodriguez - Coming from reality (full album)

Songs: 00:00 - Climb up on my Music 04:54 - A most disgusting Song 09:43 - I think of You 13:08 - Heikki's suburbia bus tour 16:32 - Silver words? 18:36 - Sandrevan lullaby - Lifestyles 25:13 - To whom it may concern 28:35 - It started out so nice 32:36 - Halfway up the ... Read more

CSS Flexbox layout model

Why flexbox? In a nutshell, flexbox provides simpler and more flexible layout options in CSS. More specifically, it provides: Easy vertical alignment of content within a parent element. Easy reordering of content across devices and screen resolutions with the help of media queries. Easy CSS-only equal height columns for your grid-based layouts. No need to ... Read more

Anti-spam Pro

Anti-spam Pro = no spam in comments and no captcha Anti-spam Pro plugin blocks spam in comments. Anti-spam Pro is powerful and extended version of free and popular Anti-spam plugin. no captcha, because spam is not users' problem no moderation queues, because spam is not administrators' problem Plugin is easy to use: just install it ... Read more

Sass vs Less

Sass/Less Comparison In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax. For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be ... Read more

WordPress settings API

There are three main components in the Settings API: The Setting, the Field and the Section. The Setting is the actual option that is stored inside the WordPress database. The Field is a form control rendered in our options page, such as a text input, or a dropdown select. The Section is just a way ... Read more