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
// AutoSprint Feature - Automatic Sprint Activation | |
// Automatically clicks L3 (sprint) when left stick moves forward past threshold | |
feature AutoSprint { | |
name = "Auto Sprint" | |
config { | |
activation_threshold: float { | |
title: "Activation Threshold" | |
description: "How far forward the left stick must be pushed to trigger sprint. Lower values activate sprint with less stick movement. The scale is between 0 and 100." |
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
# Generated by Zenith DSL Compiler | |
# DO NOT EDIT - This file is auto-generated | |
import textwrap | |
import time | |
from typing import Any, Dict, Iterable, List, Optional, Annotated, Literal | |
from pydantic import BaseModel, Field, model_validator | |
from src.backend.common import XButton |
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
import com.google.common.base.Joiner; | |
import com.google.common.base.Preconditions; | |
import com.google.common.io.ByteStreams; | |
import org.apache.iceberg.aws.s3.S3FileIOProperties; | |
import org.apache.iceberg.exceptions.NotFoundException; | |
import org.apache.iceberg.io.FileIOMetricsContext; | |
import org.apache.iceberg.io.IOUtil; | |
import org.apache.iceberg.io.RangeReadable; | |
import org.apache.iceberg.io.SeekableInputStream; | |
import org.apache.iceberg.metrics.Counter; |
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
import org.apache.iceberg.aws.AwsClientFactories; | |
import org.apache.iceberg.aws.s3.S3FileIO; | |
import org.apache.iceberg.aws.s3.S3FileIOProperties; | |
import org.apache.iceberg.util.SerializableSupplier; | |
import software.amazon.awssdk.services.s3.S3Client; | |
import java.util.concurrent.atomic.AtomicBoolean; | |
public class CustomS3FileIO extends S3FileIO { |
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
import com.google.common.collect.Lists; | |
import org.apache.iceberg.BaseCombinedScanTask; | |
import org.apache.iceberg.FileScanTask; | |
import org.apache.iceberg.flink.source.assigner.DefaultSplitAssigner; | |
import org.apache.iceberg.flink.source.split.IcebergSourceSplit; | |
import org.apache.iceberg.flink.source.split.IcebergSourceSplitState; | |
import java.util.Collection; | |
import java.util.List; | |
import java.util.stream.Collectors; |
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
import asyncio | |
import zlib | |
from typing import List, Tuple | |
from aiobotocore.session import AioSession | |
from aiohttp_retry import ExponentialRetry, RetryClient | |
from tqdm import tqdm | |
# ##### PARAMETERIZED PART ####### | |
YEAR = 2015 |
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
print('''HESAP MAKİNEMİZE HOŞ GELDİNİZ... | |
TOPLAMA İŞLEMİ İÇİN : + | |
ÇIKARMA İŞLEMİ İÇİN : - | |
ÇARPMA İŞLEMİ İÇİN : * | |
BÖLME : / | |
TUŞLARINI KULLANINIZ....''') | |
çalıştır = 1 |
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 dal.ahmet.hive.unittest; | |
import com.klarna.hiverunner.HiveShell; | |
import com.klarna.hiverunner.StandaloneHiveRunner; | |
import com.klarna.hiverunner.annotations.HiveSQL; | |
import org.junit.Assert; | |
import org.junit.Before; | |
import org.junit.Test; | |
import org.junit.runner.RunWith; |
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
-- execute_student_count_report.hql | |
use mydatabase; | |
INSERT INTO TABLE student_count_report | |
SELECT | |
school.school_name, | |
count(student.student_id) as cnt | |
FROM school | |
LEFT JOIN student on student.school_id = school.school_id |
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
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.klarna</groupId> | |
<artifactId>hiverunner</artifactId> | |
<version>3.0.0</version> |
NewerOlder