set password
export IPMI_PASSWORD=xxxxx
USAGE info:
id : name of the sensor for which threshold is to be set
threshold : which threshold to set
unr = upper non-recoverable
# syntax = docker/dockerfile:experimental | |
FROM ubuntu:18.04 as build | |
# This is phase1: the build phase | |
# where we build our project and output a binary | |
ENV DEBIAN_FRONTEND=noninteractive | |
RUN apt-get update && apt-get install -y \ | |
apt-transport-https \ |
{ compiler ? "ghc864" }: | |
let | |
# Disable tests for these packages | |
dontCheckPackages = [ | |
]; | |
# Jailbreak these packages | |
doJailbreakPackages = [ | |
]; |
import twitter | |
import os | |
CONSUMER_KEY = os.environ['CONSUMER_KEY'] | |
CONSUMER_SECRET = os.environ['CONSUMER_SECRET'] | |
ACCESS_TOKEN = os.environ['ACCESS_TOKEN'] | |
ACCESS_TOKEN_SECRET = os.environ['ACCESS_TOKEN_SECRET'] | |
LIST_ID = os.environ['TWITTER_LIST_ID'] |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: my-s3-static-svc | |
spec: | |
externalName: <MY_S3_BUCKET_NAME>.s3.<MY_S3_BUCKET_REGION>.amazonaws.com | |
type: ExternalName | |
ports: | |
- name: http | |
port: 80 |
resource "aws_vpc_endpoint" "s3" { | |
vpc_id = module.vpc.vpc_id | |
service_name = "com.amazonaws.${var.region}.s3" | |
vpc_endpoint_type = "Gateway" | |
route_table_ids = [module.public-gateway.route_table_id] | |
} | |
resource "aws_s3_bucket" "static" { | |
acl = "public-read" | |
bucket = "${var.name_prefix}-static" |
# Auto-screen invocation. see: http://taint.org/wk/RemoteLoginAutoScreen | |
# if we're coming from a remote SSH connection, in an interactive session | |
# then automatically put us into a screen(1) session. Only try once | |
# -- if $STARTED_SCREEN is set, don't try it again, to avoid looping | |
# if screen fails for some reason. | |
if [ "$PS1" != "" -a "${STARTED_SCREEN:-x}" = x -a "${SSH_TTY:-x}" != x ] | |
then | |
STARTED_SCREEN=1 ; export STARTED_SCREEN | |
screen -RR -S main || echo "Screen failed! continuing with normal bash startup" | |
fi |
#!/bin/bash | |
# Add docker group | |
groupadd docker --gid ${DOCKER_GROUP_ID:-129} | |
# Add local user | |
# Either use the LOCAL_USER_ID if passed in at runtime or | |
# fallback | |
# The user is added to the docker group to be able to start containers |
#!/run/current-system/sw/bin/bash | |
TEXTFILE_COLLECTOR_DIR="/opt/prometheus/textfilecollector" | |
FILE_DATA="${TEXTFILE_COLLECTOR_DIR}/aranet4-sensor-data.prom" | |
FILE_DATA_NEW="/tmp/aranet4-sensor-data-new" | |
SENSOR_MAC="xx:yy:xx:yy:xx:yy" | |
SENSOR_NAME="aranet4" | |
EXIT_CODE=1 | |
until [ ${EXIT_CODE} -eq 0 ]; do |
set password
export IPMI_PASSWORD=xxxxx
USAGE info:
id : name of the sensor for which threshold is to be set
threshold : which threshold to set
unr = upper non-recoverable
Jul 12 17:14:23 t142020 c9ycd2sglvjsxki79j5c9qsnphyb10kp-dropbox-start[492348]: Dropbox is the easiest way to share and store your files online. Want to learn more? Head to https://www.dropbox.com/ | |
Jul 12 17:14:23 t142020 c9ycd2sglvjsxki79j5c9qsnphyb10kp-dropbox-start[492348]: In order to use Dropbox, you must download the proprietary daemon. | |
Jul 12 17:14:35 t142020 c9ycd2sglvjsxki79j5c9qsnphyb10kp-dropbox-start[492348]: Note: python3-gpg (python3-gpgme for Ubuntu 16.10 and lower) is not installed, we will not be able to verify binary signatures. [y/n] | |
Jul 12 17:14:35 t142020 c9ycd2sglvjsxki79j5c9qsnphyb10kp-dropbox-start[492469]: dropbox: load fq extension '/home/deni/.dropbox-hm/.dropbox-dist/dropbox-lnx.x86_64-177.4.5399/cryptography.hazmat.bindings._openssl.abi3.so' | |
Jul 12 17:14:35 t142020 c9ycd2sglvjsxki79j5c9qsnphyb10kp-dropbox-start[492469]: dropbox: load fq extension '/home/deni/.dropbox-hm/.dropbox-dist/dropbox-lnx.x86_64-177.4.5399/cryptography.hazmat.bindings._padding.abi3.so' | |
Jul 12 17:14:35 t1 |