Skip to content

Instantly share code, notes, and snippets.

Suzane Sant Ana suuuzi

  • Blumenau SC Brasil
Block or report user

Report or block suuuzi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View private-bower
https://www.npmjs.com/package/private-bower
View valida-cpf.js
// Cálculo: http://www.devmedia.com.br/validar-cpf-com-javascript/23916
function TestaCPF(strCPF) {
var Soma;
var Resto;
Soma = 0;
if (strCPF == "00000000000") return false;
for (i=1; i<=9; i++) Soma = Soma + parseInt(strCPF.substring(i-1, i)) * (11 - i);
Resto = (Soma * 10) % 11;
View vue
https://about.gitlab.com/2016/10/20/why-we-chose-vue/
View js-file
https://www.html5rocks.com/en/tutorials/file/dndfiles/
View int list to big list
return intList.stream().map(in -> in == null ? BigInteger.ZERO : BigInteger.valueOf(in.longValue())).collect(Collectors.toList());
View compare-arrays.js
function arraysEqual(a1,a2) {
return JSON.stringify(a1)==JSON.stringify(a2);
};
View webstorm-zoom-editor
https://www.jetbrains.com/help/webstorm/2016.2/zooming-in-the-editor.html#d280906e30
View reset pendrive
diskpart
list disk
select disk <number>
clean
create partition primary
format fs=fat32 quick
View ignore-file-on-jshint
// Code here will be linted with JSHint.
/* jshint ignore:start */
// Code here will be ignored by JSHint.
/* jshint ignore:end */
You can’t perform that action at this time.