Skip to content

Instantly share code, notes, and snippets.

View rikka0w0's full-sized avatar

Rikka0_0小六花 rikka0w0

  • UNSW
  • Sydney
View GitHub Profile
| Series | Announcement Date | Main Processor | Clock Freq (up to) | Co-processor | Cache | BT | WiFi | GPIO | SRAM | ROM | Flash encryption | RTC memory | SPI | UART | USB | Touch Sensor | Timers | RMT |
|--------- |------------------- |----------------------------- |-------------------- |-------------- |-------- |--------------------- |------------------------- |-------------------------- |-------- |-------- |------------------ |------------ |----- |------ |------------- |-------------- |----------------------- |--------------- |
| S2 | 2019, September | Xtensa single-core LX7 | 240 MHz | ULP (RISC-V) | 8/16KB | No | 4 | 43 | 320KB | 128 KB | XTS-AES-128/256 | 16KB | 4 | 2 | USB OTG 1.1 | 14 | 4x 64-bit | 4x TX/RX |
| S3 | 2020, Decemb
import com.mojang.datafixers.util.Function3;
import com.mojang.serialization.Codec;
import com.mojang.serialization.codecs.RecordCodecBuilder;
import net.minecraft.block.BlockState;
import java.util.List;
public class CodecExample {
public static final Codec<CodecExample> CODEC = RecordCodecBuilder.create(
instance -> instance.group(
@robinsmidsrod
robinsmidsrod / ubuntu_1804.ipxe
Last active July 4, 2023 09:11
iPXE script entries for booting Ubuntu 18.04 in different ways
# boot-url points to an nfs URL
# sanboot-url points to an http URL
# ubuntu-version contains 18.04.3
# ubuntu-release contains bionic
:ubuntu
echo Booting Ubuntu from iSCSI for ${initiator-iqn}
set root-path ${base-iscsi}:${hostname}.boot.ubuntu
sanboot ${root-path} || goto failed
goto start
@tautologico
tautologico / buildcrossgcc.sh
Last active April 17, 2025 11:56
Build gcc cross-compiler for armv7-a (Cortex-A)
#!/bin/sh
# Download binutils, gcc, the linux kernel, glibc
# define the prefix
export PREFIX=/opt/armhf
# change PATH to include the target directory
export PATH=$PREFIX/bin:$PATH
@Xachman
Xachman / gtk.css
Created May 8, 2017 00:43
gtk.css for smaller flat title bar on gnome 3
/* shrink headerbars */
headerbar {
min-height: 0px;
padding-left: 2px; /* same as childrens vertical margins for nicer proportions */
padding-right: 2px;
background-color: #2d2d2d;
border-radius: 0;
border:0;
}
@franckhlmartin
franckhlmartin / gist:9b9fec4b118b6ca3226687df5a24318d
Created October 25, 2016 09:41
Grub IPv6 UEFI memdisk: create the image
# grub2-mkimage --directory '/usr/lib/grub/x86_64-efi' --prefix '(memdisk)/boot/grub' --output 'bootx64.efi' --format 'x86_64-efi' --compression 'auto' --memdisk 'memdisk/memdisk.tar' 'memdisk' 'tar'
@DraTeots
DraTeots / ComPort over Network.md
Last active March 28, 2025 05:04
ComPort over Network
@hgomez
hgomez / download-java8.sh
Created March 19, 2014 20:39
wget to download Java 8
wget --continue --no-check-certificate -O jdk-8-linux-x64.tar.gz --header Cookie: oraclelicense=a http://download.oracle.com/otn-pub/java/jdk/8-b132/jdk-8-linux-x64.tar.gz