Skip to content

Instantly share code, notes, and snippets.

View jalperin's full-sized avatar

Juan Pablo Alperin jalperin

View GitHub Profile
import json
from xylose.scielodocument import Article
def load_document_from_file(filename):
with open(filename, 'r') as f:
for line in f:
data = json.loads(line)
article = Article(data)
@fabiobatalha
fabiobatalha / documents_from_search.py
Created May 17, 2017 21:16
Retorna documents SciELO a partir de uma URL de pesquisa da ferramenta search.scielo.org
from io import BytesIO
import argparse
from urllib.parse import urlparse, urlencode, parse_qs, urlunparse
from articlemeta.client import RestfulClient
import requests
from lxml import etree
LIMIT = 100
from articlemeta.client import RestfulClient
"""
pip install articlemetaapi
Allowed formats:
xylose: default
xmlrsps
xmlwos
xmldoaj
We couldn’t find that file to show.
@JamieMason
JamieMason / unfollow.js.md
Last active May 8, 2025 20:30
Unfollow everyone on twitter.com

Unfollow everyone on twitter.com

By @foldleft.bsky.social, see also Unfollow everyone on bsky.app.

  1. Go to https://twitter.com/YOUR_USER_NAME/following
  2. Open the Developer Console. (COMMAND+ALT+I on Mac)
  3. Paste this into the Developer Console and run it
// Unfollow everyone on twitter.com, by Jamie Mason (https://twitter.com/fold_left)