-
Download Go
Visit the official Go downloads page and copy the link for the latest stable version for Linux (e.g.,go1.21.4.linux-amd64.tar.gz).Use
wgetto download it directly:wget https://go.dev/dl/go1.21.4.linux-amd64.tar.gz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Update the package list | |
| sudo apt update -y | |
| # Install OpenJDK 8 | |
| sudo apt install -y openjdk-8-jre-headless | |
| # Install net-tools | |
| sudo apt install -y net-tools |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Update the package list | |
| sudo apt update | |
| # Add Jenkins repository key | |
| sudo wget -O /usr/share/keyrings/jenkins-keyring.asc \ | |
| https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key | |
| #Then add a Jenkins apt repository entry: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Update the package list | |
| sudo apt update | |
| # Install required packages to allow apt to use a repository over HTTPS | |
| sudo apt install -y \ | |
| apt-transport-https \ | |
| ca-certificates \ | |
| curl \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Sid": "VisualEditor0", | |
| "Effect": "Allow", | |
| "Action": [ | |
| "dynamodb:PutItem", | |
| "dynamodb:DeleteItem", | |
| "dynamodb:GetItem", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # import the JSON utility package | |
| import json | |
| # import the Python math library | |
| import math | |
| # import the AWS SDK (for Python the package name is boto3) | |
| import boto3 | |
| # import two packages to help us with dates and date formatting | |
| from time import gmtime, strftime |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # import the JSON utility package | |
| import json | |
| # import the Python math library | |
| import math | |
| # define the handler function that the Lambda service will use an entry point | |
| def lambda_handler(event, context): | |
| # extract the two numbers from the Lambda service's event object | |
| mathResult = math.pow(int(event['base']), int(event['exponent'])) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>To the Power of Math!</title> | |
| </head> | |
| <body> | |
| To the Power of Math! | |
| </body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>To the Power of Math!</title> | |
| <!-- Styling for the client UI --> | |
| <style> | |
| h1 { | |
| color: #FFFFFF; | |
| font-family: system-ui; |
I hereby claim:
- I am akiltipu on github.
- I am akiltipu (https://keybase.io/akiltipu) on keybase.
- I have a public key ASAd9xkzbsQzjdS-9gXmkmHt_ET1tggmfEsT7Qd26Aqh8Qo
To claim this, I am signing this object:
NewerOlder