Skip to content

Instantly share code, notes, and snippets.

View eltonvs's full-sized avatar
🏠
Working from Home

Elton Viana eltonvs

🏠
Working from Home
View GitHub Profile
/*
* jogo_sudoku.c
*
* Author: Elton Viana
* E-mail: me@eltonviana.com
*
*/
#include <stdio.h>
/*
* quadrado_magico.c
*
* Author: Elton Viana
* E-mail: me@eltonviana.com
*
*/
#include <stdio.h>
# -*- 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]
$ g++ -Wall -std=c++11 -I include/ src/teste.cpp src/drive.cpp -o bin/pg01
$ ./bin/pg01
sudo apt-get -f install
sudo apt-get autoremove
sudo apt-get -y autoclean
sudo apt-get -y clean
$ 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"
$ sudo ln -s /opt/sublime_text/sublime_text /usr/local/bin/subl
$ sudo apt-get install nautilus-open-terminal
$ sudo add-apt-repository ppa:webupd8team/sublime-text-3
$ sudo apt-get update
$ sudo apt-get install sublime-text-installer

To find elements without space between the content and '{'

((?! ).{)