This is a modified version of Installing Arch Linux on an LUKS Encrypted root and booting from UEFI.
This file contains hidden or 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
$(function () { | |
// Get the template HTML and remove it from the doumenthe template HTML and remove it from the doument | |
var previewNode = document.querySelector("#referenceTemplate"); | |
previewNode.id = ""; | |
var previewTemplate = previewNode.parentNode.innerHTML; | |
previewNode.parentNode.removeChild(previewNode); | |
Dropzone.autoDiscover = false; | |
var myDropzone = new Dropzone(".uploadReference", {// Make the whole body a dropzone | |
url: "ajax/upload-file.php", // Set the url |
- Start with gentoo-nofb to make the window readable on a VM with a lower resolution host.
- On VM network just works. Will need to deal with wireless on real install.
- Follow instructions for default partition layout on handbook, use GPT.
- Switch to dm-crypt instructions for creating fileystems.
- `# cryptsetup -s 512 luksFormat /dev/sda4
- cryptsetup is already available on minimal image, no need to emerge it.
- Use ext2 for boot partition, follow swap instructions in handbook.
This file contains hidden or 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
"""This is free and unencumbered software released into the public domain. | |
Anyone is free to copy, modify, publish, use, compile, sell, or | |
distribute this software, either in source code form or as a compiled | |
binary, for any purpose, commercial or non-commercial, and by any | |
means. | |
In jurisdictions that recognize copyright laws, the author or authors | |
of this software dedicate any and all copyright interest in the | |
software to the public domain. We make this dedication for the benefit |
The AWS Auto Scaling Goup, configured with a customised Cloud-Init file, sends a notification to an SNS Topic, which in turn passes it onto an SQS queue that the Salt Master is subscribed to. A Reactor watches for the auto scaling events and pre-approves the new minion based on its Auto Scaling group name and instance ID.
This file contains hidden or 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
import re | |
from pyftpdlib.authorizers import DummyAuthorizer | |
from pyftpdlib.handlers import FTPHandler | |
from pyftpdlib.servers import FTPServer | |
import pytest | |
@pytest.yield_fixture | |
def ftp_server(tmpdir, request): | |
authorizer = DummyAuthorizer() |
This file contains hidden or 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
""" | |
Slack coverage.py notifier. | |
Stewart Park <[email protected]> | |
It reports test coverage to a Slack channel as a Jenkins bot. | |
Add this as a post-build/build step once coverage.py generates the html report. | |
Once everything is properly set up, you can add a badge on your README like below: | |
[](http://<jenkins-host>/job/<job-name>/coveragepy/) |
This file contains hidden or 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
import bottle | |
from beaker.middleware import SessionMiddleware | |
session_opts = { | |
'session.type': 'memory', | |
'session.cookie_expires': 300, | |
'session.auto': True | |
} | |
app = SessionMiddleware(bottle.app(), session_opts) |