Skip to content

Instantly share code, notes, and snippets.

@michelbrito
Created January 24, 2011 06:43
Show Gist options
  • Save michelbrito/792915 to your computer and use it in GitHub Desktop.
Save michelbrito/792915 to your computer and use it in GitHub Desktop.
Lista de Estados Brasileiros
AC|Acre
AL|Alagoas
AP|Amapá
AM|Amazonas
BA|Bahia
CE|Ceará
DF|Distrito Federal
ES|Espírito Santo
GO|Goiás
MA|Maranhão
MT|Mato Grosso
MS|Mato Grosso do Sul
MG|Minas Gerais
PA|Pará
PB|Paraíba
PR|Paraná
PE|Pernambuco
PI|Piauí
RJ|Rio de Janeiro
RN|Rio Grande do Norte
RS|Rio Grande do Sul
RO|Rondônia
RR|Roraima
SC|Santa Catarina
SP|São Paulo
SE|Sergipe
TO|Tocantins
@GuiPeessoni
Copy link

Para os Dashboardzeiros

case UF
when 'AC' then 'Acre'
when 'AL' then 'Alagoas'
when 'AP' then 'Amapá'
when 'AM' then 'Amazonas'
when 'BA' then 'Bahia'
when 'CE' then 'Ceará'
when 'DF' then 'Distrito Federal'
when 'ES' then 'Espírito Santo'
when 'GO' then 'Goiás'
when 'MA' then 'Maranhão'
when 'MT' then 'Mato Grosso'
when 'MS' then 'Mato Grosso do Sul'
when 'MG' then 'Minas Gerais'
when 'PA' then 'Pará'
when 'PB' then 'Paraíba'
when 'PR' then 'Paraná'
when 'PE' then 'Pernambuco'
when 'PI' then 'Piauí'
when 'RJ' then 'Rio de Janeiro'
when 'RN' then 'Rio Grande do Norte'
when 'RS' then 'Rio Grande do Sul'
when 'RO' then 'Rondônia'
when 'RR' then 'Roraima'
when 'SC' then 'Santa Catarina'
when 'SP' then 'São Paulo'
when 'SE' then 'Sergipe'
when 'TO' then 'Tocantins'
end

@pillbugin
Copy link

web gang:

{
"AC": "Acre",
"AL": "Alagoas",
"AP": "Amapá",
"AM": "Amazonas",
"BA": "Bahia",
"CE": "Ceará",
"DF": "Distrito Federal",
"ES": "Espírito Santo",
"GO": "Goiás",
"MA": "Maranhão",
"MT": "Mato Grosso",
"MS": "Mato Grosso do Sul",
"MG": "Minas Gerais",
"PA": "Pará",
"PB": "Paraíba",
"PR": "Paraná",
"PE": "Pernambuco",
"PI": "Piauí",
"RJ": "Rio de Janeiro",
"RN": "Rio Grande do Norte",
"RS": "Rio Grande do Sul",
"RO": "Rondônia",
"RR": "Roraima",
"SC": "Santa Catarina",
"SP": "São Paulo",
"SE": "Sergipe",
"TO": "Tocantins"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment