Skip to content

Instantly share code, notes, and snippets.

View fayimora's full-sized avatar
🕺

Fayi FB fayimora

🕺
  • London, England
View GitHub Profile
/**
* oh-pi Auto Session Name Extension
*
* Automatically names sessions based on the first user message.
*/
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
export default function (pi: ExtensionAPI) {
let named = false;
// Copyright (c) 2025-2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
import { css } from 'lit'
import { BaseElement } from '../internal/base-element'
import { cssToString } from '../utils'
import { WalletPickerEntry } from '@canton-network/core-types'
export type {
WalletPickerEntry,
import { createFileRoute, Link } from "@tanstack/react-router";
import {
BookOpen,
FileText,
Gavel,
Globe,
GraduationCap,
Landmark,
MessageSquare,
Scale,
local overrides = require "configs.overrides"
---@type NvPluginSpec[]
local plugins = {
-- Override plugin definition options
-- {
-- dir = "~/Code/opencode-nvim",
-- -- or absolute path: dir = "/home/fayi/Code/opencode-nvim",
-- config = function()
//> using toolkit latest
//> using dep com.lihaoyi::pprint::0.8.1
//> using dep com.lihaoyi::mainargs::0.5.0
//> using dep com.lihaoyi::fansi::0.4.0
import mainargs.{arg, main, Flag, ParserForMethods}
import pprint.{pprintln => pp}
import scala.util.Try
import scala.util.Failure
import scala.util.Success
@fayimora
fayimora / tracker-list.txt
Created February 11, 2024 23:04 — forked from FFY00/tracker-list.txt
Torrent Trackers
http://104.28.1.30:8080/announce
http://104.28.16.69/announce
http://107.150.14.110:6969/announce
http://109.121.134.121:1337/announce
http://114.55.113.60:6969/announce
# Ring the bell if any background window rang a bell
set -g bell-action any
# Default termtype. If the rcfile sets $TERM, that overrides this value.
set -g default-terminal screen-256color
# Keep your finger on ctrl, or don't
bind-key ^D detach-client
# Create splits and vertical splits
-- local M = {}
-- M.config = function()
-- local lvim_lsp = require("lvim.lsp")
-- local metals_config = require("metals").bare_config()
-- metals_config.on_init = lvim_lsp.common_on_init
-- metals_config.on_exit = lvim_lsp.common_on_exit
-- metals_config.capabilities = lvim_lsp.common_capabilities()
-- metals_config.on_attach = function(client, bufnr)
-- lvim_lsp.common_on_attach(client, bufnr)
image: node:12
stages:
- prepare
- test
services:
- selenium/standalone-chrome
prepare:
stage: prepare
script:
<?xml version="1.0" encoding="UTF-8"?>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Copyright (C) 2019 Google Inc.
~
~ Licensed under the Apache License, Version 2.0 (the "License"); you may not
~ use this file except in compliance with the License. You may obtain a copy of
~ the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~