Table of Contents
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
## Launch the latest daily Ubuntu in AWS, optionally with user-data | |
## provided in a file and tagged with a name | |
function usage() { | |
echo "$0: [-r region] [-V ubuntu_version] [-i instance_type] \\" | |
echo " [-u user_data_file] [-n instance_name] [-d disk_size] \\" | |
echo " [-D] to disable termination via the API" | |
echo " [-I] iam instance profile [-a AMI ID]" | |
echo " [-P profile] aws cli profile" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM arm64v8/ubuntu:16.04 | |
ENV KONG_VERSION 1.3.0 | |
ENV OPENRESTY_VERSION 1.15.8.1 | |
ENV LUAROCKS_VERSION 3.1.3 | |
ENV PCRE_VERSION 8.43 | |
ENV OPENSSL_VERSION 1.1.1c | |
RUN apt-get update && apt-get install -y libreadline-dev libncurses5-dev \ | |
build-essential libpcre3-dev perl curl libssl-dev zlib1g-dev \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import snapcraft | |
import os | |
import textwrap | |
# Just edit this to put in your repo. | |
# For examples sake, I've used the official mono repo | |
# Once edited, put this in your "snap/plugins" directory, create a part using this plugin, then stage your packages. | |
_BASE_TO_UBUNTU_RELEASE_MAP = {"core16": "xenial", "core18": "bionic"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
if [[ -n "$D" ]]; then | |
set -x | |
fi | |
##HELP: Usage: repack-kernel <command> <opts> | |
##HELP: |
This is optional, in case you prefer your nick to be shown as something other than <matrix_nick>[m]
on IRC, e.g. just <matrix_nick>
(without the [m]
suffix) or <libera_nick>
.
Open a private chat with @appservice:libera.chat
:
!nick <new_libera_nick>
Note: This does not change your Matrix nick!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
# | |
# Run this script to get all reviews of a single snap. | |
# | |
#%% | |
from datetime import datetime | |
import getpass | |
import hashlib | |
import json | |
import requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
############################################################################## | |
############################################################################## | |
# | |
# THIS IS DEPRECATED - PLEASE USE THE NEW HOME FOR THIS SCRIPT: | |
# https://github.com/snapcore/snapd/blob/master/debug-tools/snap-debug-info.sh | |
# | |
############################################################################## | |
############################################################################## |