Skip to content

Instantly share code, notes, and snippets.

{
"percentDifference": null,
"quoteResponse": {
"contextSlot": 255123842,
"inAmount": "99792899",
"inputMint": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
"otherAmountThreshold": "56713330475",
"outAmount": "56770100575",
"outputMint": "WENWENvqqNya429ubCdR81ZmD69brwQaaBYY6p3LCpk",
"platformFee": null,
@708yamaguchi
708yamaguchi / tags.yaml
Created March 19, 2024 11:14
apriltag_ros config file
# # Definitions of tags to detect
#
# ## General remarks
#
# - All length in meters
# - 'size' refers to the length of the shared border between solid black and solid white rectangle.
# See README.md or https://github.com/AprilRobotics/apriltag/wiki/AprilTag-User-Guide#pose-estimation for details.
# - Ellipsis (...) signifies that the previous element can be repeated multiple times.
#
# ## Standalone tag definitions
@3for
3for / .deps...npm...@openzeppelin...contracts...access...Ownable.sol
Created March 19, 2024 11:14
Created using tron-ide: Realtime Tron Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at http://tronide.io/#version=soljson_v0.8.20+commit.5f1834b.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.18;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
@astromechza
astromechza / 00-extra.provisioners.yaml
Created March 19, 2024 11:14
Experimental score-compose provisioners for dns + route
# The default dns provisioner just outputs localhost as the hostname every time.
# This is because without actual control of a dns resolver we can't do any accurate routing on any other name.
- uri: template://default-provisioners/dns
type: dns
class: default
init: |
{{ if .Params }}{{ fail "no params expected" }}{{ end }}
randomServiceName: dns-{{ randAlphaNum 6 }}
randomHostname: {{ randAlpha 10 | lower }}.local
state: |
module amplifier (out, in)
input in;
output out;
voltage out, in;
parameter Gain = 1;
analog begin
V(out) <+ Gain*V(in);
end
endmodule
@708yamaguchi
708yamaguchi / apriltag_detection_4k.launch
Created March 19, 2024 11:14
apriltag detection with PR2 and Azure Kinect
<launch>
<arg name="color_width" default="3840" />
<arg name="color_height" default="2160" />
<arg name="color_fps" default="5" />
<arg name="depth_fps" default="5" />
<include file="$(find orbbec_camera)/launch/femto_mega.launch">
<arg name="color_width" value="$(arg color_width)" />
<arg name="color_height" value="$(arg color_height)" />
Maintainers:
nerdypepper: vimPlugins.statix, vimPlugins.statix, vimPlugins.statix, vimPlugins.statix
workflow: vimPlugins.vim-textobj-entire
hugolgst: vimPlugins.vimsence
ma27: vimPlugins.phpactor, vimPlugins.phpactor, vimPlugins.phpactor, vimPlugins.phpactor
figsoda: vimPlugins.statix, vimPlugins.statix, vimPlugins.statix, vimPlugins.statix
jagajaga: vimPlugins.YouCompleteMe, vimPlugins.YouCompleteMe, vimPlugins.YouCompleteMe, vimPlugins.YouCompleteMe
vcunat: vimPlugins.meson, vimPlugins.meson, vimPlugins.meson, vimPlugins.meson
photonquantum: vimPlugins.barbecue-nvim
aanderse: vimPlugins.phpactor, vimPlugins.phpactor, vimPlugins.phpactor, vimPlugins.phpactor
x86_64-darwin vimPlugins.ncm2-jedi
x86_64-darwin vimPlugins.tmux-nvim
x86_64-linux vimPlugins.samodostal-image-nvim
x86_64-linux vimPlugins.coc-r-lsp
aarch64-darwin vimPlugins.edge
aarch64-linux vimPlugins.nvim-treesitter-parsers.agda
x86_64-darwin vimPlugins.vim-clap
x86_64-linux vimPlugins.nvim-treesitter-parsers.vim
x86_64-linux vimPlugins.bigfile-nvim
x86_64-linux vimPlugins.vim-printer
{
"percentDifference": null,
"quoteResponse": {
"contextSlot": 255123752,
"inAmount": "10000000",
"inputMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"otherAmountThreshold": "4563951",
"outAmount": "4568519",
"outputMint": "4k3Dyjzvzp8eMZWUXbBCjEvwSkkk59S5iCNLY3QrkX6R",
"platformFee": null,
{
"percentDifference": null,
"quoteResponse": {
"contextSlot": 255123721,
"inAmount": "100000000",
"inputMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"otherAmountThreshold": "57370243537",
"outAmount": "57427671208",
"outputMint": "WENWENvqqNya429ubCdR81ZmD69brwQaaBYY6p3LCpk",
"platformFee": null,