Entrepreneurship, product management, design & software.
-
A year in WordCamps
So, it’s the end of the year once again, and we’re all making our year’s balance. For me, 2015 is the year I turned from an anonymous WordPress developer to an (equally) anonymous WordPress community member. I’m writing this three weeks after the inaugural WordCamp US in Philadelphia. It’s been (roughly) just one year after my first WordCamp…
-
List the size of folders recursively in Linux
I needed a summary of how much space the single subfolders where taking on disk. You can use the du command, with the right flags du -skh * Here is an example output giustino:~/tmp/VVV (develop *) ⇒ du -skh * 12K CHANGELOG.md 220K config 4,0K CONTRIBUTING.md 32K database 4,0K LICENSE 8,0K log 36K provision 20K…
-
Select the id that begins and ends with certain values
CSS selectors have gone a long way from their beginnings. Today you have multiple choices to select elements in the page. Today I needed to select all the elements with the id matching this regex: fixed_string_(.*)_digit But CSS doesn’t let regex. To do this, you can combine these two attribute selectors: [id^=value] // Element with…
-
On Discipline
Discipline is just choosing between what you want now and what you want most. Source: http://www.icodeandicook.com/on-discipline/
-
How to cancel last local commit in git
I keep forgetting this. If you want to delete the latest commit that you have not pushed, you can do it using: $ git reset HEAD~1 This will remove the commit and leave your changes untouched. If you want to get rid completely of the change, you can use git checkout $ git checkout .
-
How to expand all child nodes in Chrome
This is a little one that I discovered today. You can expand all the child nodes of an element in Google Chrome’s dev tools with ALT + click on the little gray arrow beside the element. Really nice!
-
A JavaScript framework on every table
For example, the most recent TodoMVC pull request, as of this writing, wants to add Riot.js 2.0. What is Riot.js 2.0, you ask? Apparently, it’s the second version of something called Riot.js, an app framework that’s like React.js, but better in some ways that are definitely important. “But wait,” you may ask, “didn’t React like…
-
Two plus two is five (sometimes)
An anthropologist was asking a primitive tribesman about arithmetic. When the anthropologist asked, “What does two and two make?” the tribesman replied, “Five.” Asked to explain, the tribesman said, “If I have a rope with two knots, and another rope with two knots, and I join the ropes together, then I have five knots.”
-
Shunryu Suzuki – Beginner’s mind
In the beginner’s mind there are many possibilities, in the expert’s mind there are few.
Got any book recommendations?