gh workflow run "Publish beta package (TEST)" \
--repo Launchmetrics/GIS-shared \
--ref m-fix-beta-package-workflow \
--field pr-number=332 \
--field targets=GIS-mekong:m-feature-test-new
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 Powerlevel10k configuration wizard on 2023-10-03 at 22:03 CEST. | |
| # Based on romkatv/powerlevel10k/config/p10k-classic.zsh, checksum 48479. | |
| # Wizard options: compatible, classic, unicode, dark, 24h time, flat heads, flat tails, | |
| # 1 line, compact, fluent, transient_prompt, instant_prompt=verbose. | |
| # Type `p10k configure` to generate another config. | |
| # | |
| # Config for Powerlevel10k with classic powerline prompt style. Type `p10k configure` to generate | |
| # your own config based on it. | |
| # | |
| # Tip: Looking for a nice color? Here's a one-liner to print colormap. |
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
| const changeMessage = React.useCallback(() => { | |
| const currentIndex = shuffledMessages.indexOf(message); | |
| const nextIndex = (currentIndex + 1) % shuffledMessages.length; | |
| setMessage(shuffledMessages[nextIndex]); | |
| }, [message, shuffledMessages]); |
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
| /* istanbul ignore file */ | |
| import { PrismaClient } from '@prisma/client'; | |
| import fs from 'fs'; | |
| import { uniq, uniqBy } from 'lodash'; | |
| import { executeESAction } from '@/lib/server/ESManager/ESManager_init'; | |
| /** | |
| * Define the chunk method in the prototype of an array |
alias stopall='docker kill $(docker ps -q)’
alias removeall='docker rm $(docker ps -a -q)’
source ~/.bash_profile
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 React from "react"; | |
| import { CSSTransition } from "react-transition-group"; | |
| import ModalPortal from "../ModalPortal"; | |
| export function useModal() { | |
| const [isModalVisible, setIsModalVisitble] = React.useState(false); | |
| const toggleModal = () => { | |
| setIsModalVisitble((prevState) => !prevState); | |
| }; | |
| const closeModal = () => { |
// tailwind.config.js
module.exports = {
prefix: "tw-",
content: ["../templates/**/*.{tpl,js}"],
theme: {
extend: {},
},
plugins: [],
}; export const DEFAULT_PIXEL_RATIO = 1;
export function clientPixelRatio(): number {
if (typeof window !== 'undefined' && window.devicePixelRatio) {
return Math.round(window.devicePixelRatio);
}
return DEFAULT_PIXEL_RATIO;
}
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
| document.getElementById('myId') | |
| console.dir(htmlElement) // TO display more than just the element |
NewerOlder