$ curl -L -O https://github.com/getredash/redash/archive/v2.0.0.zip
This file contains hidden or 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
| package br.com.zup.edu.app2.xxx.samples.aws.sqs; | |
| import br.com.zup.edu.app2.xxx.samples.aws.sqs.model.Customer; | |
| import br.com.zup.edu.app2.xxx.samples.aws.sqs.model.CustomerRepository; | |
| import io.awspring.cloud.messaging.listener.SqsMessageDeletionPolicy; | |
| import io.awspring.cloud.messaging.listener.annotation.SqsListener; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; | |
| import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; | |
| import org.springframework.messaging.handler.annotation.Header; |
This file contains hidden or 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
| public class HowToUseIt { | |
| /** | |
| * Usually we'll have a single instance per client | |
| */ | |
| private static final SingleThreadPool THREAD_POOL = new SingleThreadPool(); | |
| public void executeAsync() { | |
| try { | |
This file contains hidden or 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
| using Xunit; | |
| namespace TheDukesOfDocker | |
| { | |
| [CollectionDefinition(nameof(EventStoreCollection))] | |
| public class EventStoreCollection : ICollectionFixture<EventStoreFixture> | |
| { | |
| } | |
| } |
This file contains hidden or 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/bash | |
| PROJECT_DIR=~/httrack/airbnb | |
| LISTING_URL='https://www.airbnb.com/rooms/1300067?s=9Xmw' | |
| brew install httrack | |
| echo "Using httrack to download all images" | |
| echo "Update cookies.txt within $PROJECT_DIR if login needed" | |
| echo "" |
This file contains hidden or 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
| package rponte.report; | |
| import java.io.FileNotFoundException; | |
| import java.io.FileOutputStream; | |
| import java.sql.Connection; | |
| import java.sql.SQLException; | |
| import java.util.HashMap; | |
| import java.util.Map; | |
| import net.sf.jasperreports.engine.JRException; |