Dale's Take

Everything is open for discussion…

  • General
  • Social Policy
  • Psychology
  • Science & Tech
    • Mathematics
  • Programming
    • VBA – Excel
    • HTML / CSS / JS
    • PHP / WordPress
    • R for Statistics
    • MySQL
    • PowerShell
    • Git & github
  • Life
    • Employment
    • Trips
    • Events
    • Books
    • Movies
    • Self defense
    • Projects
Javascript & related librariesWeb-tech - html/css/js

jQuery – list all class names

January 5, 2022 dradma

While overhauling a site, I ended up with many obsolete rules in classes that are no longer applied. To help clean up the CSS stylesheet I wanted to list all class names so I could do a comparison. This answer from stackoverflow did 90% of what I needed

Read more
Git & githubProgramming

.gitignore for wordpress development

December 25, 2021 dradma

Without a correctly set .gitignore file during site development using wordpress, thousands of files are unnecessarily tracked. WordPress and wordpress

Read more
Git & githubProgramming

GitKraken .gitignore template for wordpress

December 25, 2021 dradma

GitKraken’s .gitignore wordpress template is a good basis to start with… [code lang=”powershell”] # ignore everything in the root except

Read more
PowerShellProgramming

Powershell – Create Year/Month folder structure

November 30, 2021 Dale Anderson

Creates multiple folders in specified location for a list of specified years and inserts sub-folders for each month in each year folder.
Scenario: Maintaining dated documents such as photos or receipts. This script quickly creates a suitable folder structure for the years required.

Read more
ProgrammingVBA - Excel

VBA – Excel – Determine and set data range

November 4, 2021 dradma

Use: Function LastRowInt(InWS As Worksheet) As Integer LastRowInt = InWS.UsedRange.Find(What:=”*”, After:=InWS.Cells(1, 1), Lookat:=xlPart, _ LookIn:=xlFormulas, SearchOrder:=xlByRows, SearchDirection:=xlPrevious, _ MatchCase:=False).Row End

Read more
ProgrammingR for Statistics

R – Importing Excel file – R for Statistics

October 28, 2021 dradma

Reading data directly from excel file rather than saving in csv file format.

Read more
General

Frydenberg is an evil fucker

December 3, 2020 dradma

He shows it time and time again. Zero fucks given to anything that doesn’t have a dollar value attached. Case

Read more
ProgrammingWeb-tech - html/css/js

CSS – Responsive design details

February 3, 2020 dradma

This site: https://www.designersinsights.com/designer-resources/designing-responsive-website/ Recommends these breakpoints… Using Hardware Pixels to Design a Responsive Website When designing a responsive website, we

Read more
MySQLWordpress

WordPress – Merge wp_postmeta table (local version with online)

December 17, 2019 dradma

When extra information is required to be stored for a specific record in ‘wp_posts’, it can be stored in the

Read more
General

WordPress – Add Custom Content Plugin

November 26, 2019 dradma

Editing posts directly within the wordpress editor can be a nuisance when wordpress inserts ‘p’ tags and the like. Sometimes

Read more
  • ← Previous
  • Next →
Copyright © 2026 Dale's Take. All rights reserved.
Theme: ColorMag by ThemeGrill. Powered by WordPress.