I hereby claim:
- I am lalanikarim on github.
- I am klalani (https://keybase.io/klalani) on keybase.
- I have a public key ASBcjxKXN13Ziq_3m_Xih7xSFm4_dg0GWOT2gPkCbdi-gAo
To claim this, I am signing this object:
import os | |
import shutil | |
import sqlite3 | |
import pandas as pd | |
import requests | |
db_url = "https://storage.googleapis.com/benchmarks-artifacts/travel-db/travel2.sqlite" | |
local_file = "travel2.sqlite" | |
# The backup lets us restart for each tutorial section |
import asyncio | |
from langchain.docstore.document import Document | |
from langchain.schema.embeddings import Embeddings | |
from langchain.schema.vectorstore import VectorStore | |
from langchain.embeddings import HuggingFaceEmbeddings | |
from surrealdb import Surreal | |
from typing import ( | |
TYPE_CHECKING, | |
Any, |
{ | |
"cniVersion": "0.4.0", | |
"name": "podman", | |
"plugins": [ | |
{ | |
"type": "bridge", | |
"Documentation": "/usr/share/doc/containernetworking-plugins/main_bridge.md", | |
"bridge": "cni-podman0", | |
"isGateway": true, | |
"ipMasq": true, |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
verbose='' | |
while getopts vm:e:d:q:s: flag | |
do | |
case "${flag}" in | |
m) verb=${OPTARG};; | |
e) endpoint=${OPTARG};; | |
d) body="-d '${OPTARG}'";; | |
q) query=" | jq -r '${OPTARG}'";; |
vector3df cardsize(75,107,1); | |
vector3df halfcardsize = cardsize; | |
halfcardsize.Z = 0.5; | |
neRigidBody * rigid = world->CreateRigidBody(); | |
neGeometry * geom = rigid->AddGeometry(); | |
geom->SetBoxSize(irrVectorToTokamak(cardsize)); | |
rigid->UpdateBoundingInfo(); | |
rigid->SetMass(cardmass); |
for(int i = 0; i < bodyCount; i++) | |
{ | |
neRigidBody * body = rigidBodies[i]; | |
ISceneNode * node = sceneNodes[body->GetUserData()]; | |
neV3 bodyPos = body->GetPos(); | |
vector3df nodePos = tokVectorToIrrlicht(bodyPos); | |
node->setPosition(nodePos); | |
neQ bodyRot = body->GetRotationQ(); | |
quaternion nodeRotQ; |
LastDelta = DeltaTime; | |
CurrentTime = irrTimer->getTime(); | |
DeltaTime = CurrentTime - TimeStamp; | |
TimeStamp = CurrentTime; | |
if(LastDelta != 0) | |
{ | |
if(DeltaTime > LastDelta * 1.2f) DeltaTime = LastDelta * 1.2f; | |
if(DeltaTime < LastDelta * 0.8f) DeltaTime = LastDelta * 0.8f; | |
} |