I hereby claim:
- I am gabriel-samfira on github.
- I am gsamfira (https://keybase.io/gsamfira) on keybase.
- I have a public key ASDmtXlJLxsYwtS2Ckk_ssBTqhzOfTvPTvzeAaT34sqNJAo
To claim this, I am signing this object:
# Copyright 2017 Cloudbase Solutions SRL | |
# All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); you may | |
# not use this file except in compliance with the License. You may obtain | |
# a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
package main | |
import ( | |
"crypto/ecdsa" | |
"crypto/rand" | |
"crypto/rsa" | |
"crypto/x509" | |
"crypto/x509/pkix" | |
"encoding/pem" | |
"flag" |
#!/usr/bin/env python3 | |
import requests | |
import digitalocean | |
import sys | |
TOKEN="your secret goes gere" | |
DOMAIN="example.com" | |
RECORD="my-record" |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"crypto/ecdsa" | |
"crypto/elliptic" | |
"crypto/rand" | |
"crypto/x509" | |
"crypto/x509/pkix" | |
"encoding/asn1" | |
"encoding/pem" |
package main | |
import ( | |
"flag" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"os" | |
"path/filepath" | |
"strings" |
Param( | |
[parameter(Mandatory=$true)] | |
[string]$SSHPublicKey | |
) | |
$ErrorActionPreference = "Stop" | |
function Get-SSHKeyFromGithub { | |
Param( |
# Prepare windows environment for building and running containerd tests | |
$PACKAGES= @{ mingw = "12.2.0"; git = ""; golang = ""; make = ""} | |
Write-Host "Downloading chocolatey package" | |
curl.exe -L "https://packages.chocolatey.org/chocolatey.0.10.15.nupkg" -o 'c:\choco.zip' | |
Expand-Archive "c:\choco.zip" -DestinationPath "c:\choco" | |
Write-Host "Installing choco" | |
& "c:\choco\tools\chocolateyInstall.ps1" |
$ErrorActionPreference="Stop" | |
# Considerable performance boost withour realtime monitoring. | |
# This is usually okay on temporary test systems. Don't do this | |
# on your own machine. | |
Set-MpPreference -DisableRealtimeMonitoring:$true | |
wget -UseBasicParsing -OutFile "$HOME\prepare_env_windows.ps1" -Uri https://gist.githubusercontent.com/gabriel-samfira/c80ccb1d79be737e5e61214181e48ad8/raw/4aa3d3efe643f70c9b8bcd139b3afca798900262/prepare_env_windows.ps1 | |
& "$HOME\prepare_env_windows.ps1" |
The scripts in this gist are mostly taken from the containerd repo with some small changes. Feel free to inspect them and see what they do.
# If the feature is not already installed, this will install it
# and reboot your machine.
Install-WindowsFeature -Name Containers -Restart