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
anysphere.cursorpyright | |
asciidoctor.asciidoctor-vscode | |
benjpas.close-all | |
charliermarsh.ruff | |
esbenp.prettier-vscode | |
github.vscode-github-actions | |
golang.go | |
grafana.grafana-alloy | |
mechatroner.rainbow-csv | |
mhutchie.git-graph |
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 com.github.benmanes.caffeine.cache.Caffeine; | |
import com.github.benmanes.caffeine.cache.LoadingCache; | |
import io.micrometer.core.instrument.Counter; | |
import io.micrometer.core.instrument.MeterRegistry; | |
import io.micrometer.core.instrument.Tag; | |
import io.micrometer.core.instrument.binder.cache.CaffeineCacheMetrics; | |
import java.time.Duration; | |
import org.springframework.stereotype.Component; | |
import static java.util.Arrays.asList; |
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
package main | |
import ( | |
"context" | |
"encoding/json" | |
"encoding/xml" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"os" |
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
package com.github.hu553in.jdbc_version_checker | |
import org.springframework.beans.factory.annotation.Autowired | |
import org.springframework.stereotype.Repository | |
import javax.sql.DataSource | |
@Repository | |
class JdbcVersionChecker { | |
@Autowired |
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
#!/bin/bash | |
# This script checks if the given application is already running by looking for its window. | |
# If it is running (even if minimized), it brings that window to the front. | |
# Otherwise, it launches a new instance of the application. | |
# | |
# Requirements: | |
# wmctrl (install via: sudo apt-get install wmctrl) | |
# | |
# Customize these variables to match your application. |
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
variables: | |
APP_NAME: AlarmClock | |
name: CI | |
on: | |
push: | |
branches: | |
- main | |
tags: |
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
feature/example1 | |
bugfix/example2 |
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
hp() { | |
~/headphones.sh | |
} |
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
<!DOCTYPE html> | |
<html lang="en" style="height: 100%; display: flex; flex-direction: column; justify-content: center"> | |
<head> | |
<meta http-equiv="refresh" content="0; url=https://example.com/" /> | |
</head> | |
<body style="margin: 0"> | |
<p style="text-align: center"> | |
Скоро вы будете перенаправлены на сайт.<br /> |
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
#!/bin/bash | |
# this file need to be stored in /etc/profile.d | |
# variables below must be initialized in order to make script working | |
CHAT_ID="" | |
BOT_TOKEN="" | |
DATE_EXEC="$(date "+%d %b %Y %H:%M")" |
NewerOlder