My Bookmarks

This link has the source code for the online book, The Busy Coder's Guide To Advanced Android Development.

This is a link to an article titled, “Optimizing Linux for slow computers.” Note that this article links to this more thorough resource on

Here are a couple of paragraphs from it:

When tuning a server, you'll really want to tweak for performance and high throughput. That's where most Linux configurations really shine over the competition: they come better tuned to get the most out of server configurations.

From the URL:

1. Collected Maxims and Other Reflections by La Rochefoucauld

2. The 48 Laws of Power, by Robert Greene

3. Xenophon’s Cyrus the Great: The Arts of Leadership and War by Xenophon

4. Letters from a Self-Made Merchant to His Son

5. Models of my Life by Herbert Simon

6. Meditations by Marcus Aurelius

Leanpub is another way to publish books. From their website:

Leanpub is a powerful platform for serious authors. This platform is the combination of two things: a publishing workflow and a storefront. Leanpub is more than the sum of its parts, however – by combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks, it’s something different. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button.

From the website:

“Dailyprogrammer is about challenging programmers of all skill level with weekly programming challenges. 3 challenges a week are posted at increasing difficulty. Solutions are peer reviewed and redditors can ask for the community for feedback and comments.”

Tips on performance optimization for Drupal websites.

This link has some good information on how to debug PHP scripts by writing objects to the PHP log file using print_r with error_log. This is helpful — necessary, even — when you’re writing PHP code that doesn’t write directly to the browser.

The basic idea involves writing PHP code that looks like this:

error_log(print_r($myObject, true))

Don’t leave the true part out; if you do, the output will either go to your web browser or get lost somewhere else.

“A Tale of Two Base Themes in Drupal 8 core”

Drupal comes with two base themes: Classy, and Stable. Classy has a lot of markup, hopefully all the markup you’ll need, while Stable is more like a “stark” base theme. See the link for more information.

This link shows the file-naming conventions for Drupal 8 Twig theme/theming files.

The page I linked to shows what “table of contents” modules work with Drupal 8. The reality as of May 9, 2016, is that only “TOC Filter” works. It relies on the “TOC API” module, which should not really be shown in that list, as it’s just a support module.

“TOC Formatter” claims to work with Drupal 8, but I could not get it to work, and its page shows that it has no Drupal 8 installations, so something smells fishy there.

Documents all CSS class selectors that are in the classy theme Drupal 8.

This guide is about creating themes for Drupal 8.

FortyTwo is a modern responsive base theme incorporating the latest technologies like Gulp, Sass, BrowserSync and more. It’s made to be extended, and has a nice STARTERKIT to work from when extending.

I recently built my first site with Drupal 8, off of the public beta. Where do I download a base theme for Drupal 8? How do I create a new theme in Drupal 8?

Best starter or base themes for Drupal 8 right now.

Bing has added a number of mathematical answer tools to their search engine. From the article I linked to, which was posted on 3/14/16:

An article on how to make a vision board, and why they work.

I did this once many years ago as part of a retreat, and I have to admit, everything I put on the board came to fruition. I think it’s because, if you keep it visible, it serves as a constant reminder of your goals.

From the Sakyong Mipham Rinpoche link:

“You know you want to start a meditation practice. It was your New Year resolution. You’ve been meaning to check out those classes. You even bought a small cushion from your local Tibet shop. Here are the five key steps to actually getting that meditation practice going.”

From the article:

Scientists reported on Wednesday that they had taken a significant step toward understanding the cause of schizophrenia, in a landmark study that provides the first rigorously tested insight into the biology behind any common psychiatric disorder.

More than two million Americans have a diagnosis of schizophrenia, which is characterized by delusional thinking and hallucinations. The drugs available to treat it blunt some of its symptoms but do not touch the underlying cause.

I had the idea for a for-profit meditation studio back in 2007, but never acted on it for a variety of personal reasons. It’s cool/interesting to see someone else giving it a try.