Skip to content

Instantly share code, notes, and snippets.

View gersona's full-sized avatar
🇲🇬

gers gersona

🇲🇬
  • Antananarivo, MG
View GitHub Profile
@gersona
gersona / weblate-public-projects-search-crawler.py
Created July 19, 2024 07:22
A crawler for hosted.weblate.org to check if the search feature correctly filters out strings that don't have screenshots
#!/usr/bin/env python
from urllib.parse import urljoin, urlencode, urlunparse
import grequests
import requests
import re
import json5
from typing import Generator
from bs4 import BeautifulSoup
from concurrent.futures import ThreadPoolExecutor
@gersona
gersona / GFGD_cando_store.js
Created November 9, 2020 12:49
cando proficiency thing
export const state = () => ({
candos = [
{id: 1, text: 'cando one', proficiency: '3'},
{id: 2, text: 'cando two', proficiency: '1'},
{id: 3, text: 'cando three', proficiency: '2'},
]
})
export const getters = {
allProficiencies: (state) => {