View replace_disk.py
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 python3 | |
import argparse | |
import sys | |
from middlewared.client import Client | |
def main(): | |
parser = argparse.ArgumentParser() | |
parser.add_argument('pool') |
View gist:ce1d75829fa441cb4418ced4eb0dd9e6
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
### Keybase proof | |
I hereby claim: | |
* I am william-gr on github. | |
* I am williamgr (https://keybase.io/williamgr) on keybase. | |
* I have a public key ASCwriWyONvsUdNCDl2ESaPSFbST0DYovyNfF0yjfBJ2KAo | |
To claim this, I am signing this object: |
View example.html
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
{% load cms_tags sekizai_tags %} | |
<!doctype html> | |
<head> | |
<title>{{ request.current_page.get_title }}</title> | |
{% render_block "css" %} | |
</head> | |
<body> | |
{% cms_toolbar %} | |
{% placeholder "main" %} |