Skip to content

Instantly share code, notes, and snippets.

View Nokogiri's full-sized avatar

Michael Pappe Nokogiri

View GitHub Profile
class Convert
@@temp,@@unit = gets.strip.split
def units
@@unit
end
def temps
self.is_i?(@@temp)
@@temp
end
def is_i?(s)
# tmux config
# jwc
# see my blog post about tmux for more information
# http://blog.jwcxz.com/?p=517
set -g bell-action any
set -g default-terminal screen-256color
set -g display-panes-colour red
set -g message-bg cyan
set -g message-fg white
# tmux config
# jwc
# see my blog post about tmux for more information
# http://blog.jwcxz.com/?p=517
set -g bell-action any
set -g default-terminal screen-256color
set -g display-panes-colour red
set -g message-bg cyan
set -g message-fg white
#!/usr/bin/ruby
require 'net/imap'
user = '[email protected]'
pass = 'SUPERSECRETPASSWORD'
folder = ['INBOX','1und1']
box = Net::IMAP.new('uhuc.de','993',true)
box.authenticate('LOGIN', user, pass)
# NOTES:
# DHCP clients can append or replace NTP configuration files.
# You should consult your DHCP client documentation about its
# default behaviour and how to change it.
# Name of the servers ntpd should sync with
# Please respect the access policy as stated by the responsible person.
#server ntp.example.tld iburst
# Common pool for random people
/*
Konify3D
Copyright (C) 2009 Xyne
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "AutoAddDevices" "on"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
/*
Konify3D
Copyright (C) 2009 Xyne
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.