I hereby claim:
- I am danilomiranda on github.
- I am danilokassio (https://keybase.io/danilokassio) on keybase.
- I have a public key ASBY3-GhKvK3iP_OEApb7sqKSNFC7p7SYIM775Dl22Q3Rgo
To claim this, I am signing this object:
<div class="center-me"> | |
<div class="equalizer"></div> | |
</div> |
public class Main { | |
public static void main(String[] args) { | |
final String input = "Danilo Cássio Gonçalves"; | |
System.out.println(Normalizer.normalize(input, Normalizer.Form.NFD).replaceAll("[^\\p{ASCII}]", "")); | |
} | |
} |
String charset = "Cp1252"; | |
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(new FileInputStream("CAMINHO ARQUIVO ORIGEM"), charset)); | |
String line=""; | |
String destiny="CAMINHO ARQUIVO DESTINO"; | |
int count = 1; | |
int fileSize = 0; | |
OutputStreamWriter fos = new OutputStreamWriter(new FileOutputStream(destiny+count+".csv"),charset); | |
while((line = bufferedReader.readLine()) != null) { | |
if(fileSize + line.getBytes().length > 50 * 1024 * 1024){ |
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
I hereby claim:
To claim this, I am signing this object:
String.format = function (format, ...args) { | |
return format.replace(/{(\d+)}/g, ({match, number}) => { | |
return typeof args[number] !== 'undefined' | |
? args[number] | |
: match; | |
} | |
); | |
}; |
# Path to your oh-my-zsh installation. | |
export ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="robbyrussell" | |
# Uncomment the following line to use case-sensitive completion. | |
# CASE_SENSITIVE="true" |