View spam.txt
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
From: wilson.howard36@barid.com | |
Attention, | |
I am Mr. Howard Wilson, Director Unit United Nations Inspection Agent in Hartsfield International Airport Atlanta Georgia USA . | |
During our investigation,I discovered An abandoned shipment through a Diplomat from United Kingdom via Africa under iship | |
forwarder which was transferred from JF Kennedy Airport to our facility here in Atlanta. When scanned, it revealed an undisclosed | |
sum of money in a Metal Trunk Box weighing approximately 55kg each. The consignment was abandoned because the Content was not | |
properly declared by the consignee as (money) rather it was declared as personal effect to avoid diversion by the Shipping Agent | |
also the Diplomat inability to pay for Non Inspection Fees. |
View console.rb
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 ruby | |
require 'bundler/setup' | |
Bundler.require(:default, (ENV['RACK_ENV'] || :development)) | |
require File.expand_path("../../lib/mlted_service_client", __FILE__) | |
require 'pry' | |
SERVER = "http://localhost:9090" | |
block = MltedService::Client::Block.new |
View console.rb
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 ruby | |
require 'pathname' | |
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile", | |
Pathname.new(__FILE__).realpath) | |
require 'rubygems' | |
require 'bundler/setup' | |
require 'melted_client' |
View gist
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 ruby | |
require 'uri' | |
require 'net/http' | |
require 'json' | |
USER = "pferdefleisch" | |
def get_gists current_page | |
uri = URI("https://api.github.com/users/#{USER}/gists?page=#{current_page}") | |
res = Net::HTTP.get_response(uri) |
View z-index.sass
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
.highest-z | |
z-index: 20000 | |
=highest-z | |
@extend .highest-z | |
.high-middle-z | |
z-index: 15000 | |
=high-middle-z | |
@extend .high-middle-z | |
.middle-z | |
z-index: 10000 |
View foo.md
So there are 3 possibilities that I see for getting mlt to work with Ruby.
- Run melted and build a ruby client for it. I actually partially built one that I would share with you if you are interested
- Use FFI and connect directly to “mlt.h.” This is the direction I would have headed in if I was still using mlt.
- Compile the Ruby SWIG bindings, fire up pry (pry was instrumental in being to do anything with the mlt bindings for me) and play around.
If you are messing around in the repl, you can send arguments of the wrong type to methods and the error generally tells you what kind of argument it wants. With pry
you can also
ls
classes and objects to see the methods available on them (awesome!).
Here are the lines that expose the SWIG API to the C++ API. So the Ruby classes you can use when you require “mlt”
. ex. Producer.new
https://github.com/mltframework/mlt/blob/master/src/swig/mlt.i#L34
View 1_Summary.md
Summary - all calculations other files below
The BBQ cost 133 EUR and took in 120 EUR. We have a left over case of beer and a few bags of chips which means we pretty much broke even.
For the 4th of July BBQ, I'll offer something special for the burger purchases from the last BBQ, I don't know what yet.
What this all means is that the burger eaters bankrolled the whole thing.
I would like to charge less for the burgers. I would also like to provide beer, water and other beverages.
View console.md
with 5 items
obj = {};
for (var i = 0, l = 5; i < l; i++) {
obj["foo" + i] = "bar";
}
console.log(obj)
OlderNewer