Posts

Pit Barrel Cooker(PBC) tips

This is meant to be a short tips and tricks for working with a PBC. I'm assuming you have already followed the directions for lighting your PBC and are trying to troubleshoot some issues with temperatures. They don't discuss monitoring temperatures in their videos but it's something I started doing with my Weber kettle and I've continued that with my PBC. I'm glad I did because some of my early cook saw temperatures in my PBC spike to nearly 500 and temperatures settling in the upper 300s. I'd read about it running down in the 275-325 range and wanted to get mine to cool off a bit. I use Kingsford Professional which is not something they recommend but I prefer to use 100% natural charcoal and no lighter fluid as I spread the spent ashes on my yard to help my yard and reduce the amount of trash I create. If you really want to learn a LOT about cooking with a PBC, join The Pit over at Amazing Ribs and checkout the dedicated PBC forum . There is also a lot of g

Install psycopg2 on a Greenplum system

If you try to install psycopg2 on a Greenplum system using pip you may run into this error: ... Error: pg_config executable not found.       Please add the directory containing pg_config to the PATH     or specify the full executable path with the option:         python setup.py build_ext --pg-config /path/to/pg_config build ...     or with the pg_config option in 'setup.cfg'. ... The solution is to add the path to the Greenplum bin directory to your environment PATH. export PATH=$PATH:/path/to/greenplum-db/bin/ Then run pip install psycopg2 and all should be good.

Google Fiber remote lag

The lag in my Google Fiber remote was driving me crazy. Figured out how to disable bluetooth & go back to IR only on the remote. Lag problem solved.

Show file in git at specific commit

I wanted to double check what a script looked like two commits ago. git log path/to/file Get the commit number from the version I want to see, get the first 4 to 6 characters. git show commit#:path/to/file Credit goes here

List of PIDs only

I wanted a list of pids only so I could run them through a while loop for processing. To get just a list of pids on Linux I used: ps --no-headers -o pid -C processname

Get filename without path, filename without extension, extension of filename in Bash

SOURCE Get filename without path basefilename=$(basename /full/path/to/file.txt) Get filename without extension filewoext="${basefilename%.*}" Get extension of file fileext="${basefilename##*.}"