slmgr /ipk your_license_key
Replace your_license_key
with following volumn license keys according to Windows Edition:
import datetime | |
def epoch2date(e): | |
return datetime.datetime.fromtimestamp(int(e)/1000).strftime('%Y/%m/%d %H:%M:%S') | |
file1 = open('logins.csv', 'r') | |
lines = file1.readlines() | |
if lines: | |
print('"url","username","password","formActionOrigin","guid","timeCreated","timeLastUsed","timePasswordChanged"') | |
for line in lines[1:]: |
#!/bin/bash | |
## | |
# | |
# update-zfs.sh | |
# | |
# simple ZFS update script for arch linux | |
# | |
# will update zfs-linux and zfs-utils to their latest versions in the arch-zfs repo | |
# will retrieve mathching kernel packages from the arch linux package archive, even |
#!/bin/sh | |
# Create a docker-compose file extending all directories not beginning with _ | |
FILE=docker-compose.yml | |
echo 'version: "3"' > ${FILE} | |
echo 'services:' >> ${FILE} | |
for ITEM in *; do | |
if [ -d "${ITEM}" ]; then |
version: '3.8' | |
services: | |
influxdb: | |
image: influxdb:1.8 | |
ports: | |
- 8086:8086 | |
volumes: | |
- ./influxdb/data:/var/lib/influxdb | |
environment: | |
TZ: Europe/Madrid |
<!DOCTYPE html | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>ASD</title> | |
<script> | |
async function test() { | |
let url = 'http://jenkins/8080/job/dummy_job/buildWithParameters'; | |
let username = 'XXXXXX' | |
let token = 'XXXXXX' |
package main | |
import ( | |
"os" | |
"fmt" | |
"time" | |
"io" | |
"io/ioutil" | |
"sync" | |
"log" |
FROM alpine:3.15 AS builder | |
COPY . /opt/carbon-c-relay-build | |
WORKDIR /opt/carbon-c-relay-build | |
RUN \ | |
apk add --no-cache git=2.34.2-r0 bc=1.07.1-r1 build-base=0.5-r2 curl=7.80.0-r0 automake=1.16.4-r1 autoconf=2.71-r0 libtool=2.4.6-r7 && \ | |
./configure && make | |
FROM alpine:3.15 |
# Sourced from https://github.com/rvernica/docker-library, thanks! | |
FROM alpine:3.5 | |
RUN apk add --update-cache \ | |
ca-certificates \ | |
libffi-dev \ | |
py-cairo \ | |
py-pip \ | |
py-twisted \ | |
py-psycopg2 \ |
# Links: | |
# https://hub.docker.com/r/graphiteapp/graphite-statsd/ | |
# https://github.com/kiwigrid/helm-charts/blob/master/charts/graphite/values.yaml | |
# https://github.com/grobian/carbon-c-relay/blob/master/Dockerfile | |
# | |
# Usage: | |
# git clone https://github.com/grobian/carbon-c-relay.git | |
# docker-compose up -d | |
# | |
# Test: |