Johannesburg
Johannesburg (/dʒoʊˈhænɪsbɜːrɡ/ (Abre numa nova janela) joh-HAN-iss-burg (Abre numa nova janela), US (Abre numa nova janela) also /-ˈhɑːn-/ (Abre numa nova janela) -HAHN- (Abre numa nova janela), Afrikaans: [jʊəˈɦanəsbœrχ] (Abre numa nova janela); Zulu (Abre numa nova janela) and Xhosa (Abre numa nova janela): eGoli [ɛˈɡɔːli] (Abre numa nova janela)) (colloquially known as Jozi, Joburg, Jo'burg or "The City of Gold")[10] (Abre numa nova janela)[11] (Abre numa nova janela) is the most populous city in South Africa (Abre numa nova janela), classified as a megacity (Abre numa nova janela);[12] (Abre numa nova janela) it is one of the 100 largest urban areas in the world (Abre numa nova janela).[13] (Abre numa nova janela) According to Demographia (Abre numa nova janela), the Johannesburg
–Pretoria (Abre numa nova janela) 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] (Abre numa nova janela) It is the provincial (Abre numa nova janela) capital and largest city of Gauteng (Abre numa nova janela), which is the wealthiest province in South Africa.[15] (Abre numa nova janela) Johannesburg is the seat of the Constitutional Court (Abre numa nova janela), the highest court in South Africa.[16] (Abre numa nova janela) Most of the major South African companies and banks have their head offices in Johannesburg. The city is located within the mineral-rich Witwatersrand (Abre numa nova janela) 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] (Abre numa nova janela) following the discovery of gold, on what had been a farm. Due to the extremely large gold deposits found along the Witwatersrand (Abre numa nova janela),[18] (Abre numa nova janela) within
ten years, the population had grown to over 100,000 inhabitants. A separate city from the late 1970s until 1994, Soweto (Abre numa nova janela) 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 (Abre numa nova janela), is predominantly populated by English-speaking Indo-South Africans (people of Indian (Abre numa nova janela) and South Asian (Abre numa nova janela) descent). These areas were, in previous decades, designated as non-white areas, in accordance with the segregationist policies of the time—known as apartheid (Abre numa nova janela). It would go on to be one of the host cities of the official tournament of the 2010 FIFA World Cup (Abre numa nova janela)—and it hosted the final (Abre numa nova janela).
The metropolis (Abre numa nova janela) is an alpha global city (Abre numa nova janela), as listed by the Globalization and World Cities Research Network (Abre numa nova janela). In 2019, the population of the city of Johannesburg was 5 635 127, making it the most populous city (Abre numa nova janela) in South Africa.[6] (Abre numa nova janela) In the same year, the population of metro Johannesburg's urban agglomeration (Abre numa nova janela) was put at 8 000 000.[6] (Abre numa nova janela) 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).