Skip to content

Instantly share code, notes, and snippets.

View grikomsn's full-sized avatar

Griko Nibras grikomsn

View GitHub Profile
{
"providers": {
"crof": {
"baseUrl": "https://crof.ai/v1",
"api": "openai-completions",
"apiKey": "nahcrof_xAceBzCvgMjoEiaifkNm",
"authHeader": true,
"compat": {
"supportsDeveloperRole": false,
"supportsReasoningEffort": false,
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"CrofAI": {
"name": "CrofAI",
"npm": "@ai-sdk/openai-compatible",
"options": {
"apiKey": "nahcrof_xxx",
"baseURL": "https://crof.ai/v1"
},
import { useEffect, useState, type SubmitEventHandler } from "react";
import * as b from "./lib/backendless";
import type { User } from "./types/backendless";
function App() {
const [error, setError] = useState<any>(null);
const [userToken, setUserToken] = useState<string | null>(null);
const handleStart = async () => {
const userString = window.localStorage.getItem("user");
import { useEffect, useRef, useState } from "react";
import axios from "axios";
type Post = {
userId: number;
id: number;
title: string;
body: string;
};

One moment please...



from slack_cleaner2 import *
s = SlackCleaner(
token="xxxx-xxxxxxxxxxxxx-xxxxxxxxxxxxx-xxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
sleep_for=1,
)
for msg in s.msgs(channels=s.conversations, with_replies=True):
if msg.user == s.myself:
msg.delete(replies=True, files=True)
/**
* @framerSupportedLayoutWidth fixed
* @framerSupportedLayoutHeight fixed
*/import{jsx as _jsx}from"react/jsx-runtime";export default function Ouch(props){return /*#__PURE__*/_jsx("div",{style:{overflow:"hidden",...props.style},children:/*#__PURE__*/_jsx("img",{style:{width:"1000%"},decoding:"async",src:"data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAAGUbWV0YQAAAAAAAAAzaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAEFWSUYgU3RpbGwgUGljdHVyZQAAAAAOcGl0bQAAAAAAAQAAAG5paW5mAAAAAAADAAAAGmluZmUCAAAAAAEAAGF2MDFDb2xvcgAAAAAZaW5mZQIAAAAAAgAARXhpZkV4aWYAAAAALWluZmUCAAAAAAMAAG1pbWVYTVAAYXBwbGljYXRpb24vcmRmK3htbAAAAAAAOmlsb2MAAAAARAAAAwABAAAAAQAAAbwAAAQdAAIAAAABAAAF2QAAAUYAAwAAAAEAAAcfAAAx0QAAAHdpcHJwAAAAV2lwY28AAAAUaXNwZQAAAAAAAAHaAAAAyAAAABBwaXhpAAAAAAMKCgoAAAAMYXYxQ4EATAAAAAATY29scm5jbHgACQAQAAmAAAAADGNsbGkMmQQrAAAAGGlwbWEAAAAAAAAAAQABBQECBIMFAAAAKGlyZWYAAAAAAAAADmNkc2MAAgABAAEAAAAOY2RzYwADAAEAAQAAAABtZGF0EgAKChgh+zjsUJEAmEAyjAgYTwGCiiiigABRAs/KKT1me5r0oliE6R61yrcPKMlYyWMbFpN55nOKV0rJa2P5TDEAwDAryae3H

Keybase proof

I hereby claim:

  • I am grikomsn on github.
  • I am grikomsn (https://keybase.io/grikomsn) on keybase.
  • I have a public key whose fingerprint is C8D1 44D7 CBD8 E183 2449 69E1 194C DB6C 6785 C7B3

To claim this, I am signing this object:

import { AtUri, BskyAgent } from "@atproto/api";
const raise = (message?: string) => {
throw new Error(message);
};
const besky = async () => {
const username = process.env.BLUESKY_USERNAME || raise(`env BLUESKY_USERNAME not set`);
const password = process.env.BLUESKY_PASSWORD || raise(`env BLUESKY_PASSWORD not set`);
sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/LOL
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/LOL
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/LOL
sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/LOL
sudo /Applications/Install\ macOS\ Big\ Sur.app/Contents/Resources/createinstallmedia --volume /Volumes/LOL