Skip to content

Instantly share code, notes, and snippets.

View balioune's full-sized avatar

Alioune BA balioune

View GitHub Profile
@balioune
balioune / iptnetflow.json
Created November 15, 2023 10:09 — forked from shurup/iptnetflow.json
Grafana dashboard for Kubernetes NetFlow
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
Step 1: Create Volume in OpenStack (Can be completed in GUI)
CLI:
cinder create SIZE_IN_GB --display-name NAME
cinder create 10 --display-name mystorage
cinder list
Step 2: Attach volume to Openstack instance (Can be completed in GUI)
CLI:
nova volume-attach INSTANCE_ID VOLUME_ID auto
nova volume-attach myhost f14e47ab-18f6-4f85-bd17-a3f63a38d609 auto
''' Code Inspired by http://github.com/tito 's NFC gist
This is a complete implementation allowing for NFC tag or p2p detection
Allows you to create any type of NdefRecord using functions like
`create_RTDURI(uri)`
This is the Android implementatoin of NFC Scanning using the
built in NFC adapter of some android phones.
'''
from kivy.app import App
from kivy.clock import Clock
@balioune
balioune / it-ebooks.md
Last active February 9, 2021 15:51 — forked from baiwfg2/it-ebooks.md
Download ebooks as you want
@balioune
balioune / user_variables.yml
Created March 19, 2018 22:18 — forked from logan2211/user_variables.yml
multi-region OSA POC
service_region: regionTwo
master_region_keystone_address: "10.53.3.2"
keystone_service_region: regionOne
keystone_service_adminuri: "{{ keystone_service_adminuri_proto }}://{{ master_region_keystone_address }}:{{ keystone_admin_port }}"
keystone_service_internaluri: "{{ keystone_service_internaluri_proto }}://{{ master_region_keystone_address }}:{{ keystone_service_port }}"
# Make sure your keystone_auth_admin_password in user_secrets for the second region matches the password from regionOne
# These settings avoid username collisions when using the same keystone
# deployment across multiple regions.
@balioune
balioune / gist:740864359941cb2a16b3d5560435d450
Created June 6, 2017 09:53 — forked from paulmaunders/gist:3e2cbe02c07b6393f7ef0781eed9f97b
Installing VirtualBox and Vagrant on CentOS 7
# Some notes from installing VirtualBox on CentOS 7.
# These exact steps haven't been tested, as I ran them in a different order when manually installing.
# Install dependencies
yum -y install gcc make patch dkms qt libgomp
yum -y install kernel-headers kernel-devel fontforge binutils glibc-headers glibc-devel
# Install VirtualBox
cd /etc/yum.repos.d
wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo