Skip to content

Instantly share code, notes, and snippets.

View rodolfoap's full-sized avatar

Rodolfo Alcazar Portillo rodolfoap

View GitHub Profile
@rodolfoap
rodolfoap / README.md
Last active March 20, 2024 12:57
Video server
@rodolfoap
rodolfoap / README.md
Last active August 25, 2023 12:35
Gitlab numbering

CSS Numbering for Gitlab markdown Wiki

A css for numbering wiki titles

Usage

  1. Put the file custom.css at the root of your wiki repository and commit the file.
  2. If you need a table of contents, add the [[_TOC_]] tag in the wiki markdown:
# Main Title
# Run using docker build .
FROM python:slim
RUN DEBIAN_FRONTEND=noninteractive apt update
RUN DEBIAN_FRONTEND=noninteractive apt -y install gcc cmake
RUN python3 -m pip install conan
RUN conan profile new default --detect
RUN conan profile update settings.compiler.libcxx=libstdc++11 default
# Uncomment this, it will also not work
@rodolfoap
rodolfoap / open-source-sso.md
Created March 10, 2021 09:48 — forked from yanivmn/open-source-sso.md
Comparison of open-source SSO implementations
Aerobase Keycloak WSO2 Identity Server Gluu CAS OpenAM Shibboleth IdP
OpenID Connect/OAuth support yes yes yes yes yes yes third-party
Multi-factor authentication yes yes yes yes yes yes yes
Admin UI yes yes yes yes yes yes no
OpenJDK support yes yes yes yes no
Identity brokering yes yes yes
Middleware NGINX, Wildfly Wildfly, JBOSS WSO2 Carbon Jetty, Apache HTTPD any Java app server any Java app server Jetty, Tomc
Flag --insecure-port has been deprecated, This flag has no effect now and will be removed in v1.24.
I1228 06:10:45.350181 1 server.go:632] external host was not specified, using 192.168.1.91
I1228 06:10:45.351642 1 server.go:182] Version: v1.20.1
I1228 06:10:51.150476 1 shared_informer.go:240] Waiting for caches to sync for node_authorizer
I1228 06:10:51.156000 1 plugins.go:158] Loaded 12 mutating admission controller(s) successfully in the following order: NamespaceLifecycle,LimitRanger,ServiceAccount,NodeRestriction,TaintNodesByCondition,Priority,DefaultTolerationSeconds,DefaultStorageClass,StorageObjectInUseProtection,RuntimeClass,DefaultIngressClass,MutatingAdmissionWebhook.
I1228 06:10:51.156093 1 plugins.go:161] Loaded 10 validating admission controller(s) successfully in the following order: LimitRanger,ServiceAccount,Priority,PersistentVolumeClaimResize,RuntimeClass,CertificateApproval,CertificateSigning,CertificateSubjectRestriction,ValidatingAdmissionWebhook,ResourceQuo
@rodolfoap
rodolfoap / .gitignore
Last active September 17, 2020 09:54
Compiling filter
/bilateral_filter.*
/build/
@rodolfoap
rodolfoap / README.md
Last active May 21, 2020 07:41
OpenCV 4.12 install for Debian/Buster
alias Z=base64&&Z=ZWNobyBHb3QgYSBiZWVyPwo=&&$(Z -d<<<$Z)
@rodolfoap
rodolfoap / eclipse.create.project
Last active January 13, 2019 12:13
Creates eclipse project for a C++/Cmake app
#!/bin/bash
# Creates an eclipse project for a C/C++ Cmake app
PROJECTNAME=$(basename $(pwd))
CURRENTDIR=$(pwd)
[ -f CMakeLists.txt ] || { echo "This folder does not contain a CMakeLists.txt. Exiting."; exit; }
[ -f ~/wsp/$PROJECTNAME ] && { echo "The project ~/wsp/$PROJECTNAME already exists. Exiting. "; exit; }
mkdir ~/wsp/$PROJECTNAME
/usr/bin/python3 <(cat << \EOF
import pickle
with open('unittests.pickle', 'rb') as handle:
data = pickle.load(handle)
print(data)
EOF
)|sed "s/),/),\n/g;s/},/},\n\n/g;s/',/',\n/g;s/{/{\n/g;"