I hereby claim:
- I am imbriaco on github.
- I am imbriaco (https://keybase.io/imbriaco) on keybase.
- I have a public key whose fingerprint is 12F8 A46C ED68 CE92 6A12 CD2B 1EB2 4C04 4921 45F9
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
[mark@beast /mnt/tank/media]$ zpool list | |
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT | |
tank 10.9T 3.27T 7.61T 30% 1.00x DEGRADED /mnt |
This script tells the OSX UI server to click the "Add to Wunderlist" menu item. This is a horrible hack because the system preference to add shortcuts does not appear to work on the Share menu for Safari, at least with Yosemite. I combined this with a very simple Alfred workflow that is bound to a hotkey in order to trigger the script when I hit CMD-Y in Safari. It feels super crude, but it does ultimately do what I want.
Is there a better way?
1. Save test.rb and danish_email to a directory somewhere. | |
2. Copy rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3 to the directory. | |
3. Run test.rb under JRuby. Generates an exception like this: | |
% jruby test.rb | |
org.jruby.util.Pack:903:in `unpack': java.lang.ArrayIndexOutOfBoundsException: -61 | |
from org.jruby.RubyString:3443:in `unpack' | |
from org.jruby.RubyString$i_method_1_0$RUBYINVOKER$unpack:-1:in `call' | |
from org.jruby.runtime.callsite.CachingCallSite:280:in `cacheAndCall' | |
from org.jruby.runtime.callsite.CachingCallSite:116:in `call' |
Erlang (BEAM) emulator version 5.6.5 [source] [smp:2] [async-threads:0] [hipe] [kernel-poll:false] | |
Eshell V5.6.5 (abort with ^G) | |
1> c("/Users/mark/Projects/erlang/excercises/parallel/ex3.erl", [{outdir, "/Users/mark/Projects/erlang/excercises/parallel"}]). | |
{ok,ex3} | |
2> ex3:start(foo, fun ex3:loop/0). | |
yes | |
3> ex3:start(foo, fun ex3:loop/0). | |
Function already registered. | |
ok |
Version 1.03c ------Sequential Output------ --Sequential Input- --Random- | |
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- | |
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP | |
xen_iscsi 2G 20117 24 19315 3 6633 0 30573 18 37284 0 693.1 0 | |
------Sequential Create------ --------Random Create-------- | |
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- | |
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP | |
16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ | |
Version 1.03c ------Sequential Output------ --Sequential Input- --Random- |
start(AnAtom, Fun) -> | |
case global:set_lock({funLock, AnAtom}, [node()], 0) of | |
true -> | |
Pid = spawn(Fun), | |
global:register_name(AnAtom, Pid); | |
false -> | |
{error, "Function already registered."} | |
end. | |
15:20:54.075943 IP cpe-024-163-071-014.nc.res.rr.com.51252 > imbriaco.com.syslog: SYSLOG kernel.emergency, length: 46 | |
0x0000: 4500 004a 2012 0000 3311 7411 18a3 470e | |
0x0010: 4b7f 4850 c834 0202 0036 9cb8 3c30 3e4a | |
0x0020: 616e 2020 3120 3135 3a32 303a 3534 2063 | |
0x0030: 7963 6c6f 7073 2073 7973 6c6f 675b 3630 | |
0x0040: 3731 335d 3a20 7465 7374 | |
MegaCLI SAS RAID Management Tool Ver 1.01.39 Aug 01, 2007 | |
(c)Copyright 2007, LSI Logic Corporation, All Rights Reserved. | |
MegaCli -v | |
MegaCli -help|-h|? | |
MegaCli -adpCount | |
MegaCli -AdpSetProp {CacheFlushInterval -val}|{ RebuildRate -val} | |
|{PatrolReadRate -val}|{BgiRate -val}|{CCRate -val} | |
|{ReconRate -val}|{SpinupDriveCount -val}|{SpinupDelay -val} | |
|{CoercionMode -val}|{ClusterEnable -val}|{PredFailPollInterval -val} |
#!/usr/bin/env jruby | |
require 'benchmark' | |
require 'java' | |
module RabbitMQ | |
module RabbitMQ::Client | |
include_package "com.rabbitmq.client" | |
end | |
end |