Skip to content

Instantly share code, notes, and snippets.

View Maluxita's full-sized avatar
🎯
Focusing

Malu Maluxita

🎯
Focusing
View GitHub Profile
import { serve } from "https://deno.land/std@0.177.0/http/server.ts"
import { Hono } from "npm:hono"
import { createClient } from "https://esm.sh/@supabase/supabase-js@2.29.0"
import { authMiddleware } from "../utils/authMiddleware.ts"
//para referencias de como customizar el servidor primero ver como lo hace flask y después como lo harías con Hono.
const app = new Hono()
//para documentación de servidor revisar Hono
const supabaseUrl = Deno.env.get("API_URL")!
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
@Maluxita
Maluxita / textrank.py
Created February 13, 2018 05:35 — forked from fabricasapiens/textrank.py
An implmentation of TextRank in python
"""
From this paper: http://acl.ldc.upenn.edu/acl2004/emnlp/pdf/Mihalcea.pdf
I used python with nltk, and pygraph to do an implmentation of of textrank.
for questions: http://twitter.com/voidfiles
"""
import nltk
import itertools