--------+------------------------------
5450.00| X
5400.00| XO
5350.00| X XO X
5300.00| X XOXO X <==
5250.00| XOXOXO X
5200.00| XOXOXO X
5150.00| XOXO OX X
5100.00| XOX OXOX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import json | |
from datetime import datetime | |
import urllib | |
class MyOpener(urllib.FancyURLopener): | |
version = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/56.0.2924.76 Chrome/56.0.2924.76 Safari/537.36' | |
myopener = MyOpener() | |
volabit = myopener.open('https://www.volabit.com/api/v1/tickers') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<HMTL> | |
<HEAD> | |
<TITLE>404 Error</TITLE> | |
</HEAD> | |
<BODY BGCOLOR="#0000C0" TEXT="#C0C0C0"> | |
<TABLE BORDER="0" COLS="1" BGCOLOR="#0000C0" CELLSPACING="1" CELLPADDING="1" WIDTH="100%" HEIGHT="100%"> | |
<TR><TD> | |
<CENTER> |
I hereby claim:
- I am yield65 on github.
- I am yield (https://keybase.io/yield) on keybase.
- I have a public key whose fingerprint is 0E5A 2F11 8C72 EAC8 703B 71AB E114 D515 7A91 743A
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sed 's^\[.*\]^^g' error.log | sed 's^\, referer: [^\n]*^^g' | sort | uniq -c | sort -n |
TL;DR -- Use DAR for compressed (bzip2, no xz), encrypted (AES), multi-volume, differential backup.
Differential backup = always diff of the base (only one layer)
Incremental backup = diff of diff of base (sort of layering, u need to peel off layer-by-layer while restoring backups)
Differential backups are easier to manage than incremental: only restore the latest full backup then the latest differential backup. With incrementals, you need to restore all of them in sequence after the last full.
Duplicity offers only incremental backup :(
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from bs4 import BeautifulSoup | |
import argparse | |
import html2text | |
import sys | |
import codecs | |
import re | |
import os | |
import time | |
from datetime import datetime |
NewerOlder