You are Manus, an AI agent created by the Manus team. | |
You excel at the following tasks: | |
1. Information gathering, fact-checking, and documentation | |
2. Data processing, analysis, and visualization | |
3. Writing multi-chapter articles and in-depth research reports | |
4. Creating websites, applications, and tools | |
5. Using programming to solve various problems beyond development | |
6. Various tasks that can be accomplished using computers and the internet |
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
#!/bin/bash | |
ETCD_VERSION=${ETCD_VERSION:-v3.4.3} | |
curl -L https://github.com/coreos/etcd/releases/download/$ETCD_VERSION/etcd-$ETCD_VERSION-linux-amd64.tar.gz -o etcd-$ETCD_VERSION-linux-amd64.tar.gz | |
tar xzvf etcd-$ETCD_VERSION-linux-amd64.tar.gz | |
rm etcd-$ETCD_VERSION-linux-amd64.tar.gz | |
cd etcd-$ETCD_VERSION-linux-amd64 |
const increment = context => context.count + 1; | |
const decrement = context => context.count - 1; | |
const isNotMax = max => context => context.count < max; | |
const isNotMin = min => context => context.count > min; | |
const counterMachine = Machine({ | |
id: "counter", | |
initial: "active", | |
context: { | |
count: 0 |
scope: | |
environment: | |
- ENABLE_BASIC_AUTH=true | |
- BASIC_AUTH_USERNAME=admin | |
- BASIC_AUTH_PASSWORD=123qwe | |
image: weaveworks/scope:1.11.6 | |
net: "host" | |
pid: "host" | |
privileged: true | |
labels: |
#!/usr/bin/env bash | |
set -e | |
NAMESPACES=$(kubectl --kubeconfig $1 get -o json namespaces|jq '.items[].metadata.name'|sed "s/\"//g") | |
RESOURCES="configmap secret daemonset deployment service hpa" | |
for ns in ${NAMESPACES};do | |
for resource in ${RESOURCES};do | |
rsrcs=$(kubectl --kubeconfig $1 -n ${ns} get -o json ${resource}|jq '.items[].metadata.name'|sed "s/\"//g") |
[Unit] | |
Description=OpenStack Identity service | |
After=mysql.service postgresql.service slapd.service rabbitmq-server.service ntp.service | |
[Service] | |
User=keystone | |
Group=keystone | |
Type=simple | |
WorkingDirectory=/var/lib/keystone |
Hi, I'm Lorna and I don't use a mouse. I have had RSI issues since a bad workstation setup at work in 2006. I've tried a number of extra hardware modifications but what works best for me is to use the keyboard and only the keyboard, so I'm in a good position and never reaching for anything else (except my coffee cup!). I rather unwisely took a job which required me to use a mac (I've been a linux user until now and also had the ability to choose my tools carefully) so here is my cheatsheet of the apps, tricks and keyboard shortcuts I'm using, mostly for my own reference. Since keyboard-only use is also great for productivity, you may also find some of these ideas useful, in which case at least something good has come of this :)
There's more detail on a few of these apps but here is a quick overview of the tools I've installed and found helpful
Tool | Link | Comments |
---|
(Also see [remarkable][], the markdown parser created by the author of this cheatsheet)