For some reason you need to set a password to use hdparm:
hdparm --user-master u --security-set-pass PASS /dev/sdxAnd then the actual command:
hdparm --user-master u --security-erase PASS /dev/sdx| const assert = require('assert'); | |
| class BaseIter { | |
| map(fn) { | |
| return new MapIter(this, fn); | |
| } | |
| filter(fn) { | |
| return new FilterIter(this, fn); | |
| } | |
| collect() { |
| import http from './http.mjs'; | |
| const createRecipe = http.createRecipe(); | |
| createRecipe.request({ | |
| name: 'Dhal', | |
| author: 'AGhost-7' | |
| }); | |
| if (createRecipe.loading) { |
For some reason you need to set a password to use hdparm:
hdparm --user-master u --security-set-pass PASS /dev/sdxAnd then the actual command:
hdparm --user-master u --security-erase PASS /dev/sdx| openapi: "3.0.0" | |
| info: | |
| title: Leaps of Sounds | |
| version: 2.0.0 | |
| paths: | |
| /scales: | |
| get: | |
| summary: List all scales | |
| parameters: | |
| - name: system |
| /* | |
| * Removes supplementary groups (e.g., sudo and docker) of the current process | |
| * then uses `exec` to make a different program take over the process. This | |
| * allows me to run certain programs (such as npm) with lowered permissions. | |
| * | |
| * Note that this requires the container option `--cap-add SETGID` to work. | |
| * It will fail silently and simply exec the program otherwise. | |
| * | |
| * For example: | |
| * alias npm='unpriviledged npm' |
| #include <stdlib.h> | |
| #include <stdint.h> | |
| #include <stddef.h> | |
| struct history_record { | |
| uint8_t line; | |
| uint8_t column; | |
| char * characters; | |
| }; |
| describe('delegate', () => { | |
| let lastArgs, delegated; | |
| before(() => { | |
| const handler = (args) => { | |
| lastArgs = args; | |
| return args.cmd === 'save' ? args.ent : []; | |
| }; | |
| seneca.add({ |
| syntax on | |
| set nocompatible autoindent wildmenu incsearch mouse=2 tabstop=2 |
| 'use strict' | |
| const _ = require('lodash') | |
| const teams = _.range(1, 20) | |
| const chunkSize = 5 | |
| const {groupings} = _(teams) | |
| .map((team) => ({ number: team, order: Math.random() })) | |
| .sortBy('order') |
Migrations are trees.
Migration #1:
create table user(
id text,
name text,
password bytea
);