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/python3 | |
import datetime | |
import pytz | |
import json | |
import requests | |
from faker import Faker | |
fake = Faker() | |
def getEmployees(count: int) -> list: |
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
instance = "%HOST%" | |
max_procs = 8 # original value is 4 | |
admin_addr = "0.0.0.0:2004" | |
http_addr = "0.0.0.0:8081" | |
spool_dir = "/var/spool/%HOST%" | |
pid_file = "/home/relay/carbon-relay-ng.pid" | |
# one of critical error warning notice info debug | |
log_level = "info" | |
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 | |
# Get connected monitor | |
OUTPUT=$( xrandr --query | grep " connected" | cut -d" " -f1) | |
# Get resolution | |
MODE=$(xrandr --query | grep " connected" | cut -d" " -f1-4 | sed s/+0//g | awk '{print $4}') | |
# Set output and mode and enjoy | |
xrandr --output $OUTPUT --mode $MODE |