Skip to content

Instantly share code, notes, and snippets.

View mkeen's full-sized avatar
🇺🇲

Mike Keen mkeen

🇺🇲
  • Florida
  • 22:06 (UTC -04:00)
View GitHub Profile
“People are taking the piss out of you everyday. They butt into your life, take a
cheap shot at you and then disappear. They leer at you from tall buildings and make
you feel small. They make flippant comments from buses that imply you’re not sexy enough
and that all the fun is happening somewhere else. They are on TV making your girlfriend
feel inadequate. They have access to the most sophisticated technology the world has
ever seen and they bully you with it. They are The Advertisers and they are laughing at
you. You, however, are forbidden to touch them. Trademarks, intellectual property rights
and copyright law mean advertisers can say what they like wherever they like with total impunity.
Fuck that. Any advert in a public space that gives you no choice whether you see it or not is
Hello sir my name is Steve McCullen
223 Fake Street
Atlanta, GA 30309
Socket.ip_address_list.detect(&:ipv4_private?).try(:ip_address)
def display_name(name.capitalize)
puts name
end
begin
self.work
rescue
self.toke
retry
end
extend:
/usr/local/etc/filebeat.yml:
file.managed:
- context:
specific_log_files:
- /var/log/couchdb2/couch.log
/usr/local/etc/salt/minion.d/mine.conf:
file.managed:
- source: salt:///files/salt/mine.couchdb.jinja.conf
{% set couchdb_nodes = salt['mine.get']('G@roles:couchdb and not G@roles:haproxy', 'private_ip', tgt_type='compound').items() | sort(attribute=0) %}{% if grains['id'] != 'couchdb-a' %}{% set couch_uuids = salt['mine.get']('roles:couchdb', 'uuid', tgt_type='grain') %}{% if couch_uuids['couchdb-a'] %}[couchdb]
uuid = {{ couch_uuids['couchdb-a'] }}{% endif %}{% endif %}
[couchdb]
database_dir = /mnt/storage
[log]
file = /var/log/couchdb2/couch.log
level = error
writer = file

Keybase proof

I hereby claim:

  • I am mkeen on github.
  • I am codetrapper (https://keybase.io/codetrapper) on keybase.
  • I have a public key ASArfxAg8HZqAwuGoPa3pzf7ioHjjxDCWbiWam8dayXTvgo

To claim this, I am signing this object:

@mkeen
mkeen / metadata.json
Last active December 29, 2021 12:46
Cardopoly Mint
{"valueParameterInfo":[["Price",{"valueParameterFormat":{"contents":[6,"₳"],"tag":"DecimalFormat"},"valueParameterDescription":"The price of the item."}]],"slotParameterDescriptions":[["Payment deadline","The _**buyer**_ must pay the _price_ of the item by this time, otherwise the contract is cancelled."],["Complaint deadline","The _**buyer**_ can only complain until this deadline, otherwise the contract will assume the transaction went smoothly and pay the _**seller**_."],["Complaint response deadline","If the _**buyer**_ complained, the _**seller**_ must respond before this deadline, otherwise the contract will assume there was a problem with the transaction and refund the _**buyer**_."],["Mediation deadline","If the _**buyer**_ and the _**seller**_ disagree, the _**mediator**_ must weigh in before this deadline, otherwise the contract will assume there was a problem with the transaction and refund the _**buyer**_."]],"roleDescriptions":[["Buyer","The buyer of the item."],["Mediator","The mediator decides w
{:moneybag=>
{:generate=>
#<Proc:0x000055c830d32d38 /home/mkeen/Code/belvedere/nfts/cardopoly/sbin/generate-assets.rb:8 (lambda)>,
:tally=>
{:diamond=>[1, 1],
:gold=>[2, 2],
:silver=>[3, 3],
:bronze=>[4, 4],
:white=>[5, 5],
:black=>[5, 5],