- Note: always set
umask 022
for system-shared libraries - See http://blog.equanimity.nl/blog/2014/02/09/erlang-r17-rc1-on-osx-with-wx-and-a-working-observer/ for the details
- wxWidgets 3.0.0 works the same in R16B03-1 and 17.0-rc2
- Note well:
wx:demo()
on OS X 10.9.2 with wxWidgets 3.0.0 is still unstable, thoughobserver:start()
is more stable. - If you really don't have time, try Erlang Solutions' 32bit (not 64bit) distribution at https://www.erlang-solutions.com/downloads/download-erlang-otp to use it as a debugging console.
- Update 28-FEB-2014 0230UTC: Leo Liu reports
brew install wxmac --disable-monolithic
will do. See http://erlang.org/pipermail/erlang-questions/2014-February/077952.html.
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
class Blah | |
def add(x, y) | |
x + y | |
end | |
end | |
# => nil | |
class Symbol | |
def call(*args, &block) | |
->(o) { o.send(self, *args, &block) } | |
end |
class StatsController
def update
# call sidekiq worker as normal
TwitterStatsWorker.perform_async(twitter_user.pin, twitter_user.token)
end
end
class TwitterStatsWorker
include Sidekiq::Worker
June 26-27, 2014
Web site: http://reddotrubyconf.com/ Twitter: http://twitter.com/reddotrubyconf
Ping me @cheeaun on Twitter if you found some awesome stuff for #rdrc2014. This gist will be updated whenever there's new stuff.
Previously, on RedDotRubyConf...
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
;;; packages.el --- elm Layer packages File for Spacemacs | |
;; | |
;; Copyright (c) 2012-2014 Sylvain Benner | |
;; Copyright (c) 2014-2015 Sylvain Benner & Contributors | |
;; | |
;; Author: Sylvain Benner <sylvain.benner@gmail.com> | |
;; URL: https://github.com/syl20bnr/spacemacs | |
;; | |
;; This file is not part of GNU Emacs. | |
;; |
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
set :application, "hermes" | |
set :repository, "git@your_repository:hermes.git" | |
set :user, 'root' | |
set :use_sudo, false | |
set :deploy_via, :remote_cache | |
set :scm, :git | |
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none` | |
role :web, "xxx.com" # Your HTTP server, Apache/etc |
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 bash | |
# This is an RVM Project .rvmrc file, used to automatically load the ruby | |
# development environment upon cd'ing into the directory | |
# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional. | |
environment_id="ruby-1.9.2-p290@jankd" | |
# | |
# Uncomment following line if you want options to be set only for given project. |
June 7-8, 2013
Web site: http://reddotrubyconf.com/ Twitter: http://twitter.com/reddotrubyconf
Ping me @cheeaun on Twitter if you found some awesome stuff for #rdrc. This gist will be updated whenever there's new stuff.
Previously, on RedDotRubyConf 2012
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
My name is Ben Orenstein and I work at thoughtbot in Boston. | |
Notes will be published. | |
I'd like to tell you a story. (5:42) | |
I've never talked about this publicly. | |
Umass. | |
Second job. | |
Version control. | |
Successful since then. |
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
guard 'shell', :elixirc_bin => "/usr/local/elixirc" do | |
watch(/(.+\.ex$)/) { |m| `elixirc #{m[0]}` } | |
end | |
guard 'shell', :elixir_bin => "/usr/local/elixir" do | |
watch(/(.+\.exs$)/) { |m| `elixir #{m[0]}` } | |
end |
OlderNewer