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
{ | |
"ListaDeSitesParaEvitar": { | |
"site": [ | |
{ | |
"documento": null, | |
"inclusao": "01/09/2014", | |
"nome": "adorocompraronline.com", | |
"status": "NO AR", | |
"url": "adorocompraronline.com" | |
}, |
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
2014-12-17 12:41:12,470 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed | |
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalAsyncAnnotationProcessor': Cannot resolve reference to bean 'taskExecutor' while setting bean property 'executor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'taskExecutor': Invocation of init method failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.concurrent.ThreadPoolExecutor$CallerRunsPolicy' to required type 'edu.emory.mathcs.backport.java.util.concurrent.RejectedExecutionHandler' for property 'rejectedExecutionHandler'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [java.util.concurrent.ThreadPoolExecutor$CallerRunsPolicy] to required type [edu.emory.mathcs.backport.java.util.c |
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
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.Collections; | |
import java.util.List; | |
class App{ | |
public static void main(String[] args) throws Exception { | |
List<String> list = Arrays.asList("a", "b", "c"); | |
List<String> local = new ArrayList<String>(list); |
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
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1 | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building POC-Immutables 1.0.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ POC-Immutables --- | |
[INFO] Deleting /Users/eliocapelati/dev/gabbay/ws/POC-Immutables/target |
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
#!/bin/sh | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' |
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
#!/usr/bin/env bash | |
CONVERSION="USDBRL" | |
#Yahoo YQL console: https://developer.yahoo.com/yql/console/ | |
PARAM1="q=select * from yahoo.finance.xchange where pair in (%22$CONVERSION%22)&env=store://datatables.org/alltableswithkeys" | |
FORMAT="json" #XML store about 405b | JSON store about 202b | |
PARAM2="format=$FORMAT" | |
URL="http://query.yahooapis.com/v1/public/yql" | |
SAVEPATH="~/currencies/" | |
INTERVAL=1 |
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
Show hidden characters
[ | |
{ "keys": ["ctrl+alt+i"], "command": "show_overlay", "args": {"overlay": "command_palette", "text": "Package Control: Install Package"} }, | |
{ "keys": ["shift+alt+d"], "command": "set_setting", "args": {"setting": "draw_white_space","value": "all"} }, | |
{ "keys": ["shift+alt+a"], "command": "set_setting", "args": { "setting": "draw_white_space", "value": "selection" }}, | |
] |
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
#!/usr/bin/env bash | |
BOLD="\033[1m" | |
RED="\033[31m" | |
N_C="\033[0m" | |
usage(){ | |
echo -e "\n\n" | |
echo -e "Usage:\n" |
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
#!/usr/bin/env bash | |
log(){ | |
#See "$ man logger" | |
logger -i -t "CR-CNTLM" "[User:$(whoami)] $1" | |
} | |
##TODO: Impl system count of unsuccessful restarts (Redis?) | |
##MUST BE ROOT |