This file contains 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/python | |
# -*- coding: utf-8 -*- | |
import os | |
import re | |
from lxml import etree | |
import StringIO | |
import sys | |
reload(sys) |
This file contains 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/ruby | |
# file: keepassx2csv.rb | |
# | |
# [*Description*] | |
# Exporting Password entries from a XML export of KeepassX to CSV | |
# The script will take care of the following fields: | |
# - Title | |
# - Username | |
# - Password | |
# - URL |
This file contains 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 | |
# 20150922/JT | |
# Parse twitter feed to rss | |
# | |
# Input: twitter handle | |
# Output: xml | |
# | |
require 'nokogiri' | |
require 'open-uri' | |
require 'rss' |
This file contains 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 | |
# 2016-01-01 | |
# Script to log the played songs from MOCP into a logfile or into a playlist. | |
# | |
require 'rubygems' | |
require 'thor' | |
module MocpLogger | |
class MocpLogger < Thor |
This file contains 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 | |
# 2017-11-27/dbv | |
# Script to parse a vagrant file and return the configured network addresses | |
# | |
# Can sort by node name (default) or confiured ip. | |
# | |
require 'thor' | |
class Vagrant < Thor | |
class_option 'sort-by-node', :aliases => '-n', :type => :boolean, :required => false, :desc => 'Sort output by node name.' |