Skip to content

Instantly share code, notes, and snippets.

View metaskills's full-sized avatar
🧠
Adding Digital Intelligence

Ken Collins metaskills

🧠
Adding Digital Intelligence
View GitHub Profile
@metaskills
metaskills / log.txt
Created February 22, 2017 01:20
Ubuntu 16.04 FreeTDS Install Log
Setting up freetds-common (0.91-6.1build1) ...
Setting up libsybdb5:amd64 (0.91-6.1build1) ...
Setting up freetds-bin (0.91-6.1build1) ...
Setting up libct4:amd64 (0.91-6.1build1) ...
Setting up freetds-dev (0.91-6.1build1) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...
root@9ecf83463240:/# tsql -C
Compile-time settings (established with the "configure" script)
Version: freetds v0.91
freetds.conf directory: /etc/freetds
@metaskills
metaskills / finishline.txt
Created January 15, 2017 23:30
Current SQL Server Rails v5 Tests
4849 runs, 14208 assertions, 6 failures, 1 errors, 3 skips
4849 runs, 14203 assertions, 9 failures, 2 errors, 3 skips
4849 runs, 14201 assertions, 12 failures, 2 errors, 3 skips
4849 runs, 14201 assertions, 13 failures, 2 errors, 3 skips
4851 runs, 14202 assertions, 14 failures, 4 errors, 3 skips
4851 runs, 14192 assertions, 14 failures, 10 errors, 3 skips
4854 runs, 14186 assertions, 13 failures, 13 errors, 3 skips
4854 runs, 14186 assertions, 13 failures, 13 errors, 3 skips
4854 runs, 14184 assertions, 14 failures, 13 errors, 3 skips
4856 runs, 14183 assertions, 17 failures, 13 errors, 3 skips
<h3 itemprop="color">Red</h3>
<div class="pc-Show-header">
<h1 itemprop="name">
Next Level Jersey T-shirt
</h1>
<h3 itemprop="color" style="display:none;">
Light Pink
</h3>
</div>
<!doctype html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
[00:00:00] Build started
[00:00:00] SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
[00:00:00] SET PATH=C:\MinGW\msys\1.0\bin;%PATH%
[00:00:00] SET RAKEOPT=-rdevkit
[00:00:00] git clone -q --depth=5 --branch=freetds-1.0rc1 https://github.com/rails-sqlserver/tiny_tds.git C:\projects\tiny-tds
[00:00:02] git checkout -qf 68bd9ee6f2bbb71f6db0b61a9682f05e028c3d21
[00:00:02] Running Install scripts
[00:00:02] Update-AppveyorBuild -Version "$(Get-Content $env:appveyor_build_folder\VERSION).$env:appveyor_build_number"
[00:00:03] ruby --version
[00:00:03] ruby 2.0.0p648 (2015-12-16) [i386-mingw32]
@metaskills
metaskills / cached_circuit_middleware.rb
Created February 26, 2016 12:03
Example Cached Circuitbox Faraday Middleware
module MyClient
module Middleware
class CachedCircuit < Circuitbox::FaradayMiddleware
attr_reader :cache
def initialize(app, opts = {})
@cache = circuit_breaker_options.fetch(:cache)
exceptions =
super app, identifier: 'my_client',
@metaskills
metaskills / tdsdump.log
Created February 7, 2016 23:33
TinyTDS Windows Rails Test - GOOD (only tinytds require)
net.c:202:Connecting to 23.99.34.75 port 1433 (TDS version 7.3)
net.c:275:tds_open_socket: connect(2) returned "WSAEWOULDBLOCK: Resource temporarily unavailable."
net.c:314:tds_open_socket() succeeded
packet.c:740:Sending packet
0000 12 01 00 3a 00 00 00 00-00 00 1a 00 06 01 00 20 |...:.... ....... |
0010 00 01 02 00 21 00 0c 03-00 2d 00 04 04 00 31 00 |....!... .-....1.|
0020 01 ff 09 00 00 00 00 00-00 4d 53 53 51 4c 53 65 |.� ..... .MSSQLSe|
0030 72 76 65 72 00 98 08 00-00 00 |rver.... ..|
packet.c:639:Received packet
@metaskills
metaskills / tdsdump.log
Created February 7, 2016 23:33
TinyTDS Windows Rails Test - BAD (require rails/all)
net.c:202:Connecting to 23.99.34.75 port 1433 (TDS version 7.3)
net.c:275:tds_open_socket: connect(2) returned "WSAEWOULDBLOCK: Resource temporarily unavailable."
net.c:314:tds_open_socket() succeeded
packet.c:740:Sending packet
0000 12 01 00 3a 00 00 00 00-00 00 1a 00 06 01 00 20 |...:.... ....... |
0010 00 01 02 00 21 00 0c 03-00 2d 00 04 04 00 31 00 |....!... .-....1.|
0020 01 ff 09 00 00 00 00 00-00 4d 53 53 51 4c 53 65 |.� ..... .MSSQLSe|
0030 72 76 65 72 00 f4 0a 00-00 00 |rver.�.. ..|
packet.c:639:Received packet
@metaskills
metaskills / sb-CarouselBasic.html
Created January 7, 2016 22:06
Demo sb-CarouselBasic
<div class="demo-ProofGallery-item">
<div class="sb-CarouselBasic">
<div class="sb-CarouselBasic-cell">
<img class="sb-CarouselBasic-img" src="http://www.customink.com/mms/images/catalog/styles/15000/catalog_detail_image_large.jpg" alt="American Apparel Jersey T-shirt" />
</div>
</div>
</div>