Вольный перевод Postmortem Template от Hosted Graphite.
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
| Some Jenkinsfile examples |
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 debian:stretch | |
| CMD ["apt-get update && apt-get install -y puppet nano"] | |
| CMD tail -f /dev/null |
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
| version: '2.1' | |
| networks: | |
| monitor-net: | |
| driver: bridge | |
| volumes: | |
| prometheus_data: {} | |
| grafana_data: {} |
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
| version: '2' | |
| services: | |
| pihole: | |
| image: pihole/pihole:latest | |
| container_name: pihole | |
| volumes: | |
| - /etc/localtime:/etc/localtime:ro | |
| - /dev/rtc:/dev/rtc:ro | |
| dns: |
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
| # hiera | |
| uptream: | |
| 'abc_core': | |
| 'ips': | |
| - '1.2.3.4' | |
| - '1.2.3.5' | |
| 'port': 8080 | |
| 'abc_cp_core': | |
| 'ips': | |
| - '1.2.3.4' |
When setting these options consider the following:
- How long is your average request?
- What is the maximum number of simultaneous visitors the site(s) get?
- How much memory on average does each child process consume?
sudo grep max_children /var/log/php?.?-fpm.log.1 /var/log/php?.?-fpm.log
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
| tap "armosec/kubescape" | |
| tap "danvergara/tools" | |
| tap "env0/terratag" | |
| tap "fluxcd/tap" | |
| tap "github/gh" | |
| tap "go-task/tap" | |
| tap "goodwithtech/r" | |
| tap "hashicorp/tap" | |
| tap "helm/tap" | |
| tap "homebrew/bundle" |
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
| #EXTM3U | |
| #PLAYLIST:Playlist Name | |
| #EXTINF:-1,1970 | |
| http://air.radiorecord.ru:805/1970_64 | |
| #EXTINF:-1,1980 | |
| http://air.radiorecord.ru:805/1980_64 | |
| #EXTINF:-1,2step | |
| http://air.radiorecord.ru:805/2step_64 | |
| #EXTINF:-1,ansh | |
| http://air.radiorecord.ru:805/ansh_64 |
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
| Download the RKN list from https://github.com/zapret-info/z-i, massage it into | |
| a Mikrotik script that manages a firewall address list, and put it up on a web | |
| server. Note well that the list is gigantic---more than 80,000 entries as of | |
| 2018-04-28---so be sure to check if your router can handle it in advance (for | |
| example, hAP Lite, with its measly 32M of memory, can’t). | |
| On the router side, do something like | |
| /tool fetch url="https://sheaf.site/rkn.rsc" dst-path=rkn.rsc | |
| :import rkn.src |