Skip to content

Instantly share code, notes, and snippets.

View arifjehoh's full-sized avatar

Arif Jehda-Oh arifjehoh

  • Hackberry Bay AB
  • Stockholm, Sweden
View GitHub Profile

README

Preperation

  1. Config file
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
name: ht100x-kind
nodes:
@arifjehoh
arifjehoh / SofleV2ShoppingList.md
Last active June 2, 2022 22:20
Sofle v2 shopping list
@arifjehoh
arifjehoh / git-commit-template.md
Created May 28, 2022 19:04 — forked from lisawolderiksen/git-commit-template.md
Use a Git commit message template to write better commit messages

Using Git Commit Message Templates to Write Better Commit Messages

The always enthusiastic and knowledgeable mr. @jasaltvik shared with our team an article on writing (good) Git commit messages: How to Write a Git Commit Message. This excellent article explains why good Git commit messages are important, and explains what constitutes a good commit message. I wholeheartedly agree with what @cbeams writes in his article. (Have you read it yet? If not, go read it now. I'll wait.) It's sensible stuff. So I decided to start following the

@arifjehoh
arifjehoh / information.md
Last active May 4, 2022 09:59
Exjobb dokumenter

Om examensarbetet

Nödvändig förutsättning

  • 120 hp avklarad / 135 hp för de som skriver exjobbet i P4.
  • Avklarad viktiga kurser som kretsar sig runt din frågeställning.
  • Ta fram en frågeställning. (Vad vill du bli bättre på?)
    • Kom på en idé själv och presentera det till företag. Det kan vara bättre att komma på egen frågeställning åt företag än att de ska komma på en åt dig. Det kan resultera till att du får ett samtal av de.
    • Bestäm frågeställningen utifrån vad du är intrsserad av.
  • Ta kontakt med möjliga handledare.
  • Anmäl till Peter Sillén ([email protected]) att du vill bli tillkallad till möte om exjobb i augusti.
@arifjehoh
arifjehoh / 2022-04-22.md
Last active April 27, 2022 13:05
# DD1380 Feedback

Feedback

Red

  • Common time requirements of 8 hours is to high, difficult to asses that everyone can.
  • GSC, should not have to be reported to the peers but instead give informall feedback. (Good, Bad, and Better)
  • Canvas page is not updated.
  • Iteration 1, should be more focused on [research, get to know the group, more theoretical focus, roll and understanding what the documents that we are going to work on] and an other thing is that the Examinator should provide the first iteration plan which both gives the student a good base line to start from and how it could work.
  • Before the course start, share the information on how the course is laid out, what is obligatory to attend and what needs to be done. This will help studenet plan their hours before hand.
  • Improvement on usage of technical resourses.
  • Canvas hand-in during the week-ends.
@arifjehoh
arifjehoh / LAB3.md
Created February 23, 2022 23:30
IK1203 LAB 3

LAB 3

Cisco IOS Command Hierarchy

  • Two different access levels:
    1. user EXEC level. Basic monitoring commands.
    2. privileged EXEC level. Access all router commands, password protected to only allow only authorized user, configure or manage routers. There are five commands:
    3. Global configuration mode.
    4. Interface configuration mode.
  1. Subinterface configuration mode.
@arifjehoh
arifjehoh / TASK3.md
Last active February 22, 2022 13:50
IK1203 Task 3

Task 3: HTTPAsk Server

This documentation is for helping student with completing the task 3. There will be minimal of code and just the structure of how I developed the application.

HTTPAsk.java

Goal 1: Hardcoding

  1. Our frist task is to set up the server where we are listening to a specific port.
$ java HTTPAsk 8888
@arifjehoh
arifjehoh / LINK_LAYER.md
Last active March 1, 2022 12:24
KS 2: Part 2 covers the second half: Network Layer, Link Layer, and Wireless and Mobile Networks.
@arifjehoh
arifjehoh / INSTRUCTION.md
Created February 14, 2022 22:18
IK1203 - Task2 - instruction

How I solved task2

  1. In your constructor create global variables for your shutdown, timeout, and limit. Make sure you have default value when you aren't sending any values.
  2. Copy in your solution from task1, method: askServer.
  3. Add limiter variable, this variable will be used to limit the range of message fetching from server. It should have a default value of your buffer-size. It will get the default value when either the limit is higher than your buffer-size or when limit is at 0 (your default value from constructor). If the limit is less the your buffer-size and not zero then make it assigned the value from global variable.
  4. Add timeout value in socket. READ HERE
  5. Add counter variable, which it can either be the limit (global variable) or a [default value](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/Socket.html#getReceiveBufferSi
@arifjehoh
arifjehoh / Dockerfile
Last active January 28, 2022 12:49
Java spring boot and docker for heroku production
###########
# Maven #
###########################################################################
# In this stage the docker file will copy 'pom.xml' and 'src' directory. #
# 'mvn clean package' will compile the code and create a jar file. #
###########################################################################
FROM maven:3.8.4-openjdk-8 AS maven
WORKDIR application
COPY pom.xml .
COPY src ./src