This setup ensures Google Chat is always running on macOS.
If the app crashes or is accidentally closed, it will automatically restart.
Unlike open -a
, this method avoids stealing focus every time Google Chat launches.
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
Show hidden characters
{ | |
"$schema": "https://biomejs.dev/schemas/2.2.0/schema.json", | |
"vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": false }, | |
"files": { "ignoreUnknown": false }, | |
"formatter": { | |
"enabled": true, | |
"formatWithErrors": false, | |
"indentStyle": "space", | |
"indentWidth": 2, | |
"lineEnding": "lf", |
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
- Answer in English | |
- Do not give high-level responses; your task is to provide concrete, project-applicable solutions | |
- Do not give detailed explanations, but describe the purpose of each change | |
- Before making changes, outline an implementation plan in bullet points, then proceed to implementation | |
- Follow linters when writing code | |
#github.com/QuantGeekDev/docker-mcp |
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
#!/usr/bin/env bash | |
# Fetch Git configuration values | |
REMOTE_URL=$(git config --get remote.origin.url) | |
USER_EMAIL=$(git config user.email) | |
echo "🔍 Git Hook Running..." | |
echo "➡ Remote URL: $REMOTE_URL" | |
echo "➡ User email: $USER_EMAIL" |
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
* * * * * cd /var/www/html2/laravel && sleep 5 && ./vendor/bin/sail php artisan queue:work --sleep=3 --tries=2 --max-time=3600 --stop-when-empty >> /var/www/html/laravel/storage/logs/crontab.log 2>&1 |
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
#!/usr/bin/env sh | |
osascript -e 'tell application "Terminal" to do script "cd /Users/Files/www/work/docker; ./docker/start.sh;"' | |
osascript -e 'tell application "Terminal" to do script "cd /Users/Files/www/work/angular; npm start;"' | |
osascript -e 'tell application "Terminal" to do script "cd /Users/Files/www/work/api; sleep 30; ./scripts/docker/queues.sh;"' | |
exit |
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
// ==UserScript== | |
// @name Automatically like comments at studio.youtube.com | |
// @namespace https://github.com/Lysak | |
// @version 0.2 | |
// @author Dmytrii Lysak @Lysak | |
// @match https://studio.youtube.com/* | |
// @require https://code.jquery.com/jquery-3.6.3.min.js | |
// @grant none | |
// @run-at document-end | |
// @description Automatically like comments at studio.youtube.com (Code License: MIT License) |
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
function array_diff_multidimensional($arr1, $arr2): array | |
{ | |
$check = is_array($arr1) && count($arr1) > 0; | |
$result = ($check) ? ((is_array($arr2) && count($arr2) > 0) ? $arr2 : []) : []; | |
if ($check) { | |
foreach ($arr1 as $key => $value) { | |
if (isset($result[$key])) { | |
$result[$key] = array_diff($value, $result[$key]); | |
} else { | |
$result[$key] = $value; |
NewerOlder