This file contains 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
/* eslint-disable @typescript-eslint/no-explicit-any */ | |
import { reactive } from 'vue' | |
type StoreMutation<StoreState> = (state: StoreState, ...args: any[]) => void | |
type StoreMutations<StoreState> = Record<string, StoreMutation<StoreState>> | |
type Store<StoreState> = { | |
state: StoreState | |
commit (mutation: string, ...args: any[]): void |
This file contains 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
gu () { | |
if [ -z "$1" ]; then | |
echo "Help" | |
echo " 0: '[email protected]'" | |
echo " 1: '[email protected]'" | |
else | |
case $1 in | |
0) account="[email protected]";; | |
1) account="[email protected]";; |
This file contains 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
@echo off | |
git config --system --unset credential.helper | |
git config --global --unset credential.helper | |
git config --global credential.modalprompt false | |
git config --global init.defaultbranch main | |
git config --global pull.rebase true | |
set /p "email=Enter Email: " | |
git config --global user.email "%email%" |
This file contains 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
<?php | |
if (!function_exists('getClientAddress')) { | |
/** | |
* @return string|null | |
*/ | |
function getClientAddress(): ?string | |
{ | |
return $_SERVER['HTTP_CLIENT_IP'] |
This file contains 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
.css-1dbjc4n.r-13awgt0.r-18u37iz.r-1w6e6rj, | |
[data-testid="unlike"] .css-901oao.css-16my406.r-1qd0xha.r-ad9z0x.r-bcqeeo.r-qvutc0, | |
[data-testid="like"] .css-901oao.css-16my406.r-1qd0xha.r-ad9z0x.r-bcqeeo.r-qvutc0, | |
.css-4rbku5.css-18t94o4.css-901oao.r-hkyrab.r-1loqt21.r-1qd0xha.r-a023e6.r-16dba41.r-ad9z0x.r-bcqeeo.r-qvutc0 { | |
display: none; | |
} | |
.r-z1a2ur { | |
background-color: rgb(255 255 255); | |
} |
This file contains 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/sh | |
# ---- Config | |
ENV_NAME="Homologação" | |
TAG_SUFFIX="homolog" | |
PROJECT_NAME="Scania Journey Event" | |
PROJECT_PATH_HOST="/home/lfalmeida/Projects/GitHooks/prod/" | |
PROJECT_PATH_DOCKER="/src/projeto" | |
SLACK_WEBHOOK="" | |
ENABLE_SLACK_POST=0 |
This file contains 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
<!-- Magna Analytics --> | |
<script> | |
(function (w, d, o = {}, a = '$a', u = '/analytics.js') { | |
t = 'script';r = 'Y31-fNd-LXB-jjn-I8U3'; | |
w[r] = w[r] || {};w[r].o = o; | |
w[a] = w[a] || function () {(w[a].q = w[a].q || []).push(arguments)}; | |
e = d.createElement(t);m = d.getElementsByTagName(t)[0]; | |
e.async = 1;e.src = u + location.search;m.parentNode.insertBefore(e, m); | |
})(window, document) | |
$a('hit'); |
This file contains 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
<!-- Magna Analytics --> | |
<script> | |
(function (w, d, o = {}, a = '$a', u = '/analytics.js?key=164ff908-446c-41d5-a599-81e37b721be5') { | |
t = 'script';r = 'Y31-fNd-LXB-jjn-I8U3'; | |
w[r] = w[r] || {};w[r].o = o; | |
w[a] = w[a] || function () {(w[a].q = w[a].q || []).push(arguments)}; | |
e = d.createElement(t);m = d.getElementsByTagName(t)[0]; | |
e.async = 1;e.src = u;m.parentNode.insertBefore(e, m); | |
})(window, document, { campaignId: 2 }) | |
$a('hit', { shopId: 2 }); |
This file contains 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
<!-- Magna Analytics --> | |
<script> | |
(function (w, d, o = {}, a = '$a', u = '/analytics.js?key=164ff908-446c-41d5-a599-81e37b721be5') { | |
t = 'script';r = 'Y31-fNd-LXB-jjn-I8U3'; | |
w[r] = w[r] || {};w[r].o = o; | |
w[a] = w[a] || function () {(w[a].q = w[a].q || []).push(arguments)}; | |
e = d.createElement(t);m = d.getElementsByTagName(t)[0]; | |
e.async = 1;e.src = u;m.parentNode.insertBefore(e, m); | |
})(window, document) | |
$a('hit', { shopId: 1 }); |
This file contains 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
<!-- Magna Analytics --> | |
<script> | |
(function (w, d, o = {}, a = '$a', u = '/analytics.js?key=164ff908-446c-41d5-a599-81e37b721be5') { | |
t = 'script';r = 'Y31-fNd-LXB-jjn-I8U3'; | |
w[r] = w[r] || {};w[r].o = o; | |
w[a] = w[a] || function () {(w[a].q = w[a].q || []).push(arguments)}; | |
e = d.createElement(t);m = d.getElementsByTagName(t)[0]; | |
e.async = 1;e.src = u;m.parentNode.insertBefore(e, m); | |
})(window, document) | |
$a('hit'); |
NewerOlder