Crystal not working in Mac OS X Mojave #6875
**jasdeepsingh ** commented on 27 Sep 2018
Solution:
export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig
Fish Shell: set -U -x PKG_CONFIG_PATH /usr/local/opt/openssl/lib/pkgconfig
# Make the code below output "something!" | |
# by adding a single line of code to line 3. | |
something = something.something unless something | |
puts something | |
# something! |
#!/bin/bash | |
# -------------------------------------------------------------------------------------------- | |
# Installs Ruby 3.0 using rbenv/ruby-build on the Raspberry Pi (Raspbian) | |
# | |
# Run from the web: | |
# bash <(curl -s https://gist.githubusercontent.com/murdho/9560f5a5bd1aa9817b4cedfbaf252e29/raw/install_ruby_rpi.sh) | |
# -------------------------------------------------------------------------------------------- | |
# Welcome message |
package interrupt | |
import ( | |
"os" | |
"os/signal" | |
"syscall" | |
) | |
func Wait() { | |
signalChan := make(chan os.Signal, 1) |
**jasdeepsingh ** commented on 27 Sep 2018
Solution:
export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig
Fish Shell: set -U -x PKG_CONFIG_PATH /usr/local/opt/openssl/lib/pkgconfig
@trace_depth = 0 | |
@trace = TracePoint.new(:call, :return) do |tp| | |
if tp.path.include?("/murdho/Developer/APP_NAME_HERE") | |
is_a_call = tp.event == :call | |
is_a_call ? @trace_depth += 1 : @trace_depth -= 1 | |
@trace_depth = 0 if @trace_depth < 0 | |
puts [ | |
" " * @trace_depth, | |
"\e[33m", # Yellow color start |
# Replace "#..." with something to make it return "something!" | |
# (please use Ruby 2.1 or newer) | |
something = #... | |
something.something unless something | |
# => "something!" |
I hereby claim:
To claim this, I am signing this object:
NOKOGIRI_USE_SYSTEM_LIBRARIES=1 \ | |
gem install nokogiri -v '1.6.1' -- \ | |
--with-xml2-config=/usr/local/opt/libxml2/bin/xml2-config \ | |
--with-xslt-config=/usr/local/opt/libxslt/bin/xslt-config |
# After building a new Linode Ubuntu 13.04 image... | |
ssh root@linode-123 | |
# ... | |
uname -a | |
# Linux li348-235 3.12.9-x86_64-linode37 #1 SMP Mon Feb 3 10:01:02 EST 2014 x86_64 x86_64 x86_64 GNU/Linux | |
apt-get update | |
apt-get install -y linux-virtual grub-legacy-ec2 |
require 'function' | |
# A fibonacci function. | |
fib = Function.new | |
fib[0] = 0 | |
fib[1] = 1 | |
fib[Integer] = proc { |i| fib[i - 2] + fib[i - 1] } | |
p fib[0] # => 0 |