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
log4j:ERROR Could not read configuration file [file:/Users/leandromuto/.m2/repository/com/keyrus/carrefourAutomation/core/1.0-SNAPSHOT/core-1.0-SNAPSHOT.jar!/config/log4j.properties]. | |
java.io.FileNotFoundException: file:/Users/leandromuto/.m2/repository/com/keyrus/carrefourAutomation/core/1.0-SNAPSHOT/core-1.0-SNAPSHOT.jar!/config/log4j.properties (No such file or directory) | |
at java.io.FileInputStream.open0(Native Method) | |
at java.io.FileInputStream.open(FileInputStream.java:195) | |
at java.io.FileInputStream.<init>(FileInputStream.java:138) | |
at java.io.FileInputStream.<init>(FileInputStream.java:93) | |
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:372) | |
at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:403) | |
at com.selenium.framework.helper.LoggerHelper.getLogger(LoggerHelper.java:16) | |
at hooksFrontend.Hooks.<init>(Hooks.java:19) |
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
<SignUpDto> | |
<!-- billing address section --> | |
<email>[email protected]</email> | |
<phoneNr>+5516991623617</phoneNr> | |
<addressableName>test</addressableName> | |
<countryCode>ITA</countryCode> | |
<city>test</city> | |
<state>test</state> | |
<postCode>666666666</postCode> | |
<billingAddress>test</billingAddress> |
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
# This is a template for a Python scraper on morph.io (https://morph.io) | |
# including some code snippets below that you should find helpful | |
import urllib | |
import scraperwiki | |
import pdb | |
from bs4 import BeautifulSoup as bs | |
encoding = 'utf-8' | |
url = 'http://www.paodeacucar.com.br/' |
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
Leandros-MacBook-Pro:GitHub leandromuto$ sudo pip install lxml | |
Password: | |
The directory '/Users/leandromuto/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. | |
The directory '/Users/leandromuto/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. | |
Collecting lxml | |
Downloading lxml-3.6.0.tar.gz (3.7MB) | |
100% |████████████████████████████████| 3.7MB 243kB/s | |
Installing collected packages: lxml | |
Running setup.py install for lxml ... error | |
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-7M1Hid/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, |
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
/* | |
* Árvore AVL | |
* | |
* Fator de balanceamento = hdir - hesq | |
* | |
*/ | |
#include <stdlib.h> | |
#include <stdio.h> |
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
/* | |
* Árvore AVL | |
* | |
* Fator de balanceamento = hdir - hesq | |
* | |
*/ | |
#include <stdlib.h> | |
#include <stdio.h> |
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
// | |
//folha *criaFolha(folha *ini, int num, folha *esq, folha *dir) { // esquerda e direita podem ser null | |
// folha *nova = (folha *) malloc(sizeof(folha)); | |
// | |
// if(!nova) { | |
// printf("Falta de memória ao criar índice.\n"); | |
// exit(0); | |
// } | |
// |
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
Alocação dinamica de memória | |
// 01.c | |
int *p, *q; // declara 2 ponteiros p e q | |
p = malloc (sizeof (int)); //aloca para p o tamanho de um inteiro | |
*p = 123; // ponteiro p aponta para 123; | |
q = malloc (sizeof (int)); | |
*q = *p; //aloca para q o tamanho de um inteiro |
NewerOlder