Discover gists
原文:CSDN大数据
本文来自作者在GitChat(ID:GitChat_Club)上的精彩分享,CSDN独家合作发布。
申明:本文旨在为普通程序员(Java程序员最佳)提供一个入门级别的大数据技术学习路径,不适用于大数据工程师的进阶学习,也不适用于零编程基础的同学。
前言
1 | LAFBD-41 | |
---|---|---|
2 | SSNI-497 | |
3 | ABP-984 | |
4 | IPX-580 | |
5 | IPX-811 | |
6 | IPX-177 | |
7 | STARS-804 | |
8 | SMBD-115 | |
9 | ABP-968 | |
10 | ABF-017 |
-- A tweak atop https://github.com/technicalfactorio/technicalfactorio/blob/master/combinators/generate_signal_index.lua | |
-- to generate stack sizes instead of unique identifiers. | |
-- Does not create entries for virtual signals, as they cannot be stacked. | |
-- Meant to be used in combination with: | |
-- Pairwise Multiplication: https://www.reddit.com/r/factorio/comments/pg2dai/perfect_parallel_pairwise_multiplier/ | |
-- Pairwise Division: https://www.reddit.com/r/factorio/comments/kl31f0/pairwise_division_with_combinators/ | |
-- | |
-- Run this as a console command by copying starting with this slash, and pasting it into chat: /c | |
local map={} | |
local comb = game.player.selected |
import PostgresNIO | |
import Foundation | |
/// A vector of floats. This is a custom type mirroring the `vector` type from | |
/// [pgvector](https://github.com/pgvector/pgvector/). | |
struct Vector: Codable { | |
/// The vector's values. | |
let value: [Float] | |
/// Creates a new `Vector`. |
# Libraries and infrastructure | |
sudo apt update -y | |
sudo apt install -y \ | |
docker.io docker-buildx \ | |
build-essential pkg-config autoconf bison rustc cargo clang \ | |
libssl-dev libreadline-dev zlib1g-dev libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev libjemalloc2 \ | |
libvips imagemagick libmagickwand-dev mupdf mupdf-tools \ | |
redis-tools sqlite3 libsqlite3-0 libmysqlclient-dev \ | |
rbenv apache2-utils |
This a collection of notes and files used in my quest to create "Reboot to Windows" and "Reboot to Linux" scripts (and desktop shortcuts) for Linux and Windows respectively that automatically reboot my system and instruct rEFInd to auto-select the appropriate OS entry.
The key for achieving this is to modify the EFI Variable PreviousBoot
with GUID 36d08fa7-cf0b-42f5-8f14-68df73ed3740
, which rEFInd uses to store the last entry selected in the menu and, if using the +
default entry, will be used to select the default OS. By doing this, we trick rEFInd into booting the OS we choose without having to be physically there to press the keyboard.