Category: Uncategorized

  • Drupal 8 notes – Transfer site to local system for development

    These are procedures and notes to download source code and database content for development use on a local workstation server. The goal is create a mirror of the Drupal based website for local development and testing. Prerequisites You should have a local or alternate development system ready. This systems will require a web server running…

  • Drupal 8 content type, view, block, twig notes

    Large general tutorial video making a directory with content types and views:https://www.webwash.net/how-to-build-directory-using-drupal-8/ PathAuto module information. For helping to make more readable URLshttps://www.webwash.net/automatically-generate-url-aliases-using-pathauto-drupal-8/ Using Entity References in Views – Great overview of using entity references.https://www.ostraining.com/blog/drupal/drupal-8-entity-reference-view/ Drupal 8 theme twig template file reference. Includes various naming conventions for pages, views, blocks, nodes, etc.https://www.drupal.org/docs/8/theming/twig/twig-template-naming-conventions

  • NPM and Yeoman update/install notes for MacOS

    Had to deal with some issues introduced by bad homebrew installations and possible old NPM installs. My guess is that I probably cheated/screwed up using a sudo install when I should have done something different. This all started playing with the WebDevStudions WordPress plugin generator for yeoman. Get a Plugin Kickstart with Yeoman & generator-plugin-wp!…

  • Spying on a directory with auditd

    Files start coming up missing for me on a server and I get freaked out looking for security holes, but sometimes users and other utilities are spiking the bunch bowl. You can get serious with watching files with other utilities, but I went back to good ole auditd. A simple test to track stuff getting…

  • My Favorite Httrack commands

    HTTrack is a website mirroring utility that can swamp your disks with mirror copies of the internet. I’ve had to use it several times to make off-line copies of websites for all sorts of weird reasons. You’ll find HTTrack at: www.httrack.com. You can get a full list of command line options at: https://www.httrack.com/html/fcguide.html. There is…

  • Apache log one-liners using tail, awk, sort, etc.

    Good bunch of samples with other examples found at: https://blog.nexcess.net/2011/01/21/one-liners-for-apache-log-files/

  • Using HyperDB to separate and share user and user_meta between WordPress installations

    I need to remember to keep this example for some testing. This should be a good start for sharing a user and user_meta between websites. I do know that user_meta tends to have very site-centric settings at times. Original article was located at: http://wordpress.aspcode.net/view/63538464303732726666099/how-to-use-hyperdb-to-separate-and-share-a-user-dataset-between-wordpress-installs

  • Create a new Git repo from and old repo

    How to extend an old repository as a full copy in a new repository. This preserves the history of the old repository. Future changes will not affect the old repository, but will be committed to the new repository. This originally came from the info found at: http://stackoverflow.com/questions/10963878/how-do-you-fork-your-own-project-on-github

  • Git local repositories

    These are some quick examples and notes related to using git with local repositories. Using local repositories can be helpful maintaining file changes without committing to larger repository systems like Github. Instead of syncing with a remote repository, synchronization and changes are committed to the local repository and recorded. First we create a new local…

  • OSX turn off or delay hibernate

    Apple’s Mac OSX hibernate can be delayed indefinitely or turned off by issuing this terminal command. To get back to default normal hibernate mode type this terminal command. So the word is this won’t disable hibernate on battery failures. Haven’t tested, hope I won’t have to.