These are my installation-tricks and notes for running Linux on a 2021 Thinkpad
P14s Gen2 with AMD Ryzen 7 5850U. It should also be suitable for the Thinkpad T14 Gen2 AMD as they are technically the same modell.
Meanwhile there is also a good test on youtube and an entry in the arch-wiki, which also comments some points mentioned here.
This file contains hidden or 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/sh | |
#Early steps, just to be sure | |
apt-get update | |
apt-get upgrade -y | |
#NFS Server -- Cargo Cult ;-) | |
apt-get install -y nfs-kernel-server | |
echo '/var/lib/one *(rw,sync,no_subtree_check,root_squash,anonuid=9869,anongid=9869)' >> /etc/exports |
This file contains hidden or 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
# We need the latest epel-release for a RHEL/Centos specific cloud-init | |
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
rpm -Uvh epel-release-6-8.noarch.rpm | |
# After this finishes you can build an AMI that will process the user data | |
# with cloud-init. You may also be interested in taking a look at the config | |
# file at /etc/cloud/cloud.cfg | |
yum install cloud-init |
This file contains hidden or 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
The Cloud Standards Interoperability Plugfest Series (or "Cloud Plugfests" | |
for short) was originated by the OGF and SNIA in 2011 as a method to exchange | |
information and to encourage interoperability on implementations of cloud | |
standards. It has since expanded to include a variety of tools provided by | |
these organizations and by ETSI to support the community, and is open to | |
participation by other organizations. | |
This tool set hosted on the ogf.org site supports those community activities | |
and features that are in public view according to the terms of the Open Grid | |
Forum IPR. The community is welcome to make use of the tools and features |
This file contains hidden or 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
require 'rubygems' | |
require 'httpi' | |
require 'curb' | |
# at some point before the request is made you'll need a kerberos ticket | |
# i.e., kinit -k -t ticket_path | |
image_path = "/tmp/some_image.jpg" | |
url = URI.escape("https://some_ssl_spnego_url.com/upload_file_here") |
YARD CHEATSHEET http://yardoc.org
May 2020 - updated fork: https://gist.github.com/phansch/db18a595d2f5f1ef16646af72fe1fb0e
cribbed from http://pastebin.com/xgzeAmBn
Templates to remind you of the options and formatting for the different types of objects you might want to document using YARD.
This file contains hidden or 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
# How to sign your custom RPM package with GPG key | |
# Step: 1 | |
# Generate gpg key pair (public key and private key) | |
# | |
# You will be prompted with a series of questions about encryption. | |
# Simply select the default values presented. You will also be asked | |
# to create a Real Name, Email Address and Comment (comment optional). | |
# | |
# If you get the following response: |