Skip to content

Instantly share code, notes, and snippets.

View Lory1990's full-sized avatar
๐Ÿ˜€
Charged

Lorenzo De Francesco Lory1990

๐Ÿ˜€
Charged
View GitHub Profile
@Lory1990
Lory1990 / use Logger
Last active March 25, 2023 12:36
use Logger
import { datadogLogs } from "@datadog/browser-logs"
import { datadogRum } from "@datadog/browser-rum"
import { RootState } from "app/rootReducer"
import _ from "lodash"
import { useSelector } from "react-redux"
export interface ILoggerProps {
component?: string
}
@Lory1990
Lory1990 / index.html
Created October 20, 2021 13:37
Tree - 2021 - HTML
<!DOCTYPE html>
<html>
<head>
<title>Corso Tree</title>
<link
rel="icon"
href="favicon.ico"
>
<meta property="og:url" content="http://www.nytimes.com/2015/02/19/arts/international/when-great-minds-dont-think-alike.html" />
<meta property="og:type" content="article" />
@Lory1990
Lory1990 / gitlab-ci-sftp-parallel
Created May 26, 2020 06:49
GitLab CD/CI pipeline for a parallel deploy
stages:
- load Libraries
- build
- create_docker_image
- deploy
Load Libraries:
image: node:lts-slim
when: manual
stage: load Libraries
@Lory1990
Lory1990 / gitlab-ci-sftp-linear
Created May 26, 2020 06:33
Gitlab Pipeline code for a linear deployment via SFTP
stages:
- Load Libraries
- Build
- Deploy Test
- Deploy Prod
Load Libraries:
image: node:lts-slim
when: manual
stage: Load Libraries