Skip to content

Instantly share code, notes, and snippets.

Bill of lading ref number Product Description Quantity product category
MEDUMY486000 BC-18J24-0201(D) Palmit 80 Totes 266 palmit
MEDUMI152544 INC-18K27-0202(F) Palmit 80 Totes 190 palmit
MEDUMI226397 INC-18K27-0301(B) Palmit 80 Totes 190 palmit
MEDUMI226538 INC-18K27-0301(D) Palmit 80 Totes 190 palmit
MEDUMY564855 BC-19B22-0354 Palmit 80 Totes 228 palmit
COSU6202710250 BC-18J24-0301(C) Palmit 80 Bags 4800 palmit
EGLV084900010194 BC-19B27-0361(B) Palmit 80 Totes 190 palmit
EGLV084900010186 BC-19B27-0361(A) Palmit 80 Totes 190 palmit
COSU6172736480 BC-19B20-0266(B) Palmit 98 Totes 180 palmit
Bill of lading ref number Product Description Quantity product category
MEDUMY486000
MEDUMI152544
MEDUMI226397
MEDUMI226538
<link rel="stylesheet" type="text/css" href="https://cloud.typography.com/7169016/7047192/css/fonts.css" />
{
"booking_number":"TXG790195100",
"steamship_line":"PIL",
"origin":"XINGANG [CNTXG]",
"destination":"OAKLAND [USOAK]",
"containers":[
{
"number":"PCIU1857050",
"size":"20GP",
"type":"20GP",
@dodeja
dodeja / socksify_faraday.rb
Created August 10, 2016 22:30 — forked from andrey-kazakov/socksify_faraday.rb
HTTP over SOCKS support monkey patch for Mechanize, Faraday and it's based clients (OAuth2 like)
# requires socksify gem
require "socksify"
require 'socksify/http'
# use w/ OAuth2 like OAuth2::Client.new(id, secret, connection_opts: { proxy: 'socks://127.0.0.1:9050' })
class Faraday::Adapter::NetHttp
def net_http_class(env)
if proxy = env[:request][:proxy]
if proxy[:uri].scheme == 'socks'
Net::HTTP::SOCKSProxy(proxy[:uri].host, proxy[:uri].port)
@dodeja
dodeja / action_cable_heroku.rb
Created May 7, 2016 15:34
Websockets using Rails 5 beta 2, ActionCable and Puma on Heroku
# Should be in /app/middleware/
require 'websocket/driver'
class ActionCableHeroku
def initialize(app, options={})
@app = app
end
def call(env)
if WebSocket::Driver.websocket?(env)

Keybase proof

I hereby claim:

  • I am dodeja on github.
  • I am dodeja (https://keybase.io/dodeja) on keybase.
  • I have a public key ASAN8Wea2EPMP_73gaNHABJz6kiv3s-_M3rSa48z-catnQo

To claim this, I am signing this object:

@dodeja
dodeja / widget.html
Last active February 2, 2016 22:41
Terminal 49 Embed Widget
<style media="screen" type="text/css">
.t49-cta { max-width: 430px; font-family: sans-serif; margin: 15px; }
.t49-cta a { color: #0275d8; text-decoration: none; }
.t49-cta .copy { padding: 15px; border-bottom: 1px solid #ccc; }
.t49-cta .form { text-align: center;padding: 10px; border-top: 1px solid #efefef; background: #efefef; border-radius: 0 0 4px 4px; }
.t49-cta h1 { margin: 0; font-size: 20px; font-weight: 300; color: #66afe9; }
.t49-cta .tsearch { min-width: 300px; padding: 0.375rem 0.75rem; line-height: 1.5; color: #55595c; border: 1px solid #66afe9;
font-size: 14px; font-weight: 300; color: black; border-radius: 5px 0 0 5px; border-right-width: 0;}
.t49-cta .btn { z-index: 2; margin-left: -4px;display: inline-block; background: white; border: 1px solid #0275d8;
color: #0275d8; font-size: 14px; font-weight: 300; border-radius: 0 5px 5px 0; user-select: none; padding: 0.375rem 1rem;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>DERP GIFS</title>
<meta name="description" content="Fomo Derp Gifs">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<style type="text/css">
img {