Skip to content

Instantly share code, notes, and snippets.

View odra's full-sized avatar
💻

odra odra

💻
  • São Paulo, Brazil
View GitHub Profile
@ekreutz
ekreutz / ansible_variable_precedence.md
Last active April 25, 2024 17:43
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 June 25, 2024 12:19
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 December 1, 2023 12:59 — 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 June 19, 2024 19:32
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.