Skip to content

Instantly share code, notes, and snippets.

Overview
Sources Vs Destinations
Source Compatibility
Connection Modes
Data Deliverability
Warehouse Schemas
Catalog
FAQs
Data Warehousing
Redshift
# Java8 Maven Junit4 archetype
mvn archetype:generate -B -DarchetypeGroupId=org.spilth -DarchetypeArtifactId=java8-junit4-quickstart
-DgroupId=com.example -DartifactId=xgboost-score -Dversion=1.0.0
cd helloworld
mvn package site
alpakka pom
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-- search column name
select table_name, column_name from information_schema.columns where column_name like '%current_interest_rate%'
and table_name in ('identifies','tracks','pages');
-- stored procedure
CREATE OR REPLACE FUNCTION findanonid(IN userId varchar, IN internalUserId varchar)
RETURNS TABLE(anonymousid varchar)
AS $$
BEGIN
return query

[✓] Flutter (Channel stable, v1.7.8+hotfix.4, on Mac OS X 10.14.5 18F132, locale en-AU) [✗] Android toolchain - develop for Android devices ✗ Unable to locate Android SDK. Install Android Studio from: https://developer.android.com/studio/index.html On first launch it will assist you in installing the Android SDK components. (or visit https://flutter.dev/setup/#android-setup for detailed instructions). If the Android SDK has been installed to a custom location, set ANDROID_HOME to that location. You may also want to add it to your PATH environment variable.

[!] Xcode - develop for iOS and macOS (Xcode 9.4.1)

#aws java lambda archetype
mvn archetype:generate -DarchetypeGroupId=com.amazonaws.serverless.archetypes -DarchetypeArtifactId=aws-serverless-java-archetype -DarchetypeVersion=1.0.0 -DarchetypeRepository=local -DinteractiveMode=false
public class App {
public static void main(String[] args) {
int n = 5; // input size
int[][] matrix = new int[n][n];
int count = 1;
int top = 0, bottom = n - 1, left = 0, right = n - 1;
while (top <= bottom && left <= right) {
// Print top row