Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View dmccombs's full-sized avatar

Dan McCombs dmccombs

  • Oracle
  • Nashua, NH
View GitHub Profile
@dmccombs
dmccombs / config.fish
Created April 28, 2016 00:59
A simple way to use the GNOME keyring for SSH key managment in fish shell
# Add this to the bottom of your config.fish file
# Set SSH to use Gnome keyring
set -gx SSH_AUTH_SOCK (gnome-keyring-daemon --start | grep "^SSH_AUTH_SOCK" | awk -F "=" '{print $2}')
#!/bin/dash
###
# ABOUT : collectd monitoring script for smartmontools (using smartctl)
# AUTHOR : Samuel B. <samuel_._behan_(at)_dob_._sk> (c) 2012
# LICENSE: GNU GPL v3
# SOURCE: http://devel.dob.sk/collectd-scripts/
#
# This script monitors SMART pre-fail attributes of disk drives using smartmon tools.
# Generates output suitable for Exec plugin of collectd.
###
### Keybase proof
I hereby claim:
* I am dmccombs on github.
* I am dmccombs (https://keybase.io/dmccombs) on keybase.
* I have a public key whose fingerprint is 8A83 DE57 2643 552E EC4A 6566 4936 A4CE 65D8 E7F8
To claim this, I am signing this object:
diff --git example/SmartlingApiExample.py example/SmartlingApiExample.py
index 0a9d570..743ee62 100644
--- example/SmartlingApiExample.py
+++ example/SmartlingApiExample.py
@@ -38,29 +38,29 @@ class SmartlingApiExample:
self.new_name = new_name
def printMarker(self, caption):
- print "--" + caption + "-" * 40
+ print("--" + caption + "-" * 40)