Start weechat if you haven't already:
$ weechatopen up browser and go to: https://irc.gitter.im/ retrieve your /PASS
In weecaht run (thanks to raine):
| #include <my_library.h> | |
| int | |
| main (int argc, char *argv[]) | |
| { | |
| // Capture stdout file descriptor and position | |
| int orig_stdout_fd; | |
| fpos_t orig_stdout_pos; | |
| fflush (stdout); |
Start weechat if you haven't already:
$ weechatopen up browser and go to: https://irc.gitter.im/ retrieve your /PASS
In weecaht run (thanks to raine):
| require 'ffi' | |
| require 'benchmark' | |
| module LibC | |
| extend FFI::Library | |
| ffi_lib FFI::Library::LIBC | |
| attach_function :malloc, [:size_t], :pointer | |
| attach_function :free, [:pointer], :void | |
| end |
Android ARM: http://www.droidbin.com/p19cp3mr1d1uuri8kgq7sguq2o3
Android ARMv7: http://www.droidbin.com/p19cp3c0dhtpk6bpcv1o1v1he13
Android x86: http://www.droidbin.com/p19cp3ocjlhqd8nb8sfurg114c3
| defmodule Mix.SCM.Mercurial do | |
| @behaviour Mix.SCM | |
| @moduledoc false | |
| def fetchable? do | |
| true | |
| end | |
| def format(opts) do | |
| opts[:hg] |
| $ env RBXOPT=-Xprofile beta/bin/myco inoculate gamma | |
| Thread 1: total running time: 318.041755872s | |
| % cumulative self self total | |
| time seconds seconds calls ms/call ms/call name | |
| ------------------------------------------------------------ | |
| 16.02 113.63 86.85 4556901 0.02 0.02 Myco.find_constant_bucket_in_module | |
| 4.76 316.69 25.83 2166219 0.01 0.15 Array#each | |
| 4.09 23.57 22.19 10600526 0.00 0.00 Array#[] |
Example invocation of a RabbitMQ docker container (use -d instead of -t -i to run in the background):
sudo docker run -t -i --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3-managementExample of controlling the rabbitmq-server inside the container using rabbitmqctl (also inside the container).
sudo docker exec rabbitmq su rabbitmq -- /usr/lib/rabbitmq/bin/rabbitmqctl status| require "net/http" | |
| require "socket" | |
| gem "libxml-xmlrpc" | |
| require "xml/libxml/xmlrpc" | |
| module Supervisor | |
| class << self | |
| attr_accessor :socket_path | |
| 10001 | |
| b1ce711c1e1b468784a08490d5962216 | |
| cad0d4c357342dd7ad959a5029d3d316972b9b9fe234f08ba7b6bff3b522505b16f52d218c693597b2840f90807a7f77899d7454dbc2011724d45603a136682c3b4fa43a21b201ff3d8efe16cdda5ea6d225dd74c68d09b84536d3b2292beb83d1d0dbb692261eeb2ebefeb21b1836c7e19864f4198ce84fe2033fbefcd377e5 | |
| 79ee227b6da9c905a92e0f9fb205cf19fdb811cf85471e765755df00bd1cec025742fee6f46b2bf50f35a5c5d1f7d33a2259aede755fa5182ce41af203b199de2ba5cf801fcb4c8863b3c40cfdb18c9985ddad8710618802fd8969127c5f0fd52931f74a11082e27890cfbd11ae21b3611e54212d9e4269801f84d4f7e4ea601 | |
| 02000001350100000000b501000000010000000000000000000000000000000000125a756e6520536f6674776172652043412031000100010080336ee6aa07bfb3ffd04024cec38be6497ef60e3d7f682e0ff15e6c65ff613bde176fad7137884e80a813cf53c3101aa51b9e4f54b24fd514cdc509b6b71e1f48513df06444d9b55963e8121c4c69b67d6a1314f973c9585c29bb990ad7fd151dbbcb4f9ed7dfe292ba4ed9c6acf58e6adeef5b877a1c1545742634916946459b094b259ed85ef02b08a318e67afd68c289a8c6a61bc8023ca87fe367bdcc0856c3d15758c866e53fb52e86ec569c9c070a2 |
| actor Main | |
| let env: Env | |
| new create(env': Env) => | |
| env = env' | |
| env.input(notify()) | |
| be print(data: ByteSeq val) => | |
| env.out.print(data) | |
| fun tag notify(): StdinNotify iso^ => |