spain – Can I travel as a former Nigerian citizen with my current Spanish passport without a visa?

Former Nigerian nationals can enter Nigeria without a visa by traveling with their new passport of their new nationality along with their expired Nigerian passport.

Timatic, the database that airlines use to check passenger travel documents, says:

Passport required.

  • Passports and other documents accepted for entry must be
    Valid for at least 6 months from the arrival date.

Visa required, except for former Nigerian nationals with a
valid foreign passport and expired Nigerian passport.

spain – Can I travel as a former Nigerian citizen with my current Spanish passport without a visa?

I've had this question for a long time. I acquired Spanish citizenship 6 years ago and I'm originally from Nigeria. The same question arises every time I want to travel to Nigeria: can I travel to Nigeria with my valid Spanish passport along with my expired Nigerian passport and travel without a visa? It is the 4th time that I pay for a visa. I'm never sure if I need it …?
All secured information would REALLY be appreciated !!!!
Many thanks

SQL Dynamic Pivot – batch overflow in Spanish

I have the following script:

,case when P.cuit IS not null  then P.cuit else P.dni END as 'CUIT'
,MPT.dato_telefono FROM Persona P
JOIN    Tipo_telefono TT ON P.Tipo_documento  = 1 or P.Tipo_documento = 2
JOIN    Persona_telefono PT ON P.id_persona = PT.id_persona
and PT.Tipo_telefono = TT.Tipo_telefono

And I get the following result:

id_persona  Nombre          CUIT        txt_desc            txt_telefono
100         GOOL S.A.       30111111112 RESPONSABLE COBRO   Fabian Banegas
100         GOOL S.A.       30111111112 TEL. RESPONSABLE    5555-4268
100         GOOL S.A.       30111111112 MAIL Gerente        gerente@global.con
100         GOOL S.A.       30111111112 MAIL ENVIO RECIBOS  recibos@global.con
100         GOOL S.A.       30111111112 MAIL ENVIO FACTURAS innvoices@global.con

And the result should be the following:

100         GOOL S.A.   30111111112 Fabian Banegas      5555-4268           gerente@global.con  recibos@global.con  innvoices@global.con

My big problem is that I can't do it with Pivot as it works with aggregate functions based on what I've read.
Thank you very much

Filter api With Javascript – Stack Overflow in Spanish

I have to filter an API with Javascript depending on your ID. I have a text box in HTML. When I write a number 1 or 2, I filter it according to the ID

Enter image description here

This is my code

function filtrar(){

const url = '';

    .then(response => response.json())
    .then(data => {

        let element = document.getElementById('element')
        document.getElementById("api").innerHTML = JSON.stringify(data)

    .catch(err => console.log(err))

Thank you very much

Datagridview instances in VB.Net – Stack Overflow in Spanish

I am new to this forum and I have a problem with an exception that was generated when I selected a record from a Datagrid view linked to a database to lure it to multiple properly identified text fields. The idea is to select a record with a click of the mouse to edit it and save the change. However, when you perform this procedure, the program throws an exception that says "reference to an object that was not set up as an instance of an object". Here I show you a catch of the mistake:

Detection of the generated error

And here I show you the code I want to implement to do such a task:

 Private Sub DG_inv_CellClick(sender As Object, e As DataGridViewCellEventArgs) Handles DG_inv.CellClick
    Dim i As Integer = DG_inv.CurrentRow.Index
        Me.CodigoTextBox.Text = DG_inv.Item(0, i).Value()
        Me.ProductoTextBox.Text = DG_inv.Item(1, i).Value()
        Me.StockTextBox.Text = DG_inv.Item(2, i).Value()
        Me.PrecioTextBox.Text = DG_inv.Item(3, i).Value()
    Catch ex As Exception
        MsgBox("Error Inesperado: " + Chr(13) & ex.Message, MsgBoxStyle.Critical)
    End Try
End Sub

I hope you can help me clarify the error and its cause. Thank you in advance and greetings from Venezuela …

html5 – preload playlist – batch overflow in Spanish

I have a number of url What should I reproduce in audio, The controls and general operation of the player work well. I want to somehow preload all the music in the browser cache while listening to the current one.

In summary, I have:

var audio = document.createElement("audio");
var urls = (...track1.mp3, track2.mp3, track3.mp3);

btn_next.on("click", function(){
   audio.src = urls(index_next);

btn_prev.on("click", function(){
   audio.src = urls(index_prev);

How do I preload the audio of the other URLs without user action?

CSS – HTML counter – batch overflow in Spanish

I have assigned counters to my project. See this question, and when I applied it to my project, I was misplaced.


.contador {
  display: flex;
  margin-bottom: 10px;

.contador-texto p {
  display: flex;
  align-items: start;
  margin: 0px;

.contador-numero p {
  margin: 5px 0 0 0;

.contador-numero p:before {
  counter-increment: section;
  content: counter(section) " ";
  background-color: #975df6;
  color: white;
  padding-right: 10px;
  font-size: 15px;
  text-align: center;
  padding: 1px 5px;
  max-width: 45px;
  max-height: 45px;
  margin-right: 10px;
  position: relative;
  top: -3px;

.contador-numero, .contador-texto{
    display: flex;
    align-items: flex-start;

#contadores {
  text-align: left;
  font-size: 15px;


Ponemos en el vaso de la batidora los huevos, la mantequilla, el azúcar, la sal, la leche y batimos todo.

Incorporamos la harina junto con la levadura y batimos todo de nuevo.

Dejamos que la mezcla repose unos 20 minutos.

En una plancha o sartén antiadherente con un trocito de mantequilla o margarina engrasamos la superficie.

Vertemos la mezcla en una jarrita y ponemos un poco de la mezcla en la sartén.

Esperamos hasta que toda la superficie se llene de burbujitas, entonces con una espátula le damos la vuelta; dejamos que se dore por el otro lado, unos segundos y sacamos.

Repetimos la operación hasta que se nos acabe la mezcla. Vamos poniendo las tortitas en un plato una encima de otra y tapamos con papel aluminio.

Everything is fine, except that each line has a different counter text separator. I don't know why they don't have the same separation when it supposedly has to be that way. I touch things and there is nobody who moves that.

I don't know what part of the code you need to touch to separate that.

I touched the paddingthe marginbut nothing.

Python – I need help! – Stack overflow in Spanish

Enter image description hereWe are asked to design a class to assess the value for money of different hotels. You inform us that the following attributes are calculated for the hotels: name, location, rating, price. In addition to storing and displaying the hotels, we also need to be able to compare them in terms of value for money so that x <y means that hotel x is worse than hotel y in terms of value for money, and that two hotels are the same if they have the same value for money. The price-performance ratio of a hotel is defined by our customers as (Score ^ 2) ∗ 10 / price.
As a result, we need to be able to order a list of hotels in the order just defined, from smallest to largest.
We learn a little more about the properties of the hotels:
• The name and position cannot be empty strings.
• The score must be a number (no restriction on the value)
• The price must be a non-zero number.

We started designing the class:

The method init:
• Create objects of the hotel class with the specified attributes (name, location, score, price).
• The standard values ​​for the construction are: score in 0, price in float ("inf") (infinite), name and location in * (the very high price is used so that if the price of a hotel is not reported, it will be used) take the highest possible value.
• We need to check that the score and price are numbers (we will use the number_ function that was used in the case of points). When a price becomes zero, its value is replaced with float ("inf") (to ensure that the price is never zero).
• We need to check that the name and position are not empty strings (for which we need to create an es_cadena_no_vacia function).
• If the data does not meet the requirements, a TypeError exception is raised.

There will be a method str To view hotels with a style chain:
"Hotel City de Mercedes – Score: 3.25 – Price: 78 Pesos".
Regarding the relationship between hotels, the class must have the methods necessary to make these comparisons and order a list of hotels.
Almost all tasks can be performed using the topics displayed for creating the Point class. For the last point, we have to introduce new special methods.
Hotel exercise. Write the function es_ca_no_vacia (value), which decides whether a value is a non-empty string or not, and insert it into the validation module.
The original fragment of the class programmed in Python looks like this: