GeekBrainDump

This is mainly somewhere for me to dump interesting tidbits of tech info. Stuff that I may forget but will need again in the future. For a proper blog, visit my electronics blog (http://www.fangletronics.com) or my wife's pre-school crafty blog (http://www.filthwizardry.com).

Wednesday, November 2, 2022

CITYSPORTS E06 Error - fix

›
I have one of these treadmills. A few times it has stopped with the belt unable to move but with the display still working. The last time it...
Thursday, March 7, 2019

R: use purrr::map_dfc to update all cells in a data.frame

›
I've just loaded a large data.frame generated from a set of SDFs from a collaborator. The 'empty' cell value is set as a period ...
Tuesday, January 30, 2018

Count SDF entries in a file

›
This is something I find myself doing a lot, so thought I'd share. There's a quick and easy way to count the number of entries in a...
Tuesday, September 5, 2017

capture logging info from xargs comand

›
Here's an example of how to capture STDOUT and STERR from a set of commands parallelized using ' xargs ': Note that I'm...
Tuesday, February 14, 2017

R: find the color name you want

›
Simple tip for finding the color name you want from the base set. This gives the following output: [1] "darkorange" "d...
Monday, January 23, 2017

Terminate a frozen SSH session

›
I work remotely via a VPN and am often plagued by frozen SSH sessions (especially if I step away from my desk for any length of time).  I al...
Monday, January 9, 2017

Generating random numbers in bash

›
I wanted to assign each member of a training set to a cross-validation fold.  I wanted to do this in a bash script and so ended up using som...
›
Home
View web version

About Me

My photo
PaulBo
I'm a research scientist at a small start-up biotech company. I do a lot of programming at work and have been enjoying electronics at home when the kids are in bed. Contact: paulbo@fangletronics.com
View my complete profile
Powered by Blogger.