Skip to content

Instantly share code, notes, and snippets.

View EricsonWillians's full-sized avatar

Ericson Willians EricsonWillians

View GitHub Profile
@EricsonWillians
EricsonWillians / lika_pong1.0.c
Last active August 29, 2015 14:23
Lika Pong 1.0
#include <stdio.h>
#include <string.h>
int main(int *argc, char **argv)
{
char jogadores[8][30];
char duplas[4][2][30];
char vencedores[4][30];
printf("=== Lika Pong 1.0 ===\n");
@EricsonWillians
EricsonWillians / alpha_string.py
Last active August 29, 2015 14:23
Implementation of a custom non-punctuated and purely alphabetic string object.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# pure_string.py
#
# Copyright 2015 Ericson Willians (Rederick Deathwill) <EricsonWRP@ERICSONWRP-PC>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
@EricsonWillians
EricsonWillians / time_object.py
Created June 15, 2015 06:34
The Time object provides a simple and handy way to do basic operations with time in the hh:mm:ss format.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# time_object.py
#
# Copyright 2015 Ericson Willians (Rederick Deathwill) <EricsonWRP@ERICSONWRP-PC>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or