I hereby claim:
- I am djquan on github.
- I am dquan (https://keybase.io/dquan) on keybase.
- I have a public key whose fingerprint is 93DC 76E4 BEE3 0091 9AF2 4818 F0A9 9AD8 2CC6 0846
To claim this, I am signing this object:
def render | |
print " " | |
(0..7).each { |column_num| print " #{column_num} " } | |
puts "" | |
board.each_with_index do |row, row_num| | |
print row_num | |
row.each_with_index do |piece, col_num| | |
if invalid_board_moves.include?([row_num, col_num]) | |
print (piece ? piece.render : " ").colorize(background: :white) | |
else |
I hereby claim:
To claim this, I am signing this object:
require 'cassandra' | |
require 'benchmark/ips' | |
cluster = Cassandra.cluster(hosts: ["192.168.59.103"]) | |
session = cluster.connect | |
session.execute("CREATE KEYSPACE benchmark WITH REPLICATION = { 'class': 'SimpleStrategy', 'replication_factor': 2 }") | |
session.execute("USE benchmark") | |
session.execute("CREATE table reads (test_one text PRIMARY KEY, test_two text)") |
{"lastUpload":"2020-05-19T14:40:59.925Z","extensionVersion":"v3.4.3"} |