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 | |
# This script based on linux-vm-tools for Ubuntu 22.02. | |
# Thanks to https://github.com/Hinara/linux-vm-tools/ to script | |
# This script is for Ubuntu 22.04 Jammy Jellyfish to download and install XRDP+XORGXRDP via | |
# source. | |
# | |
# Major thanks to: http://c-nergy.be/blog/?p=11336 for the tips. | |
# |
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
// RPi Pico SD Card Read Test Results with the Adafruit SPI/SDIO Breakout Board | |
// Code used to read from the SD Card: https://github.com/carlk3/no-OS-FatFS-SD-SPI-RPi-Pico | |
// | |
// SPI: | |
// 104857500 bytes in 209715 byte chunks: | |
// | Hz | Cheap 8GB SD card | PNY 32GB SD Card | SAMSUNG 32GB SD Card | | |
// | 8928571 | 428.8 KB/s | 521.9 KB/s | 500.0 KB/s | | |
// | 10416666 | 459.6 KB/s | 568.1 KB/s | 547.6 KB/s | | |
// | 12500000 | 495.1 KB/s | 623.3 KB/s | 598.7 KB/s | | |
// | 15625000 | 536.3 KB/s | 690.2 KB/s | 660.1 KB/s | |
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
FROM alpine:latest | |
LABEL title="xeyes" | |
LABEL description="Test of X11 using xeyes" | |
LABEL author="crash8229" | |
RUN apk add xeyes | |
CMD [ "xeyes" ] |
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
""" | |
This script prints a list of URLs required to download all the minecraft | |
resources that the new launcher can access (jars, libraries, assets) | |
Redirect stdout to a file to do something useful with it. | |
Will store cached json indexes in | |
versions.json | |
versions/*.json |
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
import java.lang.reflect.Method; | |
import static java.lang.Math.pow; | |
class Test { | |
public int value; | |
public Test(int v) { | |
value = v; | |
} |