Squashing is a process in which we squeeze multiple commits into one pretending it is only a single commit.
Basically squashing commits means we are rewriting the history of commits to make them look like single commit.
from mpl_toolkits.mplot3d import Axes3D | |
from matplotlib.pylab import plt | |
from matplotlib import animation, cm | |
import numpy as np | |
from scipy.signal import convolve, convolve2d | |
class Wave1D: | |
K = np.array([1, -2, 1]) |
# double.py | |
# Copyright (C) 2006, 2007 Martin Jansche | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining | |
# a copy of this software and associated documentation files (the | |
# "Software"), to deal in the Software without restriction, including | |
# without limitation the rights to use, copy, modify, merge, publish, | |
# distribute, distribute with modifications, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
I was trying to install Helix-OS on my Arch Linux at 2019 with ZSH and GCC 8.1 and because it is quite old it recommends OpenFOAM-4.1.
Naturally, there is no package for older OpenFOAM on AUR, so it need to be built from the sources and of course we have to solve some compatibility issues and here is a collection of fixes found on the internet :)
Note that using the folder names with sufix 4.1 for version 4.1 would help some of the scripts.
mkdir -p $HOME/OpenFOAM
This document was created back in 2020 and might not be actual nowadays. It is not supported anymore, so use thise information at your own risk.
wsl --set-default-version 2
in windows command line, so that all future WSL machine will use WSL2.arch-install-scripts, deboostrap
Instalación ArchLinux: mkdir ArchLinux && pacstrap -c ArchLinux base linux-api-headers
Una vez iniciada sesion con systemd-nspawn -D ArchLinux
(debe usar la opción -D solamente), debemos borrar los archivos /etc/securetty
y /usr/share/factory/etc/securetty
dentro del contenedor solamente, además de añadirlos al archivo /etc/pacman.conf del mismo, en la opción NoExtract. La línea sería la siguiente:
NoExtract = /etc/securetty /usr/share/factory/etc/securetty
The Linux kernel is written in C, so you should have at least a basic understanding of C before diving into kernel work. You don't need expert level C knowledge, since you can always pick some things up underway, but it certainly helps to know the language and to have written some userspace C programs already.
It will also help to be a Linux user. If you have never used Linux before, it's probably a good idea to download a distro and get comfortable with it before you start doing kernel work.
Lastly, knowing git is not actually required, but can really help you (since you can dig through changelogs and search for information you'll need). At a minimum you should probably be able to clone the git repository to a local directory.