Skip to content

Instantly share code, notes, and snippets.

View simo97's full-sized avatar
🏠
Working from home

adonis simo simo97

🏠
Working from home
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title> fiche technique dispositif flottant IUT</title>
<link rel="stylesheet" href="css/sytel.css">
</head>
@simo97
simo97 / install-redis.sh
Created June 2, 2022 15:12 — forked from khelll/install-redis.sh
Installing Redis on Amazon Linux
#!/bin/bash
###############################################
# To use:
# chmod +x install-redis.sh
# ./install-redis.sh
###############################################
version=3.2.0
echo "*****************************************"
echo " 1. Prerequisites: Install updates, set time zones, install GCC and make"
@simo97
simo97 / GoogleDorking.md
Created May 18, 2023 10:43 — forked from sundowndev/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
/**
* GenerateStreamedResponse(question, history)
* GenerateResponse(question, history)
* Should be a class
*/
import type OpenAI from 'openai';
// import ollama from './ollama';
import openai from './openai';
import type { ChatResponse, Message } from 'ollama';
# Update package list
sudo apt-get update
# Install prerequisites for Docker
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
software-properties-common \
gnupg