KVER=6.5.2
RTVER=8
mkdir kernel && cd kernel
wget https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/linux-${KVER}.tar.gz
wget https://mirrors.edge.kernel.org/pub/linux/kernel/projects/rt/6.5/patch-${KVER}-rt${RTVER}.patch.gz
tar xzf linux-${KVER}.tar.gz
cd linux-${KVER}
gzip -cd ../patch-${KVER}-rt${RTVER}.patch.gz|patch -p1
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
#cloud-config | |
users: | |
- default | |
- name: ccnc | |
gecos: C-CNC User | |
groups: sudo | |
shell: /bin/bash | |
sudo: ALL=(ALL) NOPASSWD:ALL | |
passwd: $6$rounds=4096$zHeUceWF8g9fEz1H$6bMoNJcKX4bt9rcYIHKEG2TjoLCHRMDwYsz98NEI3N7UgexTNv2XhMvvc4qrnky.ScBpSe68WDoP0FXXHJRTL. |
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 file provides base utilities | |
# Check for requirements | |
if (!exists("read_file")) { | |
if (!require(readr)) { | |
stop("Please install readr (or tidyverse) package") | |
} | |
} | |
#' Get the url for sample files from gist repo |
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
#!/usr/bin/env ruby | |
# This script can create stub C libraries that are useful in cross-compilation | |
# tasks. | |
# Usage: | |
# ./mkstub.rb <path to original library file> [linux|macos] | |
# This will generate a stub file, a compiled shared object for the local system, | |
# and a shell script named compile_<libname>_stub.sh. The latter shall be copied | |
# to the target system (specified by the optional second argument), which | |
# doesn't have the library of matter, and executed, resulting in a shared object | |
# that represents a stub of the original library. A stub library has all the |
I hereby claim:
- I am pbosetti on github.
- I am p4010 (https://keybase.io/p4010) on keybase.
- I have a public key ASDEuZaOoLlLVl3Y5fWA8zMcc4FloDEsY2Hais05Xa8BOAo
To claim this, I am signing this object:
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
/* | |
_____ _ _____ | |
|_ _(_) __|_ _|__ ___ | |
| | | |/ __|| |/ _ \ / __| | |
| | | | (__ | | (_) | (__ | |
|_| |_|\___||_|\___/ \___| | |
* timing utility | |
// | |
#include <time.h> |
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
#!/usr/bin/env sh | |
# Call this script remotely: | |
# $ sh <(wget -qO- "https://git.io/JJPaQ") | |
OS=$(uname) | |
CODE="VisualStudio Code" | |
echo "Setting up Visual Studio Code on $OS" | |
if [ "$OS" = "Darwin" ]; then |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You need a laptop (Mac or PC) with at least 20 Gb of available disk space. The laptop needs a relatively recent CPU (Intel Core i3 or better).
In order to make the life easier for all of us avoiding the issues originating from the use of different platforms and operating systems, we will work on the same OS
NewerOlder