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
# This will starts only core of Jaeger, also you need to start an agent (on the same or another server): | |
# https://gist.github.com/medzhidov/4b5d214ddad08804d7810a4aad79520e | |
version: "3" | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.5 | |
networks: | |
- elastic-jaeger |
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
# This will starts only agent, to start core of Jaeger you need also this: | |
# https://gist.github.com/medzhidov/668c1250ccb8b5f5f1d53e98da420465 | |
version: "3" | |
services: | |
jaeger-agent: | |
image: jaegertracing/jaeger-agent | |
# replace JAEGER-HOST with host of your started jaeger | |
command: ["--reporter.grpc.host-port=JAEGER-HOST:14250", "--log-level=info"] |
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 | |
function restartVideo() | |
{ | |
ls /home/ilya/Videos/wallpapers |sort -R |tail -1 |while read file; do | |
# Replace "/home/ilya/Videos/wallpapers/" with your path to folder with videos | |
xwinwrap -fs -fdt -ni -b -nf -- mpv -wid %WID --no-audio --loop "/home/ilya/Videos/wallpapers/$file" > /dev/null 2>&1 & | |
sleep 1 | |
echo $(pgrep -f -P "$!" | grep -o '[[:digit:]]*') | |
done |
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
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": { | |
"type": "datasource", | |
"uid": "grafana" | |
}, | |
"enable": true, |
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
RewriteCond %{HTTP_HOST} ^www\.(.*) [NC] | |
RewriteRule ^(.*)$ http://%1/$1 [R=301,L] | |
RewriteCond %{HTTPS} !=on | |
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] |
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
'use strict'; | |
// Modules | |
var webpack = require('webpack'); | |
var autoprefixer = require('autoprefixer'); | |
var HtmlWebpackPlugin = require('html-webpack-plugin'); | |
var ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
var CopyWebpackPlugin = require('copy-webpack-plugin'); | |
/** |