wesley tanaka

Tech

JIRA time tracking fields - difference between timeestimate and timeoriginalestimate

()

The JIRA API has (at least) four fields exposing time tracking data. In the jira-python python wrapper, these are exposed as follows, assuming you have a local variable issue containing an issue object.:

What is librarian-puppet?

()

As is wont with modern open source software projects, the librarian-puppet homepage describes itself in terms that only fully make sense after you already know what the software does:

Librarian-puppet is a bundler for your puppet infrastructure. You can use librarian-puppet to manage the puppet modules your infrastructure depends on, whether the modules come from the Puppet Forge, Git repositories or a just a path.

Firefox is already running, but is not responding

()

If your computer crashes while firefox is running, it's possible that you will get an error message like this when you next start up firefox after rebooting:

Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.

To fix it, you can remove the lock files inside your profile.  On Linux (with a default setup where you have a single firefox profile) this looks something like:

Command line replacement for gitk --all and GitX

()

gitk --all, tig and GitX are invaluable for visualizing the git commit graph, but when GitX recently stopped displaying branch names on a repository I work with, I started looking for a stock git install command line replacement for two reasons:

  • It takes slightly longer to copy and paste GUI output over chat.
  • When helping someone with a git issue, it's time consuming to ask them to install GitX or gitk first.

Here is a command line that provides similar commit graph visualization:

Creating a one dimensional plot in R and ggplot2

()

To plot a "scatter plot" of a single dimensional variable in R, you can use:

ggplot(my_dataframe, aes(x=my_dataframe$VariableName, y=c(0))) + geom_point()

Restoring the old Chrome profile menu

()

A recent version of Chrome changed the graphical profile avatar in the upper right corner of the window into a piece of text which is much harder to recognize quickly and requires 3 clicks instead of 2 in order to switch to a new window in a different profile.  To switch back to the old behavior:

  1. Go to: chrome://flags/#enable-new-avatar-menu
  2. Switch it to "Disabled"
  3. Restart Chrome

Ubuntu on a Toshiba Satellite C55-A

()

Here are notes from installing Ubuntu Linux 13.10 and 14.04.1 on a Toshiba C55-A laptop.

Computer hangs during boot (with a black screen and the backlight on)

Booting the Live DVD results in the computer freezing. Using acpi=off and pci=biosirq resulted in the boot getting further along (which you can debug by also removing the splash and quiet options), but ultimately it was necessary to add these kernel command line parameters both when booting from the Live DVD and in /boot/grub/grub.cfg:

Differences between tmux vs screen

()

I evaluated switching from screen to tmux. tmux is a much younger project with some vocal advocates online. After looking into the differences between them, I will likely switch to tmux for a while to become familiar with it, but may end up switching back to screen because

Haskell unicode character and byte string conversions

()

Run "System Settings" in Ubuntu Unity from the command line

()

To run "System Settings" control panel from the command line in Ubuntu, run:

unity-control-center

It is possible to launch the window with a specific group selected, like:

unity-control-center display

Syndicate content
by Wesley Tanaka