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
É bom estar logado no Flipboard :D | |
Swift, Access Control and Testing | |
https://share.flipboard.com/bookmarklet/popout?v=2&title=Swift%2C%20Access%20Control%20and%20Testing&url=http%3A%2F%2Fblog.diogot.com%2Fblog%2F2014%2F08%2F23%2Fswift_access_control_and_testing%2F | |
Introdução à Mock e Stub com Rspec | |
https://share.flipboard.com/bookmarklet/popout?v=2&title=Introdu%C3%A7%C3%A3o%20%C3%A0%20Mock%20e%20Stub%20com%20Rspec&url=http%3A%2F%2Foswaldoferreira.github.io%2F2014%2F08%2F29%2Fuma-abordagem-simples-sobre-mock-e-stub-em-ruby.html | |
Stress Testing with Loader.io | |
https://share.flipboard.com/bookmarklet/popout?v=2&title=Stress%20Testing%20with%20Loader.io&url=http%3A%2F%2Fwww.sitepoint.com%2Fstress-testing-loader-io%2F |
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
uuidgen | sed -e "s/-//g" | tr [:lower:] [:upper:] |
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.net.URLEncoder.{encode => enc} | |
object Flipit extends App { | |
if (args.size >= 2){ | |
val flip = """https://share.flipboard.com/bookmarklet/popout?v=2&title=%s&url=%s""" | |
println(args(0)) | |
println(flip.format(e(args(0)), e(args(1)))) | |
def e(url :String) :String = { |
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
grep -v "Texto que deseja remover linhas" arquivoOrigem.txt > arquivoDestino.txt --Procura por um trecho de texto em todo o arquivo, e deleta a linha onde é encontrado |
OlderNewer