Skip to content

Instantly share code, notes, and snippets.

View Psycoguana's full-sized avatar

Nico Psycoguana

  • Argentina, Buenos Aires
  • 09:43 (UTC -03:00)
View GitHub Profile
@Psycoguana
Psycoguana / data.py
Created February 16, 2021 23:33
Simple postresql db handler
import sys
import logging
import datetime
import psycopg2
from constants import DATE_FORMAT, DATABASE_URL
""
@Psycoguana
Psycoguana / punto_8.c
Created April 29, 2020 21:57
Números amigos
#include <stdio.h>
#include <stdlib.h>
int isAmigo(unsigned int number_1, unsigned int number_2);
int sumModules(unsigned int number);
int main(int argc, char const *argv[]) {
int num_1 = 220, num_2 = 284;
if (isAmigo(num_1, num_2) == 0) {