Skip to content

Instantly share code, notes, and snippets.

View florianrusch's full-sized avatar
💪
Happy to help out

Florian Rusch florianrusch

💪
Happy to help out
View GitHub Profile
@vicenteherrera
vicenteherrera / Kubernetes_RBAC_apiGroups_resources_verbs.md
Last active July 17, 2025 07:28
How to obtain all Kubernetes apigroups, resources and corresponding verbs available to set up RBAC

Kubernetes RBAC apiGroups, resources and verbs

List all RBAC verbs for resources

Start your Kubernetes cluster.

On one terminal window:

# Open connection from another terminal window
@acecconato
acecconato / FileUploader.php
Last active October 10, 2020 21:30
Symfony + EasyAdmin: File upload system
/**
Due to best practices, we need to create a new service which is used by the ImageListener.
Its role is to upload files and generate an unique filename.
NOTA:
The default $uploadPath is autowired by argument binding inside services.yaml
but in this case, we override it with the $path argument of the upload method.
*/
<?php
@mswell
mswell / config
Last active May 12, 2025 13:51
Terminator Dracula theme
[global_config]
window_state = maximise
handle_size = 0
title_hide_sizetext = True
title_transmit_fg_color = "#bd93f9"
title_inactive_fg_color = "#f8f8f2"
title_receive_bg_color = "#282a36"
title_transmit_bg_color = "#282a36"
title_receive_fg_color = "#8be9fd"
@mattd
mattd / gist:1006398
Created June 3, 2011 14:12
nginx try_files with a proxy_pass
server {
root /var/www/example.com/static;
server_name example.com;
access_log /var/log/nginx/example.com.access.log;
error_log /var/log/nginx/example.com.error.log;
try_files /maintenance.html @proxy;
location @proxy {
proxy_pass http://127.0.0.1:10001;