Use :before and :after pseudo-elements with an attr() expression to make broken images look snazzy
Broken images are ugly. But they don’t always have to be. We can use CSS to apply styles to the element to provide a better experience than the default. Two Facts About The Element To understand how we can style broken images, there
Read how at bitsofcode
With a switch to PHP 7, the social network Badoo reduced their server count from about 600 to 300
We did it! Hundreds of our application servers are now running on PHP7 and doing just fine. By all accounts, ours is only the second project of this scale (after Etsy) to switch to PHP7.
Read more from the source: Badoo Tech Blog
Programmers think differently and are exceptionally logical. Computers are too literal. Programming languages are illogical. The world is illogical. People are irrational.
The Apico blog editor dug into more than 200 programming jokes and noted to her surprise that they covered all of four topics.
1.14. MY FAVORITE JOKE
Don’t anthropomorphize computers. They hate that!
Q: How do you tell an introverted computer scientist from an extroverted computer scientist?
A: An extroverted computer scientist looks at your shoes when he talks to you.
2.7. FROG JOKE
A guy was crossing a road one day when a frog called out to him and said, “If you kiss me, I’ll turn into a beautiful princess.” He bent over, picked up the frog and put it in his pocket.
The frog spoke up again and said, “If you kiss me and turn me back into a beautiful princess, I will stay with you for a week.” The guy took the frog out of his pocket, smiled at it and returned it to his pocket.
The frog then cried out, “If you kiss me and turn me back into a princess, I’ll stay with you and do anything you want.” Again the guy took the frog out, smiled at it and put it back into his pocket.
Finally the frog asked, “What is the matter? I’ve told you I’m a beautiful princess, that I’ll stay with you for a week and do anything you want. Why won’t you kiss me?” The guy said, “Listen, I’m a programmer. I don’t have time for a girlfriend, but a talking frog is really cool.»”Read at APICO
Use flexbox to make tables responsive and flip columns with rows
David Bushell writes:
Four years ago I shared an idea to make tabular data responsive. Browser support was experimental and the workarounds were extremely hacky. I revisited the technique this week, cleaned it up, and I am pleased to say all modern browsers work perfectly.
Read more from dbushell.com
All engineers write bad code. The best engineers think hard about how to refactor avoid the situation in the future.
“Excellence is never an accident. It is always the result of high intention, sincere effort, and intelligent execution; it represents the wise choice of many alternatives – choice, not chance, determines your destiny.” – Aristotle
Read more at The Full Stack
Watch out Plunkr, WebpackBin is going to redefine code sharing in 2016
A video introduction to the BETA of WebpackBin, a next generation code sharing tool.
Top features include:
- Compiling with Webpack including loaders for ES6, Typescript and JSX
- Install npm packages
- Download your working app
- Boilerplates such as a working React app
- Live reload
- Real-time code sharing, editing, and passing control
Try it out at webpackbin.com
Watch the video on YouTube