Skip to content

Instantly share code, notes, and snippets.

View odra's full-sized avatar
💻

odra odra

💻
  • São Paulo, Brazil
View GitHub Profile
@mitsudome-r
mitsudome-r / ces2025_demo_old.md
Last active December 5, 2024 18:27
Instructions for TIER IV CES2025 Demo on Anvil

NEW VERSION IS AVIALABLE HERE

Open AD Kit CES 2025 Demo Instructions (OLD)

Preparation

Git Install

sudo apt update
@ekreutz
ekreutz / ansible_variable_precedence.md
Last active February 3, 2025 10:55
Ansible variable precedence (order, hierarchy)
@wei-lee
wei-lee / buildconfig.json
Created May 18, 2017 17:04
BuildConfig for Android apps on openshift
{
"kind": "BuildConfig",
"apiVersion": "v1",
"metadata": {
"name": "sample-android"
},
"spec": {
"source": {
"git": {
"uri": "https://github.com/maleck13/blank-android-gradle.git"
@fntlnz
fntlnz / self-signed-certificate-with-custom-ca.md
Last active April 29, 2025 08:58
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
@mozillazg
mozillazg / supervisord.service
Last active March 16, 2025 07:43 — forked from tonyseek/supervisord.service
install and configure supervisord on centos 7.
[Unit]
Description=supervisord - Supervisor process control system for UNIX
Documentation=http://supervisord.org
After=network.target
[Service]
Type=forking
ExecStart=/bin/supervisord -c /etc/supervisord/supervisord.conf
ExecReload=/bin/supervisorctl reload
ExecStop=/bin/supervisorctl shutdown
@odra
odra / setup-cython.py
Last active September 3, 2015 13:57
cython setup.py file to compile packages
# -*- coding: utf-8 -*-
#source: https://github.com/cython/cython/wiki/PackageHierarchy
import sys, os
from distutils.core import setup, Extension
from Cython.Distutils import build_ext
package_name = 'gd'
package_dir = 'gd'
@soarez
soarez / ca.md
Last active April 24, 2025 12:51
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.