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
require 'dbus' | |
MYNAME = 'com.example.skype_api_client' | |
class SkypeAPI | |
def initialize(name = MYNAME) | |
bus = DBus.session_bus | |
service = bus.service("com.Skype.API") | |
objs = service.object("/com/Skype") | |
objs.introspect |
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
/*! | |
* quantize.js Copyright 2008 Nick Rabinowitz. | |
* Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php | |
*/ | |
// fill out a couple protovis dependencies | |
/*! | |
* Block below copied from Protovis: http://mbostock.github.com/protovis/ | |
* Copyright 2010 Stanford Visualization Group | |
* Licensed under the BSD License: http://www.opensource.org/licenses/bsd-license.php |
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
# configuration for osx clipboard support | |
set-option -g default-command "reattach-to-user-namespace -l sh" |
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
#!/bin/sh | |
# | |
# a simple way to parse shell script arguments | |
# | |
# please edit and use to your hearts content | |
# | |
ENVIRONMENT="dev" |
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
#!/bin/sh | |
# | |
# a simple way to parse shell script arguments | |
# | |
# please edit and use to your hearts content | |
# | |
ENVIRONMENT="dev" |
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
puts DATA.read | |
labelnum = 0 | |
labelstack = [] | |
ARGF.each_char do |c| | |
puts " # #{c}" | |
case c | |
when '>' | |
puts ' addl $4, %eax' | |
when '<' |
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
class User < ActiveRecord::Base | |
attr_accessible :email, :firstname, :lastname, :password_hash, :password_salt , :password , | |
:password_confirmation, :user_type | |
before_save :encrypt_password | |
attr_accessor :password | |
validates_confirmation_of :password | |
validates :email, presence: {:message => 'Email cannot be blank'} |
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
;;; multi-select.el --- Provides multiple noncontiguous selections. | |
;; This file is NOT part of Emacs. | |
;; Copyright (C) 2005, Steve Yegge <steve.yegge at gmail dot com> | |
;; Parts Copyright (C) Lawrence Mitchell <wence@gmx.li> | |
;; Filename: multi-select.el | |
;; Version: 0.9 (pending XEmacs support for version 1.0) | |
;; Author: Steve Yegge <stevey at gmail dot com> | |
;; Created: April 10th 2005 |
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
ii gsl-bin 1.15+dfsg-1 GNU Scientific Library (GSL) -- binary package | |
ii libgsl0-dev 1.15+dfsg-1 GNU Scientific Library (GSL) -- development package | |
ii libgsl0ldbl 1.15+dfsg-1 GNU Scientific Library (GSL) -- library package |
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
*** LOCAL GEMS *** | |
abstract (1.0.0) | |
actionmailer (3.1.0, 3.0.9, 3.0.7, 2.3.11, 2.1.2) | |
actionpack (3.1.0, 3.0.12, 3.0.9, 3.0.7, 2.3.11, 2.1.2) | |
activemodel (3.1.0, 3.0.12, 3.0.9, 3.0.7) | |
activerecord (3.1.0, 3.0.9, 3.0.7, 2.3.11, 2.1.2) | |
activerecord-activesalesforce-adapter (2.0.0) | |
activeresource (3.1.0, 3.0.9, 3.0.7, 2.3.11, 2.1.2) | |
activesupport (2.3.11) |