Skip to navigation Skip to content

quantixed

x == (s || z). You say it kwontized

  • Home
  • Mastodon
  • GitHub
  • About
  • Contact
Main Navigation

Tag: tftb

Tips From The Blog XIX: initialising a new RStudio project

I like to set up a standardised directory structure for RStudio projects. The idea came from here. In brief, the structure is: My typical workflow is therefore to: So far, so good. However, this process is a bit tedious. I find it irritating to open up RStudio (which opens up a previous project by default) […]

19th March 2023By Stephen Royle adventures in code, computing RStudio, tftb, zsh

Over and Over: quick ways to reuse handy shell one-liners

There are a few one-liners that I use in the shell to do some really nifty stuff. I struggle to quickly find and reuse these and asked for a solution on Mastodon. A handy one-liner might be something like (taken from here): This converts all the flac files in subfolders into mp3 files. Obviously, we […]

10th January 2023By Stephen Royle adventures in code, computing code, commandLine, shell, tftb, zsh

Tips From The Blog XVIII: upgrading a Music/iTunes library

Niche tech tips are the cornerstone of this website, and here is another. How to upgrade an iTunes/Music library whilst maintaining the database. I know everyone streams music these days – hence this is likely a very niche tech tip – but I still maintain a large music database on a server. The data in […]

23rd June 2022By Stephen Royle fun FLAC, iTunes, mp3, music, tftb

Tips From The Blog XVII: determining playback speed of a video

Generating movie files for publication can be a bit tricky. We have a protocol for making them for microscopy data, which simplifies things. However, we recently got this question from a journal: please state the playback speed of each movie file How can we do this? What information is needed for movie files? Usually movies […]

3rd May 2022By Stephen Royle computing, publishing ffmpeg, tftb

Tips From The Blog XVI: fast check of two directories

Here is a quick method for checking parity between two directories. Let’s say we have two directories dir1 and dir2. They are large and have thousands of files and subdirectories. How can we check that they have the same contents? I found myself in this situation recently during a server migration. Method 1: rsync To […]

18th December 2021By Stephen Royle computing bash, diff, rsync, shell, tftb

Convertible: using ffmpeg to convert audio files

A quick tech tip. I usually use Audacity for converting audio files and I have a few simple macros set up in there to make life easy. I had some opus music files which do not play in Apple’s Music app and therefore needed converting to MP3 format. Annoyingly, Audacity 3.1.2 on macOS does not […]

20th November 2021By Stephen Royle computing ffmpeg, FLAC, mp3, music, opus, tftb2 Comments

Tips from the Blog XV: locating the php.ini file for WordPress on Raspberry Pi

If I struggle to find the answer to something, it must be worth a post to help out others. So, here’s where to find the php.ini file on a standard WordPress install on Raspberry Pi. I installed a LAMP stack and WordPress on a Raspberry Pi following these excellent instructions. The aim was to import […]

8th June 2021By Stephen Royle adventures in code php, Raspberry Pi, tftb, wordpress

Tips From The Blog XIV: embedded file locations in an Adobe Illustrator file

I was working on a figure in Adobe Illustrator today. The ai file had 32 embedded TIFF files (we tend to embed images rather than linking them for portability reasons). I wanted to change all of the images, but to do this I needed to know where the originals were. Clicking on the file shows […]

9th December 2020By Stephen Royle adventures in code Adobe Illustrator, bash, grep, tftb, zsh

Tips From The Blog XIII: siunitx, Helvetica and LaTeX

I searched several times in vain to solve this problem. After finding a solution, I thought i’d put it up here. The problem Formatting of units using siunitx in LaTeX does not match the typeface of the body text. We like to use the helvet package to get a close approximation to Helvetica in LaTeX. […]

17th August 2020By Stephen Royle computing LaTeX, tftb

Find The Answer Within: using grep to find lost code

A short tech-tip this week. How can you find a line of code somewhere on your computer? I often find that I need to write a line of code and I can’t remember the exact syntax. To add to the frustration, I can remember writing a similar line before, but can’t remember in which file […]

10th March 2020By Stephen Royle adventures in code, computing bash, grep, IgorPro, tftb, zsh

Posts navigation

Page 1 Page 2 Page 3
Recent Posts
  • Like I Said: archive of tweets
  • Probot 2: upgrading a Mastodon bot
  • Mr. Mastodon Farm: analysing a mastodon ActivityPub outbox.json file
  • Free Bird II: Mastodon macOS clients
  • Step By Step: recreating a volcano plot in R
Tags
advice bash bioRxiv books cell biology clathrin code cycling dataviz eLife endocytosis FIJI Garmin ggplot GPS gpx graphs h-index Igor IgorPro ImageJ iTunes lablife lag times maths mentorship metrics music organisation outreach paper explainer papers plots preprints productivity publishing python Raspberry Pi Rstats running science statistics tftb Twitter writing
Categories
  • adventures in code
  • communication
  • computing
  • development
  • fun
  • funding
  • music
  • opinion
  • publishing
  • reading
  • science
  • the digital cell
RSS

RSS Feed RSS – Posts

RSS Feed RSS – Comments

Blogroll and Links
  • R-bloggers
  • TIR Blog
  • Flowing Data
  • R-users
  • Stephen Royle | mastodon
  • quantixed | fosstodon
  • AlbumsX3 bot
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
CC-BY
Creative Commons Licence
Content from quantixed.org by Stephen Royle is licensed under a Creative Commons Attribution 4.0 International License.
© quantixed 2023 • ThemeCountry Powered by WordPress