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/bash | |
speed=15 | |
size=1500x500+210+0 | |
name=${1:-dropterm} | |
main() { | |
wm=$(xprop -id $(xprop -root -notype _NET_SUPPORTING_WM_CHECK | awk '{print $NF}') -notype -f _NET_WM_NAME 8t | awk '/NAME/{ gsub(/"/,""); print $NF }') | |
if [ -z $(xdo id -n $name) ]; then | |
if [[ "$wm" == "bspwm" ]] ; then |
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
type QueueItem = () => Promise<void> | |
/** | |
* Check if a string contains a HTML tag or not | |
* | |
* @param {String} string String to check for HTML tag | |
* @return {Boolean} True|False | |
* | |
*/ | |
const doesStringContainHTMLTag = (string) => { |
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
const DEFAULT_OPTIONS = { | |
autoClose: 5000, | |
position: "top-right", | |
onClose: () => {}, | |
canClose: true, | |
showProgress: true, | |
}; | |
class Toast { | |
#toastElem; |
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
npm i -g dot-language-server bash-language-server vscode-langservers-extracted dockerfile-language-server-nodejs emmet-ls graphql-language-service-cli intelephense sql-language-server @tailwindcss/language-server typescript typescript-language-server vim-language-server @volar/vue-language-server vls |
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
<div class="relative ml-3 text-sm bg-white py-2 px-4 shadow rounded-xl"> | |
<div class="flex flex-row items-center"> | |
<button | |
class=" | |
flex | |
items-center | |
justify-center | |
bg-indigo-600 | |
hover:bg-indigo-800 | |
rounded-full |
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
[Desktop Entry] | |
Encoding=UTF-8 | |
Name=Bspwm | |
Comment=Binary Space Partitioning Tiling Window Manager | |
Exec=bspwm | |
TryExec=bspwm | |
Type=Xsession | |
X-LightDM-DesktopName=Bspwm |
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
<template> | |
<div class="flex flex-col"> | |
<div class="-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"> | |
<div class="py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"> | |
<div | |
class="shadow overflow-hidden border-b border-gray-200 sm:rounded-lg" | |
> | |
<table class="min-w-full divide-y divide-gray-200"> | |
<thead class="bg-gray-50"> | |
<tr> |
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
<template> | |
<div class="flex flex-col"> | |
<div class="-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"> | |
<div class="py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"> | |
<div | |
class="shadow overflow-hidden border-b border-gray-200 sm:rounded-lg" | |
> | |
<table class="min-w-full divide-y divide-gray-200"> | |
<thead class="bg-gray-50"> | |
<tr> |
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
<template> | |
<div class="flex flex-col"> | |
<div class="-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"> | |
<div class="py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"> | |
<div | |
class="shadow overflow-hidden border-b border-gray-200 sm:rounded-lg" | |
> | |
<table class="min-w-full divide-y divide-gray-200"> | |
<thead class="bg-gray-50"> | |
<tr> |
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
<template> | |
<div class="flex flex-col"> | |
<div class="-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"> | |
<div class="py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"> | |
<div | |
class="shadow overflow-hidden border-b border-gray-200 sm:rounded-lg" | |
> | |
<table class="min-w-full divide-y divide-gray-200"> | |
<thead class="bg-gray-50"> | |
<tr> |