Skip to content

Instantly share code, notes, and snippets.

@taljacob2
taljacob2 / haleom_raster.txt
Last active March 30, 2023 10:23
map_2d.yaml
location of pixel (0,0),the upper left corner, in local coordinate (m) is (22.76,60.84)
location of pixel (1224,787), the lower right corner, in local coordinate (m) is (-31.78,-23.98)
@taljacob2
taljacob2 / gsap-properties-cheat-sheet.md
Created July 25, 2022 12:37 — forked from lunelson/gsap-properties-cheat-sheet.md
Greensock Properties Cheat Sheet

Greensock CSS properties Cheat Sheet

I wrote this as a reference for myself because some of the property names are non-obvious, and there are a number of relevant special properties, and there is no central concise listing of them all in GSAP Docs, other than (in longer form) on the CSSPlugin page.

Standard CSS properties

...are all supported, with hyphenated-names becoming camelCaseNames. Non-animatable properties are also supported but they will be set at the beginning of the tween.

Special mentions:

@taljacob2
taljacob2 / .clang-format
Created November 23, 2021 20:32
.clang-format settings for cpp
# Generated from CLion C/C++ Code Style settings
BasedOnStyle: LLVM
#AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: true
AlignOperands: true
AllowAllArgumentsOnNextLine: false
AlignConsecutiveDeclarations: true
AlignConsecutiveMacros: true
AlignEscapedNewlines: Left
/* Gradient Animation Configuration */
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
@taljacob2
taljacob2 / Mapper.java
Created October 8, 2021 16:08
This Component is used for mapping Objects. Mainly, for mapping DTOs to Entities / Entities to DTOs.
package com.tal.spring.bean.mapper;
import org.modelmapper.ModelMapper;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.stream.Collectors;
/**
* This {@link Component} is used for mapping {@code Object}s. Mainly, for
@taljacob2
taljacob2 / gsap_README.md
Last active December 22, 2022 03:07
GsapWrapper
@taljacob2
taljacob2 / .env
Last active September 27, 2022 20:53
Docker Springboot + SQL
# DB (mysql)
MYSQLDB_USER=root
MYSQLDB_ROOT_PASSWORD=123456 # For some reason cannot be set to: "mysql"
MYSQLDB_DATABASE=app_db
MYSQLDB_LOCAL_PORT=3307
MYSQLDB_DOCKER_PORT=3306
# DB UI (adminer)
ADMINER_DOCKER_PORT=8080
ADMINER_LOCAL_PORT=8061