This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstring> | |
#include <string> | |
#include <vector> | |
#include <algorithm> | |
std::vector<std::string> split(std::string str, char delimiter){ | |
std::vector<std::string> result; | |
// std::cout << str << std::endl; | |
std::string buffer = ""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <LiquidCrystal.h> | |
LiquidCrystal lcd(13, 12, 11, 10, 9, 8); | |
const int bt1 = 7; | |
const int bt2 = 6; | |
const int ledI = 4; | |
const int ledC = 3; | |
int acertos = 0; | |
const char* integrantes[5] = {"Giulliano", "Luccas", "Rian", "Henrique", "Diogo"}; | |
// tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# HELLO! I made that function in bash to help me when i must clean the folders and files on my .gitignore | |
# I made it to work in any application with the root path | |
function cleanGitIgnore(){ | |
for itemIgnore in $(cat .gitignore); do | |
# edit - 2020-04-19 | |
if [ $1 == "-y" ] | |
then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* That namespace have the classes to the management of a SQLite3 database. | |
* It have's exceptions and the main classes. | |
* @author Giulliano Rossi <giulliano.scatalon.rossi@gmail.com> | |
*/ | |
namespace SQLite3Connection{ | |
use Exception; | |
use SQLite3; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding = utf-8 | |
# using namespace std | |
import json | |
from typing import AnyStr | |
class JSONConnection(object): | |
""" | |
""" | |
json_file = AnyStr | |
got_json = False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding = utf-8 | |
# using namespace std | |
class ColorSystem(object): | |
""" | |
That class contains the main data information to change ANSI codification of a string | |
:cvar _foreground: A dict that contain the ANSI configuration of the letter on the text. | |
:cvar _foreground_modes: Another dict to the letter ANSI configuration, but that contains options, not colors, | |
options such as bold letter or inverse colors |