Johannesburg
Johannesburg (/dʒoʊˈhænɪsbɜːrɡ/ (Si apre in una nuova finestra) joh-HAN-iss-burg (Si apre in una nuova finestra), US (Si apre in una nuova finestra) also /-ˈhɑːn-/ (Si apre in una nuova finestra) -HAHN- (Si apre in una nuova finestra), Afrikaans: [jʊəˈɦanəsbœrχ] (Si apre in una nuova finestra); Zulu (Si apre in una nuova finestra) and Xhosa (Si apre in una nuova finestra): eGoli [ɛˈɡɔːli] (Si apre in una nuova finestra)) (colloquially known as Jozi, Joburg, Jo'burg or "The City of Gold")[10] (Si apre in una nuova finestra)[11] (Si apre in una nuova finestra) is the most populous city in South Africa (Si apre in una nuova finestra), classified as a megacity (Si apre in una nuova finestra);[12] (Si apre in una nuova finestra) it is one of the 100 largest urban areas in the world (Si apre in una nuova finestra).[13] (Si apre in una nuova finestra) According to Demographia (Si apre in una nuova finestra), the Johannesburg
–Pretoria (Si apre in una nuova finestra) urban area (combined because of strong transport links that make commuting feasible) is the 26th-largest in the world in terms of population, with 14,167,000 inhabitants.[14] (Si apre in una nuova finestra) It is the provincial (Si apre in una nuova finestra) capital and largest city of Gauteng (Si apre in una nuova finestra), which is the wealthiest province in South Africa.[15] (Si apre in una nuova finestra) Johannesburg is the seat of the Constitutional Court (Si apre in una nuova finestra), the highest court in South Africa.[16] (Si apre in una nuova finestra) Most of the major South African companies and banks have their head offices in Johannesburg. The city is located within the mineral-rich Witwatersrand (Si apre in una nuova finestra) hills, the epicentre of the international-scale mineral, gold and (specifically) diamond trade.
defmodule Tesla.Middleware.JWTEncodeBody do
@doc """
Encodes request body as JWT.
Options are passed to [JWT.sign/2](https://hexdocs.pm/yajwt/JWT.html#sign/2).
Default algorithm is HS256.
"""
@behaviour Tesla.Middleware
@impl true
def call(env, next, opts) do
env
|> encode(opts)
|> Tesla.put_header("Content-Type", "jwt")
|> Tesla.run(next)
end
defp encode(env, opts) do
body = encode_body(env.body, opts)
Tesla.put_body(env, body)
end
defp encode_body(body, opts), do: JWT.sign(body, opts)
end
dfgdfg
sdfgdfg
3+4
# fooo bar
4 + 3
Johannesburg was established in 1886,[17] (Si apre in una nuova finestra) following the discovery of gold, on what had been a farm. Due to the extremely large gold deposits found along the Witwatersrand (Si apre in una nuova finestra),[18] (Si apre in una nuova finestra) within
ten years, the population had grown to over 100,000 inhabitants. A separate city from the late 1970s until 1994, Soweto (Si apre in una nuova finestra) is now part of the Greater Johannesburg metropolitan area. An acronym for "South-Western Townships", Soweto was organised initially as a collection of nondescript settlements on the outskirts of the city, populated mostly by African labourers working in the gold mining industry. Soweto, although eventually incorporated into Johannesburg, had been explicitly separated as a residential area for blacks only—no whites allowed—who were not permitted to live in other "white-designated" areas of Johannesburg. Another region, Lenasia (Si apre in una nuova finestra), is predominantly populated by English-speaking Indo-South Africans (people of Indian (Si apre in una nuova finestra) and South Asian (Si apre in una nuova finestra) descent). These areas were, in previous decades, designated as non-white areas, in accordance with the segregationist policies of the time—known as apartheid (Si apre in una nuova finestra). It would go on to be one of the host cities of the official tournament of the 2010 FIFA World Cup (Si apre in una nuova finestra)—and it hosted the final (Si apre in una nuova finestra).
The metropolis (Si apre in una nuova finestra) is an alpha global city (Si apre in una nuova finestra), as listed by the Globalization and World Cities Research Network (Si apre in una nuova finestra). In 2019, the population of the city of Johannesburg was 5 635 127, making it the most populous city (Si apre in una nuova finestra) in South Africa.[6] (Si apre in una nuova finestra) In the same year, the population of metro Johannesburg's urban agglomeration (Si apre in una nuova finestra) was put at 8 000 000.[6] (Si apre in una nuova finestra) Land area of the municipal city (1,645 km2 or 635 sq mi) is large in comparison with those of other major cities, resulting in a moderate population density of 2,364 per square kilometre (6,120/sq mi).