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
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:
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.
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.
This URL maintains a nice collection of Scala libraries.
Basecamp has a nice set of employee benefits. Top 5% salaries, 4-day summer work-weeks, and a one-month sabbatical every three years are just some of the benefits.
This link to the official Android docs shows more examples of Android layouts, including AbsoluteLayout, FrameLayout, LinearLayout, RelativeLayout, and TableLayout.
This link shows more examples of Android layouts, including AbsoluteLayout, FrameLayout, LinearLayout, RelativeLayout, and TableLayout.
This link shows simple examples of the different Android layouts that are available, including AbsoluteLayout, FrameLayout, LinearLayout, RelativeLayout, and TableLayout.