I hereby claim:
- I am tristanperalta on github.
- I am tristanperalta (https://keybase.io/tristanperalta) on keybase.
- I have a public key ASDaIgxk1-NbEQLjXNEKjiwdKbgZvgzw2MyyWJiat03ERAo
To claim this, I am signing this object:
#!/bin/bash | |
python_env=$(asdf where python 3.11.12) | |
openwebui=$python_env/bin/open-webui | |
session="ollama" | |
tmux has-session -t $session 2>/dev/null | |
if [ $? != 0 ]; then | |
tmux new-session -d -s $session |
pragma solidity 0.4.24; | |
// File: openzeppelin-solidity/contracts/ownership/Ownable.sol | |
/** | |
* @title Ownable | |
* @dev The Ownable contract has an owner address, and provides basic authorization control | |
* functions, this simplifies the implementation of "user permissions". | |
*/ | |
contract Ownable { |
function toHex(str) { | |
return Buffer.from(str, 'utf-8').toString('hex'); | |
} | |
console.log(toHex('tristan')); |
I hereby claim:
To claim this, I am signing this object:
<!-- collapsable wrapped in data-collpasable attribute | |
has 2 sub-element in it, (1) Header and (2) Collapsable-block. | |
If Header is wrapped in collapsable block it will automatically add a dropdown | |
on the left side of the text. Collapsable block are the ones that show and | |
hide when header is clicked. --> | |
<div data-collapsable=""> | |
<h2>First div</h2> | |
<div class="collapsable-block"> | |
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In elementum |
require 'eventmachine' | |
require 'amqp' | |
require 'bitcoin-client' | |
txn_id = ARGS[0] | |
client = Bitcoin::Client.new(blah) | |
wallet_address = client.get_wallet_address(txn_id) | |
EM.run do |
require 'uri' | |
require 'net/http' | |
require 'json' | |
uri = URI('http://www.reddit.com/r/showerthoughts.json') | |
response = Net::HTTP.get_response(uri) | |
json = JSON.parse(response.body) | |
title = json["data"]["children"][rand(25)]["data"]["title"] | |
puts title |