- JDK
- Spring CLI
spring run ThisWillActuallyRun.groovy
| <configuration> | |
| <system.webServer> | |
| <rewrite> | |
| <rules> | |
| <rule name="SPA"> | |
| <match url=".*" /> | |
| <conditions logicalGrouping="MatchAll"> | |
| <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> | |
| <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> | |
| <add input="{REQUEST_URI}" pattern="^/(docs)" negate="true" /> |
| #!/usr/bin/perl -w | |
| # check if the domain name is passed or not | |
| if (!$ARGV [0]) { | |
| print "String is needed\n"; | |
| die (); | |
| } | |
| # morse code list | |
| my %letters; |
| import time | |
| import sys | |
| animation = "🌕🌖🌗🌘🌑🌒🌓🌔" | |
| for i in range(100): | |
| time.sleep(0.1) | |
| sys.stdout.write("\r" + animation[i % len(animation)]) | |
| sys.stdout.flush() |
| <?php | |
| require('vendor/autoload.php'); | |
| // Import PHPMailer classes into the global namespace | |
| // These must be at the top of your script, not inside a function | |
| use PHPMailer\PHPMailer\PHPMailer; | |
| use PHPMailer\PHPMailer\SMTP; | |
| use PHPMailer\PHPMailer\Exception; |
| #!/usr/bin/perl -w | |
| # check if the domain name is passed or not | |
| if (!$ARGV [0]) { | |
| print "String is needed\n"; | |
| die (); | |
| } | |
| # Sabre + Mr Mahabubur + Me Phonetic talks | |
| my %letters; |
| from flask import Flask as bongo_bondhu | |
| # make alias | |
| bongo_bondhu.joy_bangla = bongo_bondhu.run | |
| neta = bongo_bondhu(__name__) | |
| @neta.route('/') | |
| def index(): | |
| return f'এবারের সংগ্রাম, মুক্তির সংগ্রাম' |
| version: 0.2 | |
| phases: | |
| install: | |
| runtime-versions: | |
| python: 3.7 | |
| build: | |
| commands: | |
| - REPOSITORY_URI=$(cat imageDetail.json | python -c "import sys, json; print(json.load(sys.stdin)['ImageURI'].split('@')[0])") | |
| - IMAGE_TAG=$(cat imageDetail.json | python -c "import sys, json; print(json.load(sys.stdin)['ImageTags'][0])") |
| { | |
| "Version":"2012-10-17", | |
| "Statement":[ | |
| { | |
| "Sid":"PublicRead", | |
| "Effect":"Allow", | |
| "Principal": "*", | |
| "Action":["s3:GetObject"], | |
| "Resource":["arn:aws:s3:::bucket-name/*"] | |
| } |
WebRTC Video Chat Procedure Now that we have Firebase set up, let’s talk a little about how WebRTC can be used to set up a video chat. Say we have two computers, yours and your friend’s. Here is the step-by-step procedure needed to make the video chat work. (Note that I bolded words that sound strange, but are actually just JavaScript objects in JSON. I’ll give you examples of each right after these steps.)