Skip to content

Instantly share code, notes, and snippets.

View KaanErgun's full-sized avatar
🏠
Working from home

Kaan Ergün KaanErgun

🏠
Working from home
View GitHub Profile
@KaanErgun
KaanErgun / virtual_screen_setup.sh
Created July 16, 2024 11:05
Virtual screen setup for server machines
#!/bin/bash
# Update package list
sudo apt update
# Install Xorg Dummy Video Driver
sudo apt install -y xserver-xorg-video-dummy
# Create xorg.conf file with necessary configuration
sudo bash -c 'cat <<EOL > /etc/X11/xorg.conf
@KaanErgun
KaanErgun / cyberpunk.json
Created July 11, 2024 20:29
# Custom Mattermost Theme This JSON configuration defines a custom theme for Mattermost using specific color codes provided. The theme incorporates a dark background with vibrant accent colors for various elements, enhancing the user interface with a modern and visually appealing design. ## Colors Used - Primary Background: #100d23 - Accent Colo…
{
"awayIndicator": "#ffb86c",
"buttonBg": "#ff79c6",
"buttonColor": "#282a36",
"centerChannelBg": "#100d23",
"centerChannelColor": "#00FF9C",
"codeTheme": "monokai",
"dndIndicator": "#f74343",
"errorTextColor": "#ff5555",
"linkColor": "#8be9fd",
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2024 CVAT.ai Corporation
#
# SPDX-License-Identifier: MIT
x-backend-env: &backend-env
CVAT_POSTGRES_HOST: cvat_db
CVAT_REDIS_INMEM_HOST: cvat_redis_inmem
CVAT_REDIS_INMEM_PORT: 6379
CVAT_REDIS_ONDISK_HOST: cvat_redis_ondisk
import os
def create_directory_structure(project_name):
# Base directories
base_dirs = [
'docs',
'hdl/src',
'hdl/tb',
'ipcores/src',
'ipcores/tb',