curl --request POST \
--url https://api.firecrawl.dev/v0/scrape \
--header 'Authorization: Bearer fc-xxx' \
--header 'Content-Type: application/json' \
--data '{
"url": "https://lwn.net/Articles/976822/",
"pageOptions": {
"includeHtml": true,
"onlyMainContent": false
import OpenAI from "openai";
const openai = new OpenAI({
apiKey: process.env.OPENAI_API_KEY,
});
const response = await openai.chat.completions.create({
model: "gpt-3.5-turbo",
messages: [
Place your prompt in the ./prompts
folder.
Install python dependencies:
pip install -r requirements.txt
Usage:
import sys | |
import anthropic | |
from dotenv import load_dotenv | |
load_dotenv() | |
client = anthropic.Anthropic() | |
prompt_template = """ | |
Please review and edit the following text to ensure it is grammatically correct, clear, and concise. Aim to maintain a casual tone without being overly informal. Provide suggestions for improvement and explain any changes you make. Do not add double quotes in you rewrite answer. Answer in direct response. |
import os | |
def write_directory_structure(directory, file, ignore_folders, indent=""): | |
for item in os.listdir(directory): | |
item_path = os.path.join(directory, item) | |
if os.path.isdir(item_path): | |
if item not in ignore_folders: | |
file.write(indent + "|-- " + item + "/\n") | |
write_directory_structure(item_path, file, ignore_folders, indent + "| ") | |
else: |
Title: So far so good! Body: I literally just received my glow serum (and the ginseng cleansing oil). After a two hour commute from work. I was so happy to wash my face and get my cozy velour onesie on! So I used the cleansing oil- it has no scent and felt nice. Then I applied the serum and WOW! It feels so dreamy! My skin is loving it, I can almost feel it thanking me. Now you may think- you can’t really tell after one application. And on some levels you are correct- only time will tell if it improves anything. But if you have thirsty skin like I do and live in a dry climate like LA, you can tell how hydrating a product is almost immediately. Most moisturizers dry up- either my skin drinks it all up or it doesn’t stand up to the climate and my needs. I can already tell this is very hydrating and has created a a lovely, smooth barrier on my skin. I’ll come back and add to this after a couple of weeks, but let me just say I try SO MANY moisturizers in search of the holy grail. I even bought Dermalogica inten
# syntax=docker/dockerfile:1.2 | |
# vim:set ft=dockerfile: | |
#### | |
# base_image - Bare bones image with the base packages needed to run | |
# Mayan EDMS. | |
#### | |
FROM debian:12.2-slim as base_image |
curl 'https://api.rumbia.id/cpm/customersvc/api/v1/investor/step-profile/personal-data' \ | |
-X 'PUT' \ | |
-H 'authority: api.rumbia.id' \ | |
-H 'accept: application/json, text/plain, /' \ | |
-H 'accept-language: en-US,en;q=0.9' \ | |
-H 'authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vY3BtLWFjY291bnQtc2VydmljZS5ydW1iaWEuaWQvYXBpL3YxL2xvZ2luIiwiaWF0IjoxNzA1MzA4MjMzLCJleHAiOjE3MDUzMTE4MzMsIm5iZiI6MTcwNTMwODIzMywianRpIjoiZlpMdWppcWVpYTZic0E1MyIsInN1YiI6IjE4OSIsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjciLCJuYW1lIjoiQmFybiBEZXciLCJpZCI6MTg5LCJlbWFpbCI6ImJhcm5kZXczQG1haWwuY29tIiwicm9sZV9pZCI6MywiaW52ZXN0b3JfaWQiOjE4OSwicm9sZXMiOlsiY3BtX2N1c3RvbWVyIl0sInBlcm1pc3Npb24iOltdfQ.1tJrQvgRTCPI8-aRUCiPJKOelLpVvgkjjEMIKgjgXV0' \ | |
-H 'content-type: application/json' \ | |
-H 'origin: https://phb.rumbia.id' \ | |
-H 'referer: https://phb.rumbia.id/' \ | |
-H 'sec-ch-ua: "Not_A Brand";v="8", "Chromium";v="120", "Microsoft Edge";v="120"' \ |
# syntax=docker/dockerfile:1.2 | |
# vim:set ft=dockerfile: | |
#### | |
# base_image - Bare bones image with the base packages needed to run | |
# Mayan EDMS. | |
#### | |
FROM debian:12.2-slim as base_image |
First link assets to public/index.html
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css"
integrity="sha512-5A8nwdMOWrSz20fDsjczgUidUBR8liPYU+WymTZP1lmY9G6Oc7HlZv156XqnsgNUzTyMefFTcsFH/tnJE/+xBg=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link href='%PUBLIC_URL%/captcha.css' rel='stylesheet'>
<script src="%PUBLIC_URL%/slidercaptcha.js"></script>