linux

firefox, fox, browser firefox, fox, browser

About five years ago I answered a question on Superuser.com — Can I close firefox browser tab or firefox browser from ubuntu terminal? My answer to this question was to use wmctrl, a CLI program to interact with an X Window Manager. I had completely forgotten about answering that question until today when I was…

Read More How to close Firefox from the Ubuntu command line

I’m switching from OSX to Ubuntu, and I’d like to be able to play my favorite game. Playonlinux has an install script for League of Legends, but it hasn’t been maintained in awhile, and there are some show stopping bugs. Here is how I got League of Legends to run on Ubuntu 14.04 in September…

Read More League of Legends on Ubuntu 14.04 (September 2016)

Post thumbnail

You may run into errors when running OpenBazaar-Server. One common error is this: Traceback (most recent call last): File “openbazaard.py”, line 8, in <module> import stun ImportError: No module named stun This happens because Python (which is running OpenBazaar-Server) doesn’t have access to the Python module, stun. If you have already run the command, pip…

Read More How to create a Python virtual environment for OpenBazaar

Just putting my notes here. Prereqs: cgminer openCL scrypt git Get openCL sudo apt-get -y install opencl-headers Move to temporary directory and get cgminer cd ~/tmp git clone https://github.com/ckolivas/cgminer enter cgminer directory and run autogen cd cgminer ./autogen.sh configure with scrypt enabled ./configure –enable-script compile! make  

Read More Litecoin mining in headless Ubuntu 12.04 with GeForce 8400 GS

Post thumbnail

Want a magical cow to tell you your fortune? (Instead of that boring old fish?) Install cowsay  and fortune ! sudo apt-get -y install cowsay fortune Use command substitution on fortune  and have cowsay display it: cowsay $(fortune) Do this whole blog post in one step! sudo apt-get -y install cowsay fortune && cowsay $(fortune) && echo…

Read More Bovines in Linux Impart a Token of Wisdom

I got my Netgear wifi dongle working with my raspberry pi model A. Here’s how I did it. Plug in the Netgear WG111 The RPi should see it right away (verify usinglsusb ) and you’ll see something like wlan0 using ifconfig Edit the wpa_supplicant.conf file and add the desired SSID and passphrase you want to connect to:…

Read More Connecting Raspberry Pi running Rasbian to a WPA2 network using a Netgear WG111v2

I had this error on nagios for the longest time. “NRPE: Command ‘check_disk_root’ not defined” This problem server, called derp is running NRPE under xinetd. Today I solved the issue! Big thanks to this answer on stackoverflow. In this answer by Jim Black, Jim says, “Be sure you killed off all the old daemons, including…

Read More Nagios “NRPE: Command ‘check_disk_root’ not defined”