Let's have some command-line fun with curl, [jq][1], and the [new GitHub Search API][2].
Today we're looking for:
sql_lexer/src/rs/lib.rs:325:28: 325:36 warning: found non-foreign-function-safe member in struct marked #[repr(C)]: found struct without foreign-function-safe representation annotation in foreign module, consider adding a #[repr(C)] attribute to the type, #[warn(improper_ctypes)] on by default | |
sql_lexer/src/rs/lib.rs:325 settings: &mut Settings) -> size_t; | |
^~~~~~~~ | |
sql_lexer/src/rs/lib.rs:330:28: 330:36 warning: found non-foreign-function-safe member in struct marked #[repr(C)]: found struct without foreign-function-safe representation annotation in foreign module, consider adding a #[repr(C)] attribute to the type, #[warn(improper_ctypes)] on by default | |
sql_lexer/src/rs/lib.rs:330 settings: &mut Settings) -> size_t; | |
^~~~~~~~ | |
sql_lexer/src/rs/lib.rs:335:28: 335:36 warning: found non-foreign-function-safe member in struct marked #[repr(C)]: found struct without foreign-function- |
require 'celluloid/autostart' | |
class Manager | |
include Celluloid | |
trap_exit :processor_died | |
def initialize | |
@ready = 2.times.map { Processor.new_link } | |
end |
Let's have some command-line fun with curl, [jq][1], and the [new GitHub Search API][2].
Today we're looking for:
class WTF | |
attr_reader :color | |
def initialize | |
@color = 'red' | |
end | |
def color_with_self | |
color = self.color | |
color |
foo | |
D, [2013-05-11T00:39:46.596057 #48493] DEBUG -- : Terminating 2 actors... | |
D, [2013-05-11T00:39:46.596526 #48493] DEBUG -- : Shutdown completed cleanly |
See our wiki page
source 'https://rubygems.org' | |
gem 'celluloid-io', :git => 'https://github.com/celluloid/celluloid-io.git' | |
gem 'celluloid', :git => 'https://github.com/celluloid/celluloid.git' | |
gem 'reel',:git => 'https://github.com/celluloid/reel.git' |
require 'rubygems' | |
require "bundler/setup" | |
require 'reel/app' | |
Celluloid.task_class = Celluloid::TaskThread | |
class Wu | |
include Reel::App | |
get '/' do |request| | |
puts "Request came in //" |