When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}| FROM adminer:4.7.1 | |
| # WATCH OUT WHEN UPGRADING, THE SED BELOW MIGHT STOP WORKING | |
| MAINTAINER marek@cilf.cz | |
| USER root | |
| RUN apk add autoconf gcc g++ make libffi-dev openssl-dev | |
| RUN pecl install mongodb | |
| RUN echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/docker-php-ext-mongodb.ini |
| const program = require('commander') | |
| const fs = require('fs') | |
| async function doSomething(arg) { return arg } | |
| async function main() { | |
| const event = JSON.parse(fs.readFileSync('/github/workflow/event.json', 'utf8')) | |
| const firstArg = program.firstArg | |
| resource "aws_ami_copy" "ubuntu-18_04-encrypted" { | |
| name = "${data.aws_ami.ubuntu-18_04.name}-encrypted" | |
| description = "${data.aws_ami.ubuntu-18_04.description} (encrypted)" | |
| source_ami_id = "${data.aws_ami.ubuntu-18_04.id}" | |
| source_ami_region = "${var.region}" | |
| encrypted = true | |
| tags { | |
| ImageType = "encrypted-ubuntu-18_04" | |
| } |
To set up openra on AWS EC2
Disclaimer: This is not the best architected solution, so no guarantees on up-time
PreReqs:
Setting up the EC2 Server:
wpasupplicantsudo nmcli radio wifi onsudo iwconfigsudo iwlist wlp3s0 scannetplan by dropping a file called 01-netcfg.yaml into /etc/netplan/ or edit existing file there. See example below.netplan try, netplan generate, netplan apply.| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Example", | |
| "type": "node", | |
| "request": "launch", | |
| "runtimeExecutable": "node", | |
| "runtimeArgs": ["--nolazy", "-r", "ts-node/register/transpile-only"], |
The proposal you’re about to read is not just a proposal. We have a working implementation of almost everything we discussed here. We encourage you to checkout and build our branch: our fork, with the relevant branch selected. Building and using the implementation will give you a better understanding of what using it as a developer is like.
Our implementation ended up differing from the proposal on some minor points. As our last action item before making a PR, we’re writing documentation on what we did. While I loathe pointing to tests in lieu of documentation, they will be helpful until we complete writing docs: the unit tests.
This repo also contains a bundled version of npm that has a new command, asset. You can read the documentation for and goals of that comma
| <div className='delete-button' onClick={() => { if (window.confirm('Are you sure you wish to delete this item?')) this.onCancel(item) } } /> |