NOT from the devs
aka Loupau's understanding of blueprint codes
Last updated : 0.1.0-pre1-rc3
To sart, a blueprint code is structured as follows :
prefix + separator + version + separator + blueprint + suffix
# code to load the JWT token in PowerShell | |
# Call teh Get-JWTToken method with the App ID and the App Private Key (normal string from env var or file contents, make sure there is no extra line ending at the end of it!). | |
function Build-Payload { | |
Param ( | |
[string] $app_id | |
) | |
$iat = [Math]::Floor([decimal](Get-Date(Get-Date) -UFormat %s)) | |
$payload = @{ | |
"iat" = [int]$iat # issues at = now |
Netcat is like a swiss army knife for geeks. It can be used for just about anything involving TCP or UDP. One of its most practical uses is to transfer files. Non *nix people usually don't have SSH setup, and it is much faster to transfer stuff with netcat then setup SSH. netcat is just a single executable, and works across all platforms (Windows,Mac OS X, Linux).
On the receiving (destination) terminal, run:
nc -l -p 1234 > out.file
# For recent versions of Ubuntu: | |
- https://www.pugetsystems.com/labs/hpc/ubuntu-22-04-server-autoinstall-iso/ | |
# Docs: | |
- https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls | |
- https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls/ConfigReference | |
- https://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html | |
- https://discourse.ubuntu.com/t/please-test-autoinstalls-for-20-04/15250/53 | |
# Download ISO Installer: |
Block rotations and offsets in Tweakeroo:
Flexible Block Placement
and Accurate Block Placement
.Tweak Toggles
category (or using a hotkey in Tweak Hotkeys
)Generic Hotkeys
category, which you will hold when you want to place a block in a certain way.Flexible Placement
gives you the 5-way overlay that you may have seen in some videos. Using the offset
activation key, it will place the block either diagonally or with a one block gap from the clicked block. With the rotation
key it will rotate the block to "face to the direction indicated by the overlay" (play with it to get a feel for it).Accurate Placement
feature is what you usually want for pistons/observers/droppers/dispensers. It has two activation keys, accurateBlockPlacementInto
and accurateBlockPlacementReverse
. The into key will make the placed block face into t#!/bin/bash | |
# curl -sL https://gist.githubusercontent.com/RichardBronosky/31660eb4b0f0ba5e673b9bc3c9148a70/raw/touchid_sudo.sh | bash | |
# This script is ready to copy-paste in whole, or just the line above (without the leading #) | |
# Use TouchID for sudo on modern MacBook Pro machines | |
# This script adds a single line to the top of the PAM configuration for sudo | |
# See: https://apple.stackexchange.com/q/259093/41827 for more info. | |
touchid_sudo(){ |
This will get you routable containers with IPs on your existing subnets, advertising to Consul. They will also be scalable and placed across a cluster of Swarm hosts. It's assumed that you are already running Consul, so if not, there are a ton of tutorials out there. It's also assumed you know how to install Docker and various Linux kernels.
Bonus: We add an autoscaling API called Orbiter (https://gianarb.it/blog/orbiter-the-swarm-autoscaler-moves).
So you have an existing environment. You use Consul for service discovery. Life is good. Containers are now a thing and you want to work them in without having to worry about overlay networking or reverse proxies. You also don't want to add extra latency (as some naysayers could use it as fuel to kill your hopes and dreams). Lastly, you don't have a lot of time to invest in a complex orchestration tool, such a
function crackPassword(password) { | |
var crypttext = password.toUpperCase(); | |
var plaintext = ''; | |
var xlate = "dsfd;kfoA,.iyewrkldJKDHSUBsgvca69834ncxv9873254k;fg87"; | |
var seed, i, val = 0; | |
if(crypttext.length & 1) | |
return; | |
seed = (crypttext.charCodeAt(0) - 0x30) * 10 + crypttext.charCodeAt(1) - 0x30; |
# Generate a BaseSystem.dmg with 10.13 Install Packages | |
hdiutil attach /Applications/Install\ macOS\ 10.13\ Beta.app/Contents/SharedSupport/InstallESD.dmg -noverify -mountpoint /Volumes/highsierra | |
hdiutil create -o /tmp/HighSierraBase.cdr -size 7316m -layout SPUD -fs HFS+J | |
hdiutil attach /tmp/HighSierraBase.cdr.dmg -noverify -mountpoint /Volumes/install_build | |
asr restore -source /Applications/Install\ macOS\ 10.13\ Beta.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase | |
cp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installation | |
hdiutil detach /Volumes/OS\ X\ Base\ System/ | |
hdiutil detach /Volumes/highsierra/ | |
mv /tmp/HighSierraBase.cdr.dmg /tmp/BaseSystem.dmg |