This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Idealista List | |
// @version 1 | |
// @include https://www.idealista.com/* | |
// @run-at document-end | |
// @grant none | |
// ==/UserScript== | |
function my_hack_ajax() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Idealista | |
// @version 1 | |
// @include https://www.idealista.com/conversations | |
// @run-at document-end | |
// @grant none | |
// ==/UserScript== | |
function my_hack_ajax() { | |
const CHAT_URL = "/conversations/list.ajax"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Cita INSS | |
// @version 1 | |
// @include https://sp.seg-social.es/* | |
// @run-at document-end | |
// @grant none | |
// ==/UserScript== | |
/* INSTRUCCIONES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from web import Web | |
import re | |
import urllib3 | |
import bs4 | |
from urllib.parse import urlparse | |
from urllib.parse import parse_qs | |
import base64 | |
urllib3.disable_warnings() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ "$color_prompt" = yes ]; then | |
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w \$\[\033[00m\] ' | |
else | |
PS1='${debian_chroot:+($debian_chroot)}\u@\h \w\$ ' | |
fi | |
parse_git_branch() { | |
if git rev-parse --is-inside-work-tree --quiet &> /dev/null; then | |
GIT_BRANCH="$(git branch | grep "^*" | colrm 1 2)" | |
if [[ $(git status -s 2> /dev/null) ]]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
RECOMENDACION: 1º reserva manualmente la primera cita que veas que te valga para tener algo seguro, | |
y luego ve a 'modificar cita' y lanza este script para intentar encontrar algo mejor (no perderas la cita previa hasta que selecciones una nueva) | |
1- Ve a https://autocitavacuna.sanidadmadrid.org/ohcitacovid y navega hasta la pantalla de seleccion de hospital | |
2- Pulsa F12 | |
3- Ve a la pestaña consola | |
4- Pega el código y dale a ejecutar | |
5- Cuando encuentre una cita sonara "beep" tres veces y dejara de buscar | |
6- Si te convence lo que ha encontrado, seleccionalo y termina manualmente el proceso de reserva |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import sys | |
import logging | |
import getpass | |
from optparse import OptionParser | |
import time | |
import sleekxmpp |