$ ipmitool sensor list all
CPU1 Temp | 0x0 | discrete | 0x0000| na | na | na | na | na | na
CPU2 Temp | 0x0 | discrete | 0x0000| na | na | na | na | na | na
System Temp | 38.000 | degrees C | ok | -9.000 | -7.000 | -5.000 | 75.000 | 77.000 | 79.000
CPU1 Vcore | 0.976 | Volts | ok | 0.808 | 0.816 | 0.824 | 1.432 | 1.440 | 1.448
CPU2 Vcore | 0.920 | Volts | ok | 0.808 | 0.816 | 0.824 | 1.432 | 1.440 | 1.448
CPU1 DIMM | 1.520 | Volts | ok | 1.288 | 1.296 | 1.304 | 1.656 | 1.664 | 1.672
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'fileutils' | |
# Originally -- Dave Deriso -- [email protected] | |
# Contributor -- G. Richard Bellamy -- [email protected] | |
# If you contribute, put your name here! | |
# To get your team ID: | |
# 1. Go to your GitHub profile, select 'Personal Access Tokens', and create an Access token | |
# 2. curl -H "Authorization: token <very-long-access-token>" https://api.github.com/orgs/<org-name>/teams | |
# 3. Find the team name, and grabulate the Team ID |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
size=1024 # MB | |
mount_point=$HOME/tmp | |
name=$(basename "$mount_point") | |
usage() { | |
echo "usage: $(basename "$0") [mount | umount | remount | check | orphan]" \ | |
"(default: mount)" >&2 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
from sys import exit, stderr | |
from subprocess import Popen, PIPE | |
import json | |
import urllib | |
# Run this on the command line to get an access token | |
# paste in your OAuth consumer key and secret | |
# paste in your username and password |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM | |
REM schema_compare.sql | |
REM =================== | |
REM | |
REM This script is provided by Database Specialists, Inc. | |
REM (http://www.dbspecialists.com) for individual use and not for sale. | |
REM Database Specialists, Inc. does not warrant the script in any way | |
REM and will not be responsible for any loss arising out of its use. | |
REM | |
REM Your feedback is welcome! Please send your comments about this script |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Kensington Expert Mouse Trackball | |
# Run "xinput" to see the id and what it's called | |
# | |
# | |
# Run "xev|grep Button -A 3" to see the actual mappings | |
# Bottom Right - 1 | |
# Bottom Left - 3 | |
# Upper Left - 2 | |
# Upper Right - 8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in case it's already installled | |
vagrant plugin uninstall vagrant-libvirt | |
# vagrant's copy of curl prevents the proper installation of ruby-libvirt | |
sudo mv /opt/vagrant/embedded/lib/libcurl.so{,.backup} | |
sudo mv /opt/vagrant/embedded/lib/libcurl.so.4{,.backup} | |
sudo mv /opt/vagrant/embedded/lib/libcurl.so.4.3.0{,.backup} | |
sudo mv /opt/vagrant/embedded/lib/pkgconfig/libcurl.pc{,.backup} | |
CONFIGURE_ARGS="with-libvirt-include=/usr/include/libvirt with-libvirt-lib=/usr/lib" vagrant plugin install vagrant-libvirt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GNOME 3.6.2 | |
# stole fair and square from https://gist.github.com/musinsky/2402448#file-gnome-sh | |
gsettings set org.gnome.desktop.default-applications.terminal exec 'gnome-terminal --geometry=96x24+0-0' | |
gsettings set org.gnome.desktop.default-applications.terminal exec-arg '-x' | |
gsettings set org.gnome.desktop.background picture-options 'none' | |
gsettings set org.gnome.desktop.background color-shading-type 'vertical' | |
gsettings set org.gnome.desktop.background primary-color '#3C78B4' # (Red: 60 Green: 120 Blue: 180) | |
gsettings set org.gnome.desktop.background secondary-color '#1E3C5A' # (Red: 30 Green: 60 Blue: 90) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for k in `gsettings list-keys org.gnome.desktop.wm.keybindings`; do echo $k = `gsettings get org.gnome.desktop.wm.keybindings $k`; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rbellamy@lamassu i ~/.vim/bundle/powerline % python2 /usr/bin/rst2man2.py CONTRIBUTING.rst | |
.\" Man page generated from reStructuredText. | |
. | |
.TH HOW TO CONTRIBUTE "" "" "" | |
.SH NAME | |
How to contribute \- | |
. | |
.nr rst2man-indent-level 0 | |
. | |
.de1 rstReportMargin |