See Amazon tutorial: Getting Started with Amazon EC2 Linux Instances
See Amazon tutorial: Installing a LAMP Web Server on Amazon Linux
| { | |
| "configurations": [ | |
| { | |
| "name": "Linux", | |
| "includePath": [ | |
| "${workspaceFolder}", | |
| "LINUX_PATH/include", | |
| "LINUX_PATH/include/uapi", | |
| "LINUX_PATH/include/generated", | |
| "LINUX_PATH/arch/x86/include", |
| # /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> |
| #!/usr/bin/env groovy | |
| node('php') { | |
| stage('Get code from SCM') { | |
| checkout( | |
| [$class: 'GitSCM', branches: [[name: '*/#your-dev-branch#']], | |
| doGenerateSubmoduleConfigurations: false, | |
| extensions: [], | |
| submoduleCfg: [], |
| 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/ |
See Amazon tutorial: Getting Started with Amazon EC2 Linux Instances
See Amazon tutorial: Installing a LAMP Web Server on Amazon Linux
| #!/bin/bash | |
| for c in $(brew cask list); do | |
| info=$(brew cask info $c) | |
| installed_ver=$(echo "$info" | cut -d$'\n' -f1 | tr -d ' ' | cut -d':' -f 2) | |
| current_ver=$(echo "$info" | cut -d$'\n' -f3 | cut -d' ' -f 1 | rev | cut -d'/' -f 1 | rev) | |
| if [ "$installed_ver" != "$current_ver" ]; then | |
| echo "$c is installed '$installed_ver', current is '$current_ver'" | |
| brew cask reinstall $c | |
| fi |
| # 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" |
| - 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" |
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 windowGo through this amazon link http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html