web-development

order by priority quality code readability is more important than speed of work of that code block modularity flexibility usability minimalism should be things, which are needed to 80% of users less options split big tasks into smaller ones do not focus on competitors, just do what you want to do important is not to ... Read more

social networks

90 days without cell phone email social media The Amish Project Amazing mind reader reveals his 'gift'

Nesting

Nesting rules: style components based on what they are, not where they are Don’t use the same class for both style and behavior. Example: .btn-delete and .js-btn-delete do not use IDs in nesting; use classes instead; more than one same ID makes page not valid and it is hard to select few similar elements with ... Read more

normalize.css styles

Differences between normalize.css and reset.css: normalize.css preserves useful defaults rather than "unstyling" everything; normalize.css corrects some common bugs that are out of scope for reset.css; normalize.css doesn't clutter your dev tools; normalize.css is more modular; normalize.css has better documentation; differences between normalize.css and reset.css from stackoverflow

php OOP

Object Oriented Programming in PHP by Jeffrey Way (Tutsplus) S.O.L.I.D is an acronym for the first five object-oriented design(OOD) principles: S – Single-responsiblity principle O – Open-closed principle L – Liskov substitution principle I – Interface segregation principle D – Dependency Inversion Principle Single-responsibility Principle A class should have one and only one job. Open-closed ... Read more

Google Chrome

Type in Chrome omnibar: chrome://version chrome://about chrome://flags chrome://memory-redirect chrome://plugins Comic about how was made the Google Chrome browser. Why there is no rss-feed icon in Chrome address bar: Given that most people are not familiar with and don't consume RSS feeds, we thought that RSS support would be a better fit as an extension, at ... Read more

children education

Awesome book by Dallas Clayton Dr. Suess - Green Eggs And Ham Number sense If you teach a kid to just memorize arithmetic facts with flashcards, without explaining why the answers are what they are, that kid may struggle when they encounter a fact they haven’t memorized. Being able to demonstrate, for example, 5+2=7 using ... Read more

css width 100% minus 100px

New way: css calc() width = 100% - 100px css: html: Old way: nesting hacks width = 100% - 100px (from left) - 100px (from right) css:

Responsive web design

Google mobile friendly check Bootstrap Media queries (key breakpoints in Bootstrap grid system): Paste the following lines within the [head] and [/head] tags on your html page. This will set the view on all screens at a 1×1 aspect ratio and remove the default functionality from iPhones and other smartphone browsers which render websites at ... Read more

Misc

Random facts: An avocado never ripens on the tree, so farmers can use trees as storage and keep avocados fresh for up to seven months. Elvis Presley's manager sold "I Hate Elvis" badges as a way to make money off of people who weren't buying his merchandise. Salvador Dali avoided paying restaurant tabs by using ... Read more