This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- after/ftplugin/gdscript.lua | |
local uv = require("luv") | |
local hostname = vim.fn.hostname() .. '.local' | |
local ip_address = uv.getaddrinfo(hostname)[1]['addr'] | |
local port = os.getenv('GDScript_Port') or '6005' | |
local cmd = vim.lsp.rpc.connect(ip_address, port) | |
local pipe = '/tmp/godot.pipe' |
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 34 columns, instead of 14 in line 3.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cod_setor,Cod_Grandes Regiões,Nome_Grande_Regiao,Cod_UF,Nome_da_UF,Cod_meso,Nome_da_meso,Cod_micro,Nome_da_micro,Cod_RM,Nome_da_RM,Cod_municipio,Nome_do_municipio,Cod_distrito,Nome_do_distrito,Cod_subdistrito,Nome_do_subdistrito,Cod_bairro,Nome_do_bairro,Situacao_setor,Tipo_setor,V001,V002,V003,V004,V005,V006,V007,V008,V009,V010,V011,V012,X34 | |
250750705000001,2,Região Nordeste,25,Paraiba,2504,Mata Paraibana,25022,João Pessoa,10,RM João Pessoa,2507507,JOÃO PESSOA,250750705,JOÃO PESSOA,25075070500,JOÃO PESSOA,2507507057,Varjão,1,0,96,373,3.89,4.78,628.28,262223,677.7,249212.46,442.84,412577.33,755.96,467872.35,NA | |
250750705000002,2,Região Nordeste,25,Paraiba,2504,Mata Paraibana,25022,João Pessoa,10,RM João Pessoa,2507507,JOÃO PESSOA,250750705,JOÃO PESSOA,25075070500,JOÃO PESSOA,2507507057,Varjão,1,0,284,987,3.48,3.96,494.82,939857.42,706.18,1193321.5,367.01,407256.63,622.96,532078.54,NA | |
250750705000003,2,Região Nordeste,25,Paraiba,2504,Mata Paraibana,25022,João Pessoa,10,RM João Pessoa,2507507,JOÃO PESSOA,2507507 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"extends": [ | |
"plugin:@typescript-eslint/recommended", | |
"eslint:recommended", | |
"plugin:prettier/recommended", | |
"prettier/@typescript-eslint" | |
], | |
"plugins": ["prettier", "@typescript-eslint"], | |
"env": { | |
"es6": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: cramkle-postgres | |
labels: | |
app: postgres | |
spec: | |
ports: | |
- port: 5432 | |
selector: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# calculate the columns width in percentage | |
def calc_cols(num) | |
cols = Array.new(num) | |
for i in 0...num do | |
# 100% (total) / total number of columns | |
# * the number of columns we are current calculating | |
cols[i] = (100.0 / num * (i + 1)).round 5 |