Go to AWS Management Console and use Find Services to search for Elastic Beanstalk
Click “Create Application”
Set Application Name to 'multi-docker'
package com.tmhcc; | |
public class Main { | |
public static void main(String[] args) | |
{ | |
//Arithmetic Operators and Type Casting | |
int result = (int)10 + (int)3; | |
result = 10 / 3; | |
result = 10 % 3; | |
result++; |
<?php | |
$idsToFilter = array(1,2,3,4); | |
$member->getComments()->filter( | |
function($entry) use ($idsToFilter) { | |
return in_array($entry->getId(), $idsToFilter); | |
} | |
); |
class PostsController | |
{ | |
#[Route("/api/posts/{id}", methods: ["GET"])] | |
public function get($id) { /* ... */ } | |
} |
if [ -f ~/.bashrc ]; | |
then . ~/.bashrc; | |
fi |
{ | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.sublime-color-scheme", | |
"fade_fold_buttons": false, | |
"font_face": "JetBrains Mono", | |
"font_size": 14, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, | |
"line_padding_bottom": 2, |
[ | |
{ | |
"key": "AccountsDisplayDensity", | |
"value": false | |
}, | |
{ | |
"key": "AccountsEmphasizedInflows", | |
"value": false | |
}, | |
{ |
# Turn Rewrite Engine On | |
RewriteEngine on | |
# Rewrite for subjects.php | |
RewriteRule ^custom$ subjects.php [NC,L] | |
# NC makes the rule non case sensitive | |
# L makes this the last rule that this specific condition will match | |
# $ in the regular expression makes the matching stop so that "custom123!" will not work |