Skip to content

Instantly share code, notes, and snippets.

@sque
sque / gist:25b3cf5d7987495acb71
Last active August 29, 2015 14:17
example static-stub config
zone "her.wn" IN {
type static-stub;
server-addresses {
10.176.7.1;
10.176.3.1;
10.176.33.1;
};
zone-statistics yes;
};
@sque
sque / gpt.py
Created May 17, 2014 20:58
View & Modify GPT tables
#!/usr/bin/env python
'''GUID Partition Table Handling routines
GUID Partition Table is a new partitioning standard that was introduced
by Intel with the proposal of the EFI. GPT is designed to overcome the
limitations of the ancient MBR that day by day are facing the daylight.
This module was designed to provide an API to direct access GPT structure.
It can be used to create partitioning programmas or disaster recovery
ones.
@sque
sque / gopro_sequences.py
Last active August 29, 2015 14:01
Script to manipulate image sequences generated by GoPRO camera.
#!/usr/bin/env python
"""
Script to manipulate image sequences generated by GoPRO camera.
@license GNU General Public License <https://gnu.org/licenses/gpl.html>
"""
import sys
import os
import re