Skip to content

Instantly share code, notes, and snippets.

View akiltipu's full-sized avatar
👋
Open to work

Akil Mahmod Tipu akiltipu

👋
Open to work
View GitHub Profile
@akiltipu
akiltipu / install_nexus.sh
Last active March 9, 2024 00:17
Install Nexus on Ubuntu
#!/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
@akiltipu
akiltipu / install_jenkins.sh
Last active March 9, 2024 19:28
Install Jenkins on Ubuntu server
#!/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:
@akiltipu
akiltipu / install_docker_dockercompose.sh
Last active March 9, 2024 19:30
Install Docker and Docker Compose on Ubuntu server
#!/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 \
@akiltipu
akiltipu / Execution_Role_Policy.json
Created July 12, 2023 06:35
IAM Execution Role Policy of DynamoDB for building End-to-End Web Application with AWS tutorial.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"dynamodb:PutItem",
"dynamodb:DeleteItem",
"dynamodb:GetItem",
@akiltipu
akiltipu / PowerOfMathFunction_updated.py
Created July 12, 2023 06:32
Updated AWS Lambda Code for building End-to-End Web Application with AWS tutorial.
# 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
@akiltipu
akiltipu / PowerOfMathFunction.py
Created July 12, 2023 06:31
Initial AWS Lambda Code for building End-to-End Web Application with AWS tutorial.
# 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']))
@akiltipu
akiltipu / PowerOfMath_index.html
Last active July 12, 2023 06:29
Initial index.html file for building End-to-End Web Application with AWS tutorial.
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>To the Power of Math!</title>
</head>
<body>
To the Power of Math!
</body>
@akiltipu
akiltipu / PowerOfMath_index_updated.html
Last active July 12, 2023 06:29
Final Updated index.html file for building End-to-End Web Application with AWS tutorial.
<!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;

Keybase proof

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:

@akiltipu
akiltipu / selection_sort.py
Last active July 13, 2020 22:56
Implementation of selection sort algorithm with python 3
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