This file contains hidden or 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
/* | |
* quadrado_magico.c | |
* | |
* Author: Elton Viana | |
* E-mail: [email protected] | |
* | |
*/ | |
#include <stdio.h> |
This file contains hidden or 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
/* | |
* quadrado_latino.c | |
* | |
* Author: Elton Viana | |
* E-mail: [email protected] | |
* | |
*/ | |
#include <stdio.h> |
This file contains hidden or 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
/* | |
* jogo_sudoku.c | |
* | |
* Author: Elton Viana | |
* E-mail: [email protected] | |
* | |
*/ | |
#include <stdio.h> |
This file contains hidden or 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 -*- | |
from instagram.client import InstagramAPI | |
def connect_api(token): | |
return InstagramAPI(access_token=token) | |
def show_recent_profiles_liked(api): | |
recent_likes, next_ = api.user_liked_media(count=10) | |
names = [likes.user.full_name for likes in recent_likes] |
This file contains hidden or 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
$ sudo add-apt-repository ppa:webupd8team/sublime-text-3 | |
$ sudo apt-get update | |
$ sudo apt-get install sublime-text-installer |
This file contains hidden or 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
$ sudo apt-get install nautilus-open-terminal |
This file contains hidden or 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
sudo apt-get -f install | |
sudo apt-get autoremove | |
sudo apt-get -y autoclean | |
sudo apt-get -y clean |
This file contains hidden or 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
$ sudo ln -s /opt/sublime_text/sublime_text /usr/local/bin/subl |
This file contains hidden or 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
$ sudo gedit ~/.bashrc | |
# Add a comment to unset color_prompt force_color_prompt | |
# Remove '#' from force_color_prompt=yes | |
# To C++ friendly | |
# Add at the EOF: | |
# Set c++11 as default compiler | |
alias g++="g++ --std=c++11 -Wall" |
This file contains hidden or 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
$ g++ -Wall -std=c++11 -I include/ src/teste.cpp src/drive.cpp -o bin/pg01 | |
$ ./bin/pg01 |
OlderNewer