This is unmaintained, please visit Ben-PH/spacemacs-cheatsheet
SPC q q- quitSPC w /- split window verticallySPC w- - split window horizontallySPC 1- switch to window 1SPC 2- switch to window 2SPC w c- delete current window
| # Installation on Dell XPS | |
| # Please also consult official documentation: | |
| # https://wiki.archlinux.org/index.php/Installation_Guide | |
| # https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360) | |
| # https://wiki.archlinux.org/index.php/Dell_XPS_15_(9550) | |
| # Enter BIOS with F2 and configure: | |
| # - "System Configuration" > "SATA Operation": "AHCI" | |
| # - "Secure Boot" > "Secure Boot Enable": "Disabled" |
This is unmaintained, please visit Ben-PH/spacemacs-cheatsheet
SPC q q - quitSPC w / - split window verticallySPC w - - split window horizontallySPC 1 - switch to window 1SPC 2 - switch to window 2SPC w c - delete current window| RUN apt update | |
| RUN apt upgrade -y | |
| RUN apt install -y apt-utils | |
| RUN a2enmod rewrite | |
| RUN apt install -y libmcrypt-dev | |
| RUN docker-php-ext-install mcrypt | |
| RUN apt install -y libicu-dev | |
| RUN docker-php-ext-install -j$(nproc) intl | |
| RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev | |
| RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ |
To start, read the official release notes.
If your system is "vanilla Debian plus maybe a handful of 3rd-party repos", then this guide for a simple upgrade to Debian 12 "bookworm" from Debian 11 "bullseye" can be helpful. 3rd-party repos are handled with a find command.
If you are on a fork of Debian such as RasPI OS, use their instructions, not this gist.
Note upgrade is only supported from Debian 11 to Debian 12. If you are on Debian 10, upgrade to Debian 11 first and make sure to change the security repo as per the release notes. Then once on Debian 11, you can upgrade to Debian 12.
| # /usr/share/BasiliskII/keycodes | |
| # | |
| # Basilisk II (C) 1997-2005 Christian Bauer | |
| # | |
| # This file is used to translate the (server-specific) scancodes to | |
| # Mac keycodes depending on the window server being used. | |
| # | |
| # The format of this file is as follows: | |
| # | |
| # sdl <driver string> |
See Amazon tutorial: Getting Started with Amazon EC2 Linux Instances
See Amazon tutorial: Installing a LAMP Web Server on Amazon Linux
| // 4 spaces to 2 spaces | |
| %s;^\(\s\+\);\=repeat(' ', len(submatch(0))/2);g | |
| // Tab to 2 spaces | |
| :%s/\t/ /g |
| { | |
| "configurations": [ | |
| { | |
| "name": "Linux", | |
| "includePath": [ | |
| "${workspaceFolder}", | |
| "LINUX_PATH/include", | |
| "LINUX_PATH/include/uapi", | |
| "LINUX_PATH/include/generated", | |
| "LINUX_PATH/arch/x86/include", |
| - Open Automator | |
| - File -> New -> Service | |
| - Change "Service Receives" to "files or folders" in "Finder" | |
| - Add a "Run Shell Script" action | |
| - Change "Pass input" to "as arguments" | |
| - Paste the following in the shell script box: open -n -b "com.microsoft.VSCode" --args "$*" | |
| - Save it as something like "Open in Visual Studio Code" |
| #!/usr/bin/env groovy | |
| node('php') { | |
| stage('Get code from SCM') { | |
| checkout( | |
| [$class: 'GitSCM', branches: [[name: '*/#your-dev-branch#']], | |
| doGenerateSubmoduleConfigurations: false, | |
| extensions: [], | |
| submoduleCfg: [], |