Danny Brown

A Blog on Code and Occasionally Other Things

Categorycode

Filtering Events by Date Range in a Django Site

Posted on January 31, 2019September 25, 2019

A site I write and maintain, TallyMusic.net, is designed to help people quickly and easily find local music events, but until recently, it lacked a date filter. This made it hard for users to plan for future events, as the user has to scroll through everything sooner before finding the ( more… )

Implementing Search Functionality into a Django Site

Posted on January 5, 2019September 25, 2019

I’ve decided to add search functionality to my website TallyMusic.net. The site tracks local and touring acts coming through Tallahassee, and I think it will be more useful for finding particular things by being able to search the site. urls.py import concerts.views as concert_views urlpatterns = [ … url(r’^search/$’, concert_views.search, ( more… )

Populating Merge Fields in a Word Document Using Python

Posted on December 26, 2018September 25, 2019

Last time, we covered adding merge fields to a Word document and using Python to get the names of all merge fields across multiple documents. If you need a refresher, check it out. Otherwise, let’s get to it. Setting Up We previously wrote a function that returns a list of all ( more… )

Collecting Merge Field Names from Multiple Word Documents Using Python

Posted on December 21, 2018September 25, 2019

I’m often needing to generate documents that have a lot of canned language. Rather than manually create these, I’ve been using Python to automate as much as possible. Creating Merge Fields in a Word Document The first thing you need is a document with merge fields. To add a merge ( more… )

Using Code Prettify and CSS to Highlight Code on WordPress

Posted on December 17, 2018September 25, 2019

I’ve moved my blog to a new host that lets me use the full features of WordPress. The first implementation of this is the Code Prettify plugin. Once you’ve installed the plugin to your WordPress site, it adds some quick and easy syntax highlighting to tagged code. In-line code looks like ( more… )

Posts navigation

Previous 1 2 3

Danny Brown

A Dev Blog with Some Tangents

About

Categories

  • code
    • APIs
    • Bash
    • CSS
    • Django
    • HTML
    • JavaScript
    • Python
    • S3
    • Selenium
    • Serverless
    • TypeScript
  • games
  • music
    • concert reviews
    • synthesizers
  • opinion
  • sports
  • tech
    • Bitbucket
    • Git
    • GitHub
    • MS Teams
    • WordPress
  • theater

Recent Posts

  • Open Pull Requests from the Terminal (One of My Favorite Dotfiles Scripts)
  • Dotfiles Script for a New TypeScript/Node Project
  • So I Told You to Go See a Broadway Play? Tips for Theater in New York
  • Build a Simple Microsoft Teams Bot Easily, No SDK Required
  • Creating a GUI for Conway’s Game of Life Using Pygame and Numpy

External Links

  • GitHub
  • LinkedIn

Recent Posts

  • Open Pull Requests from the Terminal (One of My Favorite Dotfiles Scripts)
  • Dotfiles Script for a New TypeScript/Node Project
  • So I Told You to Go See a Broadway Play? Tips for Theater in New York
  • Build a Simple Microsoft Teams Bot Easily, No SDK Required
  • Creating a GUI for Conway’s Game of Life Using Pygame and Numpy

Categories

  • code
    • APIs
    • Bash
    • CSS
    • Django
    • HTML
    • JavaScript
    • Python
    • S3
    • Selenium
    • Serverless
    • TypeScript
  • games
  • music
    • concert reviews
    • synthesizers
  • opinion
  • sports
  • tech
    • Bitbucket
    • Git
    • GitHub
    • MS Teams
    • WordPress
  • theater
Copyright © 2025. Danny Brown
Powered By WordPress and Meritorious