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:
def selection_sort(L): | |
n = len(L) | |
for i in range(0, n-1): | |
index_min = i | |
for j in range(i+1, n): | |
if L[j] < L[index_min]: | |
index_min = j | |
I hereby claim:
To claim this, I am signing this object:
<!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; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>To the Power of Math!</title> | |
</head> | |
<body> | |
To the Power of Math! | |
</body> |
# 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'])) |
# 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 |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "VisualEditor0", | |
"Effect": "Allow", | |
"Action": [ | |
"dynamodb:PutItem", | |
"dynamodb:DeleteItem", | |
"dynamodb:GetItem", |
#!/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 \ |
#!/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: |
#!/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 |