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
/*This file is generated by Cloud Sync Settings Plugin - DO NOT MODIFY THIS FILE DIRECTLY OTHERWISE PLUGIN WILL NOT WORK PROPERLY*/ | |
U2FsdGVkX18fwDx3Xi+Hsgb5dOlTZxSO6cor47pMsfgyFqkJ0LTbqUxidwLM+D0MgHvYDBEX1ZtOtg0LMvP5+9XjfJwF3EFRETwre0CQ9t36ooY5Z7iTBeDHwOVWFY5ly7ec6Bboj0Ciy9FtalMEAOyUkJat9aKDHqMQPxmpTV6bL5ntwUYnrmjuJ5QO8D7aCkXRgaCQcO4K8d7HHEYbIAfhZPAbwfPz6UJC94F8YTYcE0YB8yTzwo7l/Pxc9CZHEYRgxI0Phk6gonQgYqTRo6ntv+1TonkOgtAl5gT8nh94Ae7RWs6nNQfnLKbZK0wzh6Lbua5zR0B9ti0yzczmEsSwnkSHsJTUser99sc6Vnpb65gaTjlZvqexN27Oh7AOksuHr+nOfcll3CvDhMlf4WILG6Gm3aZujdrHAvPGepBZ72b/jWFkZDmZgy9uuzbnnf1Vuh9xzeqh5vSoXPAl2Iw+i3FfZl4z6EqzG14yZ3K7v4Hv/gyCoML97AeFyXg/bD+5ILxG3uiZhtzuXG+NVh+Xw1VaMRO4fLuFW1LmSZEySyqiL8zXWddmu+2JVNWYFntSxnceu1PpkBQcY8sh4mEajmncUTGenELIRZxKPx6Lnzeub/bguut1UmyQ9rPEniJ7bZ6OFC3/A03j07fsPWKq/gbGsCOZm2IbNbad8BkVMA/kDABehlaLNUBIMon8/jSJZPFx6Vx3p7LzAVOCRBwgj/a3J3FWRowpjUb71EMJozEmJCTWQ4b8RGJb6MQTmyy3qp902xD07eIwvCCRC4c/RnbkbQ9jTZd7a2mfTRVXG9wOLCmmDWX5D2Uee8L5z9x4t6t5v3ZzBvyIRLJ6qx/j/CAY8+m6Mg8tcTMg3a7bnEL4MZUIVV2PGduy |
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
SELECT | |
tablename | |
, tableowner | |
FROM | |
pg_tables | |
WHERE | |
tableowner <> 'postgres' | |
; |
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
SELECT | |
day::date | |
FROM | |
generate_series(current_date - interval '30 day', current_date, '1 day') AS day | |
; |
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
$apps_in_main_bucket = @( | |
'exiftool' | |
'ffmpeg' | |
'gallery-dl' | |
'imagemagick' | |
'lame' | |
'youtube-dl' | |
) | |
scoop install @apps_in_main_bucket |
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
/** | |
* @param {string} url | |
* @param {Object} options | |
* @param {Number} attempt | |
* @returns {Promise<Response>} | |
*/ | |
const fetchWithRetry = async (url, options, attempt) => { | |
try { | |
return await fetch(url, options) | |
} catch (err) { |
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 sleep = async (ms) => await new Promise(resolve => setTimeout(resolve, ms)) | |
(async () => { | |
console.log('Hello,') | |
await sleep(3000) | |
console.log('world!') | |
})() |
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 startTime = performance.now() | |
await doSomething() | |
const endTime = performance.now() | |
const elapsedTimeInSeconds = (endTime - startTime) / 1e+3; | |
console.log(elapsedTimeInSeconds) | |
async function doSomething() { | |
await sleep(3000) | |
} |
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
FROM php:8-apache | |
COPY --from=composer /usr/bin/composer /usr/bin/composer | |
ENV APACHE_DOCUMENT_ROOT /var/www/laravel/public | |
RUN sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf | |
RUN sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf | |
RUN chown www-data /var/www -R |
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
brew install bat broot delta dust exa fd fzf gh ghq git graphviz jq nodejs procs python ripgrep s-search sd starship tldr watchexec |
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
$apps_in_main_bucket = @( | |
'7zip' | |
'act' | |
'bat' | |
'boxes' | |
'busybox' | |
'duf' | |
'dust' | |
'fd' | |
'fq' |
NewerOlder