I hereby claim:
- I am phretor on github.
- I am federicomaggi (https://keybase.io/federicomaggi) on keybase.
- I have a public key whose fingerprint is 1F80 C968 F718 D6A1 BC7B 30EA BA2E DAFB 4F24 86BC
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I've recently discovered duplicacy, and I've decided to use it with an B2 backend to keep a mirrored offsite replication of the main directories of my home NAS.
I use the periodic
system, which offers a nice abstraction over crontab
for periodic tasks, and duplicacy to perform the actual backup. To setup duplicacy, I've followed the guide. In simple words, for each directory that I want to replicate, I setup duplicacy in it, which in turns means that you'll have to have a .duplicacy
subdirectory in it.
First off, I've added the following to /etc/defaults/periodic.conf
. The prefix, 666, is on purpose.
import time | |
import io | |
import csv | |
import sys | |
from datetime import datetime | |
csv.field_size_limit(sys.maxsize) | |
print("""<!DOCTYPE html> | |
<html> |
UPDATE: This is no longer maintained, please head over to https://github.com/eyepyramid/eyepyramid.
def _dig(p, max_depth, depth=1): | |
for sp in p.iterdir(): | |
if sp.is_file(): | |
yield sp | |
elif sp.is_dir() and depth <= max_depth: | |
depth += 1 | |
for ssp in _dig(sp, max_depth, depth): | |
yield ssp |
/m nm nmbbvvc ,cxcc | |
rnf vc .cx.x /x/ /,,,,,?///////////////////////////////////////////////////////////////////////////////////// |
I hereby claim:
To claim this, I am signing this object:
#! /usr/bin/env python | |
import sys | |
import argparse | |
import subprocess | |
import shlex | |
def main(): | |
parser = argparse.ArgumentParser( | |
description='Takes a PDF and attempts to embed the fonts.') |
package DetailsPanel.MigrationChart | |
{ | |
import fl.transitions.Tween; | |
import fl.transitions.TweenEvent; | |
import fl.transitions.easing.*; | |
import flash.display.Sprite; | |
import flash.events.Event; | |
public class MigrationEdge extends Sprite |
/*- | |
* Copyright (c) 2008 | |
* Federico Maggi <fmaggi@elet.polimi.it>, Politecnico di Milano. All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions | |
* are met: | |
* 1. Redistributions of source code must retain the above copyright | |
* notice, this list of conditions and the following disclaimer. | |
* 2. Redistributions in binary form must reproduce the above copyright |