Skip to content

Instantly share code, notes, and snippets.

View isvaldo's full-sized avatar
🏠
Working from home

Isvaldo Fernandes de Souza isvaldo

🏠
Working from home
View GitHub Profile
@isvaldo
isvaldo / README-Template.md
Created June 28, 2019 19:40 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@isvaldo
isvaldo / randstr.py
Created April 13, 2015 01:44
Gerando palavras aleatórias com python
# -*- coding: utf-8 -*-
import random
def rd_string(length):
"""
Criando Strings aleatórias usando casting
"""
str_rd = ""
while(len(str_rd)<=length):
str_rd += '%c' % random.randint(97,122)
@isvaldo
isvaldo / recursao.js
Created February 12, 2015 19:41
exemplo de recursão
function find (Ob,str) {
for (var key in Ob) {
if (Ob.toString()== str) {
//get indexof()
}
find(Ob[key],str);
}
}
@isvaldo
isvaldo / Help_Struct04.c
Created January 31, 2015 05:33
Ajuda para Ariana 31/01/2015
#include <stdio.h>
#include <limits.h>
#define N_ALUNOS 6
/// ESSE DEFINE é mesmo que constante so que com conceito diferente (procura)
/***********************************************
TODAS AS MODIFICAÇÕES ACOMPANHAM COMENTÁRIOS !
************************************************/
@isvaldo
isvaldo / StructDinamico.c
Created January 29, 2015 22:39
Problema para gerar struct dinamico
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define T_STRING 50
// monta um registro de um aluno
struct Aluno{
char nome[T_STRING];
int nota[3];
float media;
};