Showing posts from November, 2013

Completely wipe Chrome data on Mac

find ~/Library/ -type d -name 'Chrome' -exec rm -rfv {} \;

Chromecast tricks

is casting a tabdon't do full screeninstead, shrink browser window to size of original videowhat is put on the screen is relative to the window sizeseems to save on bandwidthpassed through your wireless routerless broken stream therefore

Building latest collectd on Amazon Linux server in AWS

yum install byacc flex automake libtool libgcrypt-devel glib2-devel libtool-ltdl-devel perl-ExtUtils-MakeMakercomments below imply this may be necessary: apt-get install bison git clone collectd./   Some helpful libs, start over to use them
yum install lvm2-devel net-snmp-devel liboping-devel libpcap-devel libesmtp-devel libcurl-devel libmnl-devel Dated: Nov, 2013

Openbox: monitor laptop battery via CLI and notify-send

while (true);do acpi -b | perl -n -e 's/.*?(\d+)%.*/$1/;chomp;print "$_...";if ($_ <= 15) {`notify-send batalert:$_`};';sleep 180;done
Would like a beep, but can't get one, no PC speaker on MacBook Air and mplayer buffers.

Change X / Openbox screen brightness on CLI

sudo apt-get -y install xbacklightxbacklight +10xbacklight +10xbacklight +10xbacklight -10xbacklight -10xbacklight -10

Recover wireless of Ubuntu on MacBook Air 4,2

sudo apt-get --reinstall install bcmwl-kernel-sourcesudo modprobe -r b43 ssb wl brcmfmac brcmsmac bcmasudo modprobe wl Broadcom 802.11 Linux STA wireless driver source

wicd: Could not connect to wicd's D-bus interface

I don't know why, she swallowed the fly.


Wicd needs to access your computer's network cardsCould not connect to wicd's D-Bus interface

sudo mv -v /etc/resolv.conf /etc/resolv.conf.backupsudo ln -s /run/resolvconf/resolv.conf /etc/resolv.confsudo rm -v /var/lib/wicd/resolv.conf.origsudo service wicd startyum -y install wicd-gtkwicd-gtk Taken:

Zenoss on Amazon Linux

Someone saved my life tonight, Sugarbear:

Also taken:

remove non-critical, unmet dependencies in rpmget good version of rpmrebuildwget localinstall rpmrebuild-2.9-7.4.1.noarch.rpmwget -e -n -p zenoss_core-4.2.4-1897.el6.x86_64.rpmremove linesRequires:      libgcj%dir %attr(0755, root, root) "/etc/sudoers.d"# ensure that the system uses the /etc/sudoers.d directorySUDOERSD_TOKEN="#includedir /etc/sudoers.d"SUDOERSD_FOUND=`/bin/egrep "^$SUDOERSD_TOKEN" /etc/sudoers`if [ -z "$SUDOERSD_FOUND" ]; then   echo "# zenoss rpm, ensure that /etc/sudoers.d loads"…

Listen to internet radio without Flash on Mac and Linux CLI

NOTE: nice classical music option!
OS typeMacbrew install mplayerSee this if you hit the bug: (Debian-based)apt-get install mplayerplay on CLImplayer <stream>e.g. mplayer  Or/else: paste stream link into a browser directlyuse VLC to play stream

Read ext4 on Mac

install xcodeinstall brewbrew install ext4fusefollow any instructions on changing permissionsext4fuse <device> <mountpoint>