Skip to content

Instantly share code, notes, and snippets.

Marcos Antônio dos Santos marcaosi

Block or report user

Report or block marcaosi

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
@marcaosi
marcaosi / Sort Algorithms
Created Oct 23, 2018
This gist contains the implementation of sort algorithms in C
View Sort Algorithms
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
void bubbleSort(int arr[], int count);
void quicksort(int arr[], int left, int right);
void insertionSort(int arr[], int count);
void selectionSort(int arr[], int count);
void shellSort(int arr[], int count);
void heapSort(int arr[], int count);
View descricao
Localizaê é um conjunto de sistemas de software que possibilita maior facilidade na localização das pessoas dentro de
ambientes fechados, como galpões, edifícios, etc. Ele visa promover a acessibilidade aos diversos participantes de eventos
que necessitam de ajuda para se localizar dentro destes locais.
View exercicio6.js
const express = require('express')
const app = express()
const port = 3000
app.get('/somar', (request, response) => {
let num1 = request.query.num1
let num2 = request.query.num2
View exercicio5.js
const fs = require('fs')
function readdirPromise(path){
return new Promise((resolve, reject) => {
fs.readdir(path, (err, files) => {
if(err){
reject(err)
}else{
resolve(files)
}
View exercicio4.js
const fs = require('fs')
function readdirPromise(path){
return new Promise((resolve, reject) => {
fs.readdir(path, (err, files) => {
if(err){
reject(err)
}else{
resolve(files)
}
View exercicio3.js
const fs = require('fs')
function readdirPromise(path){
return new Promise((resolve, reject) => {
fs.readdir(path, (err, files) => {
if(err){
reject(err)
}else{
resolve(files)
}
View exercicio2a.js
const produtos = [
{
id: 1,
preco: 10.0,
qtd: 2
},
{
id: 2,
preco: 10.0,
qtd: 2
View exercicio1.js
const produtos = [
{
nome: 'Bicicleta',
preco: 1200.0
},
{
nome: 'Capacete',
preco: 450.0
}
]
You can’t perform that action at this time.