Skip to content

Instantly share code, notes, and snippets.

View Alfano93's full-sized avatar
🏠
Working from home

David Alfano Alfano93

🏠
Working from home
View GitHub Profile
[global]
readwrite=randrw
ramp_time=60s
runtime=300s
filename=/mnt/fio_test/fio.out
filesize=20G
direct=1
[0_100_test]
name=0_100_test
# Installing Manila backed by CephFS
This document assumes that you have already installed Ceph and Openstack
## Setting up Keepalived
### Install Keepalived and setup its config
These commands are executed from the *ceph deployment node*
@Alfano93
Alfano93 / board.py
Created September 9, 2015 14:14
Code to solve the Cracker Barrel Peg Board game with BFS
import copy
edges15 = ((-1,-1,-1,-1,2,3),(-1,1,-1,3,4,5),(1,-1,2,-1,5,6),
(-1,2,-1,5,7,8),(2,3,4,6,8,9),(3,-1,5,-1,9,10),
(-1,4,-1,8,11,12),(4,5,7,9,12,13),(5,6,8,10,13,14),
(6,-1,9,-1,14,15),(-1,7,-1,12,-1,-1),(7,8,11,13,-1,-1),
(8,9,12,14,-1,-1),(9,10,13,15,-1,-1),(10,-1,14,-1,-1,-1))
edges21 = ((-1,-1,-1,-1,2,3),(-1,1,-1,3,4,5),(1,-1,2,-1,5,6),
(-1,2,-1,5,7,8),(2,3,4,6,8,9),(3,-1,5,-1,9,10),