See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
# Thanks to @danger89 and @Ilothar for updating the gist. | |
# Set the name and the supported language of the project | |
project(hello-world C CXX) | |
# Set the minimum version of cmake required to build this project | |
cmake_minimum_required(VERSION 3.10) | |
# Use the package PkgConfig to detect GTK+ headers/library files | |
find_package(PkgConfig REQUIRED) | |
pkg_check_modules(GTK REQUIRED gtkmm-3.0) |
#include <SDL.h> | |
SDL_Window* window; | |
SDL_Renderer* renderer; | |
void drawCircle(int xc, int yc, int x, int y) { | |
SDL_RenderDrawPoint(renderer, xc + x, yc + y); | |
SDL_RenderDrawPoint(renderer, xc - x, yc + y); | |
SDL_RenderDrawPoint(renderer, xc + x, yc - y); |
logica --> nos permite validar e construir argumentos | |
--> descreve com precisao um algoritmo | |
proposicao --> sentenca q e verdadeira ou falsa, nao pode ser ambos | |
negacao --> sempre inverte o valor logico da proposicao (¬p ou ¯p) | |
and --> quando ambos sao verdade o resultado e verdadeiro tambem (p ∧ q) | |
or --> quando pelo menos uma proposicao e verdadeira, o resultado tambem sera (p ∨ q) | |
exclusive-or --> quando um e verdadeiro e o outro e falso, o resultado sera verdadeiro(p ⊕ q) |
from qiskit import qiskit, QuantumCircuit | |
def execute(func): | |
print('0 0: {}'.format(func(0, 0))) | |
print('0 1: {}'.format(func(0, 1))) | |
print('1 0: {}'.format(func(1, 0))) | |
print('1 1: {}'.format(func(1, 1))) | |
def xor(a, b): | |
""" |
componentes de um sistema de informação
# sudo /sbin/rcvboxdrv -h | |
# Unloading modules: | |
# Loading modules: modprobe: FATAL: Module vboxnetadp not found in directory /lib/modules/4.4.3-1-ARCH | |
# modprobe: FATAL: Module vboxnetflt not found in directory /lib/modules/4.4.3-1-ARCH | |
# modprobe: FATAL: Module vboxpci not found in directory /lib/modules/4.4.3-1-ARCH | |
# modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.4.3-1-ARCH | |
# Solution | |
# from https://forum.antergos.com/topic/818/can-t-run-my-vitualbox/4 |