I hereby claim:
- I am mindflayer on github.
- I am the_mindflayer (https://keybase.io/the_mindflayer) on keybase.
- I have a public key ASArVKTiOLT-vuI7LcmM9-ghBJFSVvN_muDDP8zTgLZchwo
To claim this, I am signing this object:
Benvenuto e Benvenuta! | |
Qui sotto troverai alcune info utili se stai pensando di vivere in Spagna a medio/lungo termine. | |
1. Il NIE è il numero di identificazione assegnato ai cittadini stranieri che decidono di intrattenere relazioni di tipo economico con la Spagna, valido su tutto il territorio, necessario per chi decide di trasferircisi ma non sufficiente. È in ogni caso il primo passo da compiere, e per ottenerlo puoi fare per conto tuo o tramite agenzia, a pagamento. | |
⁃ Per conto tuo: https://bit.ly/3xvgERr (https://sede.administracionespublicas.gob.es/pagina/index/directorio/icpplus/%2C/language/en/language/en/language/es_ES) | |
⁃ Agenzia: https://www.mynie.co.uk (https://www.mynie.co.uk/) | |
In entrambi i casi, sarà necessario presentarti di persona in Policia. |
Ci sono poche regole da rispettare per partecipare al gruppo: | |
- è necessario utilizzare la funzione di ricerca prima di inviare domande - molto è già stato detto; | |
- è vietato insultare o schernire gli altri membri; | |
- è vietato promuovere business online (es. crypto); | |
- è sconsigliato contattare gli utenti privatamente a meno di non essere stati invitati a farlo; | |
- è vietato contattare utenti privatamente per futili motivi - non siamo su Tinder; | |
- è consentito pubblicare annunci di lavoro solo se contengono le informazioni necessarie per capire di che si tratta - niente messaggi tipo "per info contattatemi in privato". | |
Chi si comporta male di solito viene richiamato o segnalato agli admin. | |
È molto facile distinguere una semplice cretinata da un cretino. |
from collections import Counter | |
import requests | |
import redis | |
from mocket import Mocket | |
Mocket.enable('example', '.') | |
# get all users | |
users = requests.get( |
import argparse | |
import json | |
import os | |
import subprocess | |
ENCODING = "utf-8" | |
def check_output(cmd, split_lines=False): |
I hereby claim:
To claim this, I am signing this object:
from elasticsearch_dsl import query | |
q = {'bool': {'must': [{'term': {'customer_id_list': u'es_igames'}}], 'minimum_number_should_match': 1, 'should': [{'query_string': {'minimum_should_match': '30%', 'fields': [u'meta_es_igames.title^5', u'meta_es_igames.es.title^5', u'meta_es_igames.artist_name_list^3', u'meta_es_igames.author_name_list^3', u'meta_es_igames.album_name_list^2', u'meta_es_igames.es.abstract^2', u'meta_es_igames.es.description'], 'default_operator': 'OR', 'use_dis_max': False, 'query': u'debug'}}, [{'term': {u'meta_es_igames.es.title': u'debug'}}, {'prefix': {u'meta_es_igames.es.title': u'debug'}}, {'fuzzy': {u'meta_es_igames.es.title': u'debug'}}, {'term': {'publisher': u'debug'}}, {'prefix': {'publisher': u'debug'}}, {'fuzzy': {'publisher': u'debug'}}, {'term': {'cs_id': u'debug'}}]]}} | |
query.Q(q) |
<?php | |
$uri = $_SERVER["REQUEST_URI"]; | |
$ua = $_SERVER["HTTP_USER_AGENT"]; | |
$static = "home.html"; // your real webapp HTML file (formerly index.html?) | |
$prerender = 0; | |
$regex = "baiduspider|twitterbot|facebookexternalhit|rogerbot|linkedinbot|embedly|quora link preview|showyoubot|outbrain|pinterest|slackbot|vkShare|W3C_Validator"; |
>>> gencode = { | |
... 'ATA':'I', 'ATC':'I', 'ATT':'I', 'ATG':'M', | |
... 'ACA':'T', 'ACC':'T', 'ACG':'T', 'ACT':'T', | |
... 'AAC':'N', 'AAT':'N', 'AAA':'K', 'AAG':'K', | |
... 'AGC':'S', 'AGT':'S', 'AGA':'R', 'AGG':'R', | |
... 'CTA':'L', 'CTC':'L', 'CTG':'L', 'CTT':'L', | |
... 'CCA':'P', 'CCC':'P', 'CCG':'P', 'CCT':'P', | |
... 'CAC':'H', 'CAT':'H', 'CAA':'Q', 'CAG':'Q', | |
... 'CGA':'R', 'CGC':'R', 'CGG':'R', 'CGT':'R', | |
... 'GTA':'V', 'GTC':'V', 'GTG':'V', 'GTT':'V', |
>>> class Dog(object): | |
... pass | |
... | |
>>> class Cat(object): | |
... pass | |
... | |
>>> def create_object(class_name): | |
... return getattr(__import__(__name__), class_name)() | |
... | |
>>> dog = create_object('Dog') |
>>> def a(b, c={}): | |
... c[b] = b | |
... print c | |
... | |
>>> a('prova') | |
{'prova': 'prova'} | |
>>> a('gatto') | |
{'prova': 'prova', 'gatto': 'gatto'} | |
>>> a('mela') | |
{'prova': 'prova', 'mela': 'mela', 'gatto': 'gatto'} |