Skip to content

Instantly share code, notes, and snippets.

View dayllanmaza's full-sized avatar

Dayllan Maza dayllanmaza

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xml:lang="en"><title>Category:travel</title><updated>2020-12-17T21:28:13+00:00</updated><id xsi:type="dcterms:URI">https://en.wikisource.org/wiki/Category%3Atravel</id><link rel="alternate" type="text/html" href="https://en.wikisource.org/wiki/Category%3Atravel"/><entry xml:lang="en"><title>A description of the four parts of the world</title><id xsi:type="dcterms:URI">https://en.wikisource.org/wiki/A_description_of_the_four_parts_of_the_world</id><updated>2020-12-17T21:28:14+00:00</updated><rights>http://creativecommons.org/licenses/by-sa/3.0</rights><author><name>John Hadding</name></author><dc:identifier xsi:type="dcterms:URI">https://en.wikisource.org/wiki/A_description_of_the_four_parts_of_the_world</dc:identifier><dc:language xsi:type="dcterms:RFC4646">en</dc:language><dc:source xsi:type
import os
import csv
import pprint
import re
import sys
import time
import calendar
import datetime
import requests
@dayllanmaza
dayllanmaza / .bash_functions
Created April 25, 2018 00:47
mw bash utils
#!/bin/bash
function mw() {
case $1 in
fix|test)
mw_composer $1
;;
push)
mw_push
;;
@dayllanmaza
dayllanmaza / wikis
Last active September 7, 2018 01:45
wikis
aawiki: aa.wikipedia.org
aawiktionary: aa.wiktionary.org
aawikibooks: aa.wikibooks.org
abwiki: ab.wikipedia.org
abwiktionary: ab.wiktionary.org
acewiki: ace.wikipedia.org
adywiki: ady.wikipedia.org
afwiki: af.wikipedia.org
afwiktionary: af.wiktionary.org
afwikibooks: af.wikibooks.org
SELECT
%s AS wiki,
log_user_text AS user,
(
SELECT IF (COUNT(*) > 0, 'No', 'Yes')
FROM user_properties
WHERE up_property = 'disablemail'
AND up_value = 1 AND up_user = log_user
) AS disablemail,
COUNT(*) AS total_blocks