[LOGO]
[ADDRESS]
[PHONE]
[CONTACT EMAIL]
[DATE]
<?php | |
class CampfireAPI | |
{ | |
//Campfire API variables | |
//MODIFY THESE FOR YOUR ACCOUNT | |
public $url = ''; //The full URL to your account. ex: http://[account].campfirenow.com | |
public $username = ''; //The Campfire user you want to log messages as. (usually an email address) | |
public $password = ''; //The users Campfire password | |
public $roomid; |
VBoxManage setextradata ubuntu-dev "VBoxInternal/Devices/e1000/0/LUN#0/Config/guesthttp/Protocol" TCP | |
VBoxManage setextradata ubuntu-dev "VBoxInternal/Devices/e1000/0/LUN#0/Config/guesthttp/GuestPort" 80 | |
VBoxManage setextradata ubuntu-dev "VBoxInternal/Devices/e1000/0/LUN#0/Config/guesthttp/HostPort" 8080 | |
VBoxManage setextradata ubuntu-dev "VBoxInternal/Devices/e1000/0/LUN#0/Config/guestssh/Protocol" TCP | |
VBoxManage setextradata ubuntu-dev "VBoxInternal/Devices/e1000/0/LUN#0/Config/guestssh/GuestPort" 22 | |
VBoxManage setextradata ubuntu-dev "VBoxInternal/Devices/e1000/0/LUN#0/Config/guestssh/HostPort" 2222 |
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or | |
# /usr/share/doc/ifupdown/examples for more information. | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface | |
# Uncomment this and configure after the system has booted for the first time | |
auto eth0 | |
iface eth0 inet static |
" tir_#352030 color scheme | |
" Based on ir_#352030 from: http://blog.infinitered.com/entries/show/8 | |
" adds 256 color console support | |
" changed WildMenu color to be the same as PMenuSel | |
set background=dark | |
hi clear | |
if exists("syntax_on") | |
syntax reset |
if Rails.version.to_f >= 3.1 and Rails.application.config.assets.enabled | |
require 'capybara/util/save_and_open_page' | |
module Capybara | |
class << self | |
def save_page(html, file_name=nil) | |
rewrite_css_assets | |
save_page_html(html, file_name) | |
end | |
protected |
Object.extend(Campfire.Message.prototype, { | |
addAvatar: function() { | |
if (this.actsLikeTextMessage()) { | |
var author = this.authorElement(); | |
var avatar = ''; | |
if (author.visible()) { | |
author.hide(); | |
if (this.bodyCell.select('strong').length === 0) { | |
//this.bodyCell.insert({top: '<strong style="color:#333;">'+author.textContent+'</strong><br>'}); |
require 'json' | |
require 'csv' | |
class SimpleJsonExport | |
def initialize(filepath) | |
@filepath = filepath | |
end | |
def transactions | |
@transactions ||= data['transactions'].collect do |transaction| |
[LOGO]
[ADDRESS]
[PHONE]
[CONTACT EMAIL]
[DATE]
var tz = jstz.determine(); | |
tz.name(); // returns "America/Los Angeles" |