Skip to content

Instantly share code, notes, and snippets.

View keefertaylor's full-sized avatar
🌉
CA

Keefer Taylor | Tessellated keefertaylor

🌉
CA
View GitHub Profile
{"claims":[{"url":"http://3.131.100.194:80","timestamp":1601962469,"type":"ATTESTATION_SERVICE_URL"}],"meta":{"address":"0x0092211ba2a72F376B96ced76B4f80F06d71dbB0","signature":"0x976eb4961e0122aa3e66855324582c414f207c3caf0f10440eaf535cf6ba8351476798f86a747e7d3b4651518d063c223b02790a0dd6e067273457f347b0df8d1c"}}
{"claims":[{"url":"http://3.23.159.181:80","timestamp":1598940348,"type":"ATTESTATION_SERVICE_URL"},{"name":"Tessellated Geometry","timestamp":1598940862,"type":"NAME"},{"timestamp":1598940912,"type":"ACCOUNT","address":"0x0339Df3FE4f5ccC864EAE8491E5c8AEc4611A631"}],"meta":{"address":"0x44a7Af700ACa1B24ECdB818dF4D202772D606Cb4","signature":"0xd248c57a791b37a0a1d37dcc7a3d60d0613556962e1462238a5d540e0d14f6d93b14716f04f45409a77780de7c9051a0cf8bb278449386e2a4cc560e29b6fba31b"}}
{"contents":[{"kind":"transaction","source":"tz1XVJ8bZUXs7r5NV8dHvuiBhzECvLRLR3jW","fee":"0","counter":"437672","gas_limit":"60000","storage_limit":"60000","amount":"0","destination":"KT1NBPHmR8rrpEUt6yXqobkaHfHo2pa45rux","parameters":{"entrypoint":"default","value":{"string":"spsig1P8AGNwF9pcZAKy5mhHkWw8EkyxCqCG7i3RqS7fqfByLh1bLjV6ZV7iKr2C99prN7N8ZgTgHYMUeon8zKvtCNoQ1eNMV73"}},"metadata":{"balance_updates":[],"operation_result":{"status":"failed","errors":[{"kind":"permanent","id":"proto.006-PsCARTHA.michelson_v1.bad_contract_parameter","contract":"KT1NBPHmR8rrpEUt6yXqobkaHfHo2pa45rux"},{"kind":"permanent","id":"proto.006-PsCARTHA.invalidSyntacticConstantError","location":0,"expectedForm":{"prim":"or","args":[{"prim":"contract","args":[{"prim":"big_map","args":[{"prim":"string"},{"prim":"pair","args":[{"prim":"timestamp"},{"prim":"pair","args":[{"prim":"timestamp"},{"prim":"pair","args":[{"prim":"nat"},{"prim":"pair","args":[{"prim":"nat"},{"prim":"pair","args":[{"prim":"nat"},{"prim":"pair","args":[{"prim":
import smartpy as sp
TezosOracle = sp.import_script_from_url("file:common.py")
# Data type that represents a signed update to the Oracle.
SignedOracleDataType = sp.TPair(sp.TSignature, TezosOracle.oracleDataType)
#####################################################################
# An Oracle contract accepts signed updates for a list of assets.
#
# TODO(keefertaylor): Signature needs to be included in the asset.
import smartpy as sp
#####################################################################
# Global types
#####################################################################
# The type for the oracle data's map value.
# Exported as a constant as a convenience.
# TODO(keefertaylor): Signature needs to be included in the asset.
import smartpy as sp
#####################################################################
# Global types
#####################################################################
# The type for the oracle data's map value.
# Exported as a constant as a convenience.
const value = 25
const numBoxes = 40
for (var i = 0; i < numBoxes; i++) {
console.log("Getting box " + i)
const checkbox = document.getElementsByName('secCheckbox' + i)[0]
checkbox.checked = true
const investmentsInput = document.getElementsByName('noofreinvest' + i)[0]
## Swap Space
sudo dd if=/dev/zero of=/swapspace bs=1M count=4000
sudo mkswap /swapspace
sudo chmod 600 /swapspace
sudo swapon /swapspace
sudo bash -c "echo \"/swapspace none swap defaults 0 0\" >> /etc/fstab"
# See free mem space
free -m
# Update tooling
{"claims":[{"domain":"tessellatedgeometry.com","timestamp":1590577722,"type":"DOMAIN"},{"username":"tessellatedgeo","timestamp":1590577855,"type":"KEYBASE"},{"timestamp":1590587686,"type":"ACCOUNT","address":"0x44a7Af700ACa1B24ECdB818dF4D202772D606Cb4"}],"meta":{"address":"0x0339Df3FE4f5ccC864EAE8491E5c8AEc4611A631","signature":"0x91e026fe18546e9f84deb048c8381bb75a31c26c1bd28e1eeb1b17e8a067acc727a65fdb0378e4ae9332da947b13405126b8f955df8bd6ca1a10639e9e1dac1b1c"}}
{"claims":[{"url":"http://18.224.44.132:80","timestamp":1590587821,"type":"ATTESTATION_SERVICE_URL"},{"name":"Tessellated Geometry","timestamp":1590587867,"type":"NAME"},{"timestamp":1590587888,"type":"ACCOUNT","address":"0x0339Df3FE4f5ccC864EAE8491E5c8AEc4611A631"}],"meta":{"address":"0x44a7Af700ACa1B24ECdB818dF4D202772D606Cb4","signature":"0x68c403cd1d08acdac463b6adc5c25d682a074b1c84e3af96e98695f0c3f53de9250da36e1f10abbdf963093c3053e74508303b217598e5fa346d321ac271c5801b"}}