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 | |
[ | |
'addressable.git', 'extlib.git', | |
'do.git/data_objects', 'do.git/do_mysql', | |
'dm-core.git', 'dm-migrations.git', 'dm-transactions.git', 'dm-do-adapter.git', 'dm-mysql-adapter-1.0.0', | |
].each do |path| | |
$:.unshift "common/gems/#{path}/lib" | |
end |
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 | |
require 'rubygems' | |
require 'data_objects' # current master @ ed1ceefc | |
require 'dm-core' # current master @ 73860575 | |
require 'dm-migrations' # current master @ ab608e81 | |
class Order | |
include ::DataMapper::Resource |
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 | |
# | |
# Demo and workaround for post-connection delay bug in EventMachine 1.0.0 | |
# | |
# See https://github.com/eventmachine/eventmachine/issues/374 for explanation. | |
require 'rubygems' | |
require 'eventmachine' # 1.0.0 | |
require 'amqp' # 0.8.0 / 54f18d426 |
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
require 'rubygems' | |
require 'mechanize' | |
account = { | |
:email => "jpr5@serv.io", | |
:password => "balls", | |
} | |
agent = Mechanize.new | |
site = agent.post("https://www.hipchat.com/sign_in", account).uri.host |
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 | |
# | |
# Script: HipChat bot in Ruby | |
# Author: Jordan Ritter <jpr5@darkridge.com> | |
# | |
unless `rvm-prompt i g`.chomp == "ree@xmpp" | |
exec("rvm ree@xmpp ruby #{$0}") | |
end |
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
Accessibility Preference Pane | |
Main x-apple.systempreferences:com.apple.preference.universalaccess | |
Display x-apple.systempreferences:com.apple.preference.universalaccess?Seeing_Display | |
Zoom x-apple.systempreferences:com.apple.preference.universalaccess?Seeing_Zoom | |
VoiceOver x-apple.systempreferences:com.apple.preference.universalaccess?Seeing_VoiceOver | |
Descriptions x-apple.systempreferences:com.apple.preference.universalaccess?Media_Descriptions | |
Captions x-apple.systempreferences:com.apple.preference.universalaccess?Captioning | |
Audio x-apple.systempreferences:com.apple.preference.universalaccess?Hearing | |
Keyboard x-apple.systempreferences:com.apple.preference.universalaccess?Keyboard | |
Mouse & Trackpad x-apple.systempreferences:com.apple.preference.universalaccess?Mouse |
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
JITSI et al. uses Java but there's no escaping a CPU-arch specific library for *coding video. You get the x86 one by default, | |
so it needs to be recompiled. | |
Seen lots of instructions out there that look complicated and are longer, change a bunch of extra settings, etc. | |
For AWS ARM64, much of that cruft is not needed. This is pretty simple. | |
As of 7/2/21, these are the *default* instructions for installing JITSI (Ubuntu LTS 20.04): | |
---- | |
sudo -s # be root |
OlderNewer