I hereby claim:
- I am buth on github.
- I am buth (https://keybase.io/buth) on keybase.
- I have a public key ASDNSWn2sg3l9w5AP0Uc9DFz0Q8VQheJxXrruxNI66HUKwo
To claim this, I am signing this object:
RUN \ | |
curl -sfLO http://www.imagemagick.org/download/ImageMagick-6.9.0-4.tar.gz && \ | |
echo 'cf51a1c6ebf627c627a8e6ac20aecce5f1425907c2cdb98c5a60f329c5c6caf2 ImageMagick-6.9.0-4.tar.gz' | sha256sum -c - && \ | |
tar -xzf ImageMagick-6.9.0-4.tar.gz && \ | |
cd ImageMagick-6.9.0-4 && \ | |
./configure --prefix /usr/local && \ | |
make install && \ | |
cd .. && \ | |
rm -rf ImageMagick* |
I hereby claim:
To claim this, I am signing this object:
package main | |
func send(c chan int, i int){ | |
c <- i | |
} | |
func main() { | |
c := make(chan int) | |
go send(c, 1) | |
go send(c, 2) |
require 'mixlib/config' | |
module MyConfig | |
extend Mixlib::Config | |
def self.required(name) | |
default(name) {raise "You must provide a configuration value for #{name}."} | |
end | |
config_strict_mode true |
module M | |
def value | |
@@value ||= rand(100) | |
end | |
end | |
class A | |
include M | |
end |
module ThreadIO | |
def ThreadIO.puts(s) | |
@@semaphore ||= Mutex.new | |
@@semaphore.synchronize do | |
STDOUT.puts s | |
end | |
Thread.pass | |
end | |
end |