Skip to content

Instantly share code, notes, and snippets.

View cescoferraro's full-sized avatar
🏠
Working from home

cesco cescoferraro

🏠
Working from home
View GitHub Profile
@cescoferraro
cescoferraro / index.js
Last active September 17, 2020 08:04
AWS FARM ios issue
import webdriverIO from "webdriverio";
import {dirname} from "path";
import {fileURLToPath} from "url";
import {loginLogoutFN, loginLogoutSingleFN, loginLogoutWithPassword} from "./tests/shared";
import {editPassword} from "./tests/password";
import {setSettings} from "./tests/settings";
import {editProfile} from "./tests/profile";
import {addRecipeToCookBook} from "./tests/recipe";
import {findAndShareRecipeFromCookBook} from "./tests/cookbook";
import {findAndRemoveRecipeFromCookBook} from "./tests/cookbook_share";
@cescoferraro
cescoferraro / GraphQLDataFetchers.java
Created September 16, 2020 18:51
stackoverflow help
package br.com.b2breservas.api.graphql.mutation;
import graphql.schema.DataFetcher;
import org.springframework.stereotype.Component;
@Component
public class GraphQLDataFetchers {
public DataFetcher createUpdateIntegration() {
{
"additionalInfo": [],
"agencyStoreId": 47510,
"attachments": [],
"bookingNumber": 105213,
"bookingType": "CONFIRMED",
"code": null,
"comments": "obss",
"conciliationAt": null,
"conciliationData": false,
@cescoferraro
cescoferraro / menu.py
Created September 13, 2019 20:44
MELL NUKE HACK
import nuke
import timelog
nuke.addOnScriptLoad(timelog.Timelog().start_thread
@cescoferraro
cescoferraro / main.go
Last active May 17, 2019 02:48
D3 Crawler
package main
import (
"encoding/json"
"html"
"io/ioutil"
"log"
"net/http"
"net/url"
"regexp"
@cescoferraro
cescoferraro / deploy_docker.go
Created October 23, 2016 21:51
docker & kubernetes client example golang
package cmd
import (
"bitbucket.org/cescoferraro/api/util"
"github.com/fatih/color"
"github.com/spf13/cobra"
)
var (
logger = util.Block{
const pingEpic = (action$) => action$
.pipe(
filter((action: IAction) => action.type === 'PING'),
mergeMap((action: IAction) =>
ajax({
method: "GET",
url: apiURL() + "/party/" + action.payload
})
.pipe(
mergeMap((data) => {
2018/05/09 21:35:58 Request received from body
2018/05/09 21:35:58 [
{
"id": "5ae9cc30cc922d08eab5d47d",
"creationDate": 1525271600000,
"updateDate": -62135596800000,
"startDate": 1532988120000,
"endDate": 1533074520000,
"customerId": "5849ebe9cc922d4efdbf00e4",
"partyId": "5adfaa31cc922d5c7853f988",
@cescoferraro
cescoferraro / ThymeLeaf Upgrading
Created November 2, 2015 18:10
ThymeLeaf ERROR
2015-11-02 15:52:18.161 ERROR 22254 --- [ main] o.s.boot.SpringApplication : Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'viewResolver' defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration$ThymeleafViewResolverConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.thymeleaf.spring4.SpringTemplateEngine org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration$ThymeleafViewResolverConfiguration.templateEngine; nested exception is org.springframework.beans.factory.BeanCreationException: E
@cescoferraro
cescoferraro / Angular ng-click with ng-show, two buttons.markdown
Created May 22, 2015 12:39
Angular ng-click with ng-show, two buttons