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
# Install Bazel on Raspberry pi 4, with 64-bit Raspbian | |
$ uname -a | |
Linux pi41 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux | |
(This is mostly taken from https://www.cryptiot.de/programming/build-bazel-on-raspberry-pi/) | |
1. sudo raspi-config # Advanced Options -> Expand Filesystem | |
2. sudo nano /etc/dphys-swapfile # Set CONF_SWAPSIZE to 1024 | |
3. sudo apt update |
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
/// ¡Solo para el español! | |
/// Una clase que permite variables opcionales destructibles perezosas. | |
/// Mantiene el código de construcción cerca de la declaración variable | |
/// como perezoso, pero puede ser anidado a voluntad. | |
/// | |
/// Para los gringos: | |
/// ¿ = option shift ? | |
/// ¡ = option 1 | |
/// | |
/// ejemplo: |
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
// Example of writing a custom signal: | |
// Starts false, sends true when the signal departs from | |
// the initial value. Thereafter sends nothing, until the | |
// signal gets back to initial value, whereupon sends false. | |
import ReactiveCocoa | |
extension SignalType where Value: Equatable { | |
func diffDetect(i: Value) -> Signal<Bool, Error> { |