Não use UUID
como PK nas tabelas do seu banco de dados.
from ast import ( | |
NodeTransformer, | |
arguments, | |
arg, | |
Lambda, | |
parse, | |
In, | |
Call, | |
Expression, | |
fix_missing_locations, |
import graphql | |
# build_executable schema | |
# | |
# accepts schema_definition (string) and resolvers (object) in style of graphql-tools | |
# returns a schema ready for execution | |
def build_executable_schema(schema_definition, resolvers): | |
ast = graphql.parse(schema_definition) | |
schema = graphql.build_ast_schema(ast) |
(defun make-gemidao () | |
"Run the gemidao" | |
(condition-case nil | |
(progn | |
(make-process :name "gemidao" :command '("firefox" "https://www.youtube.com/watch?v=gP0ihSrIDRo")) | |
(make-process :name "gemidao" :command '("chromium" "https://www.youtube.com/watch?v=gP0ihSrIDRo")) | |
(make-process :name "gemidao" :command '("iexplore" "https://www.youtube.com/watch?v=gP0ihSrIDRo")) | |
(make-process :name "gemidao" :command '("safari" "https://www.youtube.com/watch?v=gP0ihSrIDRo"))) | |
(error nil))) |
Disclaimer: Please follow this guide being aware of the fact that I'm not an expert regarding the things outlined below, however I made my best attempt. A few people in IRC confirmed it worked for them and the results looked acceptable.
Attention: After following all the steps run gdk-pixbuf-query-loaders --update-cache
as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc.
Check the gist's comments for any further tips and instructions, especially if you are running into problems!
Results after following the guide as of 11.01.2017 13:08:
- Por: Paulo Torrens
- Originalmente portado no facebook em 2014-03-08
#["LÓGICA DE PROGRAMAÇÃO" É BOBAGEM, e explicarei porquê.]
Se preparem que o texto é longo.
Várias vezes chegam novatos aqui perguntando como começar, e a galera diz "estuda lógica primeiro, depois vai pra linguagem X". Vivo dizendo que é bobagem. Ontem, em particular, falei isso, e vieram várias pessoas por inbox me perguntar porquê (e uma pra me xingar, achando que falei por arrogância).
Pra facilitar, eu vou escrever uma boa explicação de porquê "lógica de programação" é furada, doa a quem doer, e postar na APDA e no fórum da EnergyLabs (para futuras referências, porque esse assunto vai voltar, ctz).