Ragnerflokki
An Information Technology enthusiast keenly interested in the creation of Software programs. Mobile / Web development are my are of focus at the moment.
FrontendLabs UKWiltshire , London. UK
Pinned Repositories
printf
AirBnB_clone_v2
alpha
alx-higher_level_programming
0x00-python-hello_world This begins the learning of python with alx software engineering programme(holberton school) Each file is a test on my knowledge on each concept of python Tasks 0-run 0-run - is a shell script that runs a python script, The python file name would be saved in the environment variable PYFILE USAGE export PYFILE=tests/main.py ./0-run 1-run_inline 1-run_inline - is a shell script that runs Python code. The Python code will be saved in the environment variable $PYCODE USAGE guillaume@ubuntu:~/py/0x00$ export PYCODE='print(f"Best School: {88+10}")' guillaume@ubuntu:~/py/0x00$ ./1-run_inline Best School: 98 guillaume@ubuntu:~/py/0x00$ 2-print.py 2-print.py - A python script that prints "Programming is like building a multilingual puzzle followed by new line USAGE guillaume@ubuntu:~/py/0x00$ ./2-print.py "Programming is like building a multilingual puzzle guillaume@ubuntu:~/py/0x00$ 3-print_number.py 3-print_number.py - A python script that print a number stored in variable followed by a string using f-string string formatter to substitute the variable in the output USAGE guillaume@ubuntu:~/py/0x00$ ./3-print_number.py 98 Battery street guillaume@ubuntu:~/py/0x00$ 4-print_float.py 4-print_float.py - The python scripts prints a floating number with a precision of 2 digits alongside a string USAGE guillaume@ubuntu:~/py/0x00$ ./4-print_float.py Float: 3.14 guillaume@ubuntu:~/py/0x00$ 5-print_string.py 5-print_string.py - The python script print 3 times a string stored in the variable str, followed by its first 9 characters. USAGE guillaume@ubuntu:~/py/0x00$ ./5-print_string.py Holberton SchoolHolberton SchoolHolberton School Holberton guillaume@ubuntu:~/py/0x00$ 6-concat.py 6-concat.py - This is a python script that prints Welcome to Holberton School! from 2 different strings using string concatenation in python guillaume@ubuntu:~/py/0x00$ ./6-concat.py Welcome to Holberton School! guillaume@ubuntu:~/py/0x00$ wc -l 6-concat.py 5 6-concat.py guillaume@ubuntu:~/py/0x00$ 7-edges.py 7-edges.py - This python scripts prints words using the python string slice feature. word_first_3 should contain the first 3 letters of the variable word word_last_2 should contain the last 2 letters of the variable word middle_word should contain the value of the variable word without the first and last letters USAGE guillaume@ubuntu:~/py/0x00$ ./7-edges.py First 3 letters: Hol Last 2 letters: on Middle word: olberto guillaume@ubuntu:~/py/0x00$ wc -l 7-edges.py 8 7-edges.py guillaume@ubuntu:~/py/0x00$ 8-concat_edges.py 8-concat_edges.py - A python script that prints a string from an existing string without using string literals.. it prints object-oriented programming with Python from a given string str = "Python is an interpreted, interactive, object-oriented programming\ language that combines remarkable power with very clear syntax" USAGE guillaume@ubuntu:~/py/0x00$ ./8-concat_edges.py object-oriented programming with Python guillaume@ubuntu:~/py/0x00$ wc -l 8-concat_edges.py 5 8-concat_edges.py guillaume@ubuntu:~/py/0x00$ 9-easter_egg.py 9-easter_egg.py - A python script that prints “The Zen of Python”, by TimPeters, followed by a new line USAGE guillaume@ubuntu:~/py/0x00$ ./9-easter_egg.py The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren't special enough to break the rules. Although practicality beats purity. Errors should never pass silently. Unless explicitly silenced. In the face of ambiguity, refuse the temptation to guess. There should be one-- and preferably only one --obvious way to do it. Although that way may not be obvious at first unless you're Dutch. Now is better than never. Although never is often better than *right* now. If the implementation is hard to explain, it's a bad idea. If the implementation is easy to explain, it may be a good idea. Namespaces are one honking great idea -- let's do more of those! guillaume@ubuntu:~/py/0x00$ 10-* This check-cycle file detects a cycle in a linked list and the other files creates, prints and frees the memory allocation needed for a linked list creation USAGE carrie@ubuntu:~/0x00$ gcc -Wall -Werror -Wextra -pedantic -std=gnu89 10-main.c 10-check_cycle.c 10-linked_lists.c -o cycle carrie@ubuntu:~/0x00$$ ./cycle 1024 402 98 4 3 2 1 0 Linked list has no cycle Linked list has a cycle carrie@ubuntu:~/0x00$ 100-write.py 100-write.py - A python script that prints exactly and that piece of art is useful - Dora Korpar, 2015-10-19, followed by a new line. to the standard error and exiting with status 1 USAGE guillaume@ubuntu:~/py/0x00$ ./100-write.py and that piece of art is useful - Dora Korpar, 2015-10-19 guillaume@ubuntu:~/py/0x00$ echo $? 1 guillaume@ubuntu:~/py/0x00$ ./100-write.py 2> q guillaume@ubuntu:~/py/0x00$ cat q and that piece of art is useful - Dora Korpar, 2015-10-19 guillaume@ubuntu:~/py/0x00$ 101-compile 101-compile - script that compiles a Python script file. USAGE guillaume@ubuntu:~/py/0x00$ cat main.py #!/usr/bin/python3 print("Best School") guillaume@ubuntu:~/py/0x00$ export PYFILE=main.py guillaume@ubuntu:~/py/0x00$ ./101-compile Compiling main.py ... guillaume@ubuntu:~/py/0x00$ ls 101-compile main.py main.pyc guillaume@ubuntu:~/py/0x00$ cat main.pyc | zgrep -c "Best School" 1 guillaume@ubuntu:~/py/0x00$ od -t x1 main.pyc # SYSTEM DEPENDANT => CAN BE DIFFERENT 0000000 ee 0c 0d 0a 91 26 3e 58 31 00 00 00 e3 00 00 00 0000020 00 00 00 00 00 00 00 00 00 02 00 00 00 40 00 00 0000040 00 73 0e 00 00 00 65 00 00 64 00 00 83 01 00 01 0000060 64 01 00 53 29 02 7a 10 48 6f 6c 62 65 72 74 6f 0000100 6e 20 53 63 68 6f 6f 6c 4e 29 01 da 05 70 72 69 0000120 6e 74 a9 00 72 02 00 00 00 72 02 00 00 00 fa 07 0000140 6d 61 69 6e 2e 70 79 da 08 3c 6d 6f 64 75 6c 65 0000160 3e 02 00 00 00 73 00 00 00 00 0000172 guillaume@ubuntu:~/py/0x00$ 102-magic_calculation.py 102-magic_calculation.py - it interpretes a bytecode.. The byte code 3 0 LOAD_CONST 1 (98) 3 LOAD_FAST 0 (a) 6 LOAD_FAST 1 (b) 9 BINARY_POWER 10 BINARY_ADD 11 RETURN_VALUE
alx-low_level_programming
Introduction to C
alx-pre_course
I'm now a ALX Student, this is my first repository as a full-stack engineer
alx-system_engineering-devops
alx-zero_day
I'm now a ALX Student, this is my first repository as a full-stack engineer
AirBnB_clone
simple_shell
A simple UNIX command interpreter.
Ragnerflokki's Repositories
Ragnerflokki/alx-higher_level_programming
0x00-python-hello_world This begins the learning of python with alx software engineering programme(holberton school) Each file is a test on my knowledge on each concept of python Tasks 0-run 0-run - is a shell script that runs a python script, The python file name would be saved in the environment variable PYFILE USAGE export PYFILE=tests/main.py ./0-run 1-run_inline 1-run_inline - is a shell script that runs Python code. The Python code will be saved in the environment variable $PYCODE USAGE guillaume@ubuntu:~/py/0x00$ export PYCODE='print(f"Best School: {88+10}")' guillaume@ubuntu:~/py/0x00$ ./1-run_inline Best School: 98 guillaume@ubuntu:~/py/0x00$ 2-print.py 2-print.py - A python script that prints "Programming is like building a multilingual puzzle followed by new line USAGE guillaume@ubuntu:~/py/0x00$ ./2-print.py "Programming is like building a multilingual puzzle guillaume@ubuntu:~/py/0x00$ 3-print_number.py 3-print_number.py - A python script that print a number stored in variable followed by a string using f-string string formatter to substitute the variable in the output USAGE guillaume@ubuntu:~/py/0x00$ ./3-print_number.py 98 Battery street guillaume@ubuntu:~/py/0x00$ 4-print_float.py 4-print_float.py - The python scripts prints a floating number with a precision of 2 digits alongside a string USAGE guillaume@ubuntu:~/py/0x00$ ./4-print_float.py Float: 3.14 guillaume@ubuntu:~/py/0x00$ 5-print_string.py 5-print_string.py - The python script print 3 times a string stored in the variable str, followed by its first 9 characters. USAGE guillaume@ubuntu:~/py/0x00$ ./5-print_string.py Holberton SchoolHolberton SchoolHolberton School Holberton guillaume@ubuntu:~/py/0x00$ 6-concat.py 6-concat.py - This is a python script that prints Welcome to Holberton School! from 2 different strings using string concatenation in python guillaume@ubuntu:~/py/0x00$ ./6-concat.py Welcome to Holberton School! guillaume@ubuntu:~/py/0x00$ wc -l 6-concat.py 5 6-concat.py guillaume@ubuntu:~/py/0x00$ 7-edges.py 7-edges.py - This python scripts prints words using the python string slice feature. word_first_3 should contain the first 3 letters of the variable word word_last_2 should contain the last 2 letters of the variable word middle_word should contain the value of the variable word without the first and last letters USAGE guillaume@ubuntu:~/py/0x00$ ./7-edges.py First 3 letters: Hol Last 2 letters: on Middle word: olberto guillaume@ubuntu:~/py/0x00$ wc -l 7-edges.py 8 7-edges.py guillaume@ubuntu:~/py/0x00$ 8-concat_edges.py 8-concat_edges.py - A python script that prints a string from an existing string without using string literals.. it prints object-oriented programming with Python from a given string str = "Python is an interpreted, interactive, object-oriented programming\ language that combines remarkable power with very clear syntax" USAGE guillaume@ubuntu:~/py/0x00$ ./8-concat_edges.py object-oriented programming with Python guillaume@ubuntu:~/py/0x00$ wc -l 8-concat_edges.py 5 8-concat_edges.py guillaume@ubuntu:~/py/0x00$ 9-easter_egg.py 9-easter_egg.py - A python script that prints “The Zen of Python”, by TimPeters, followed by a new line USAGE guillaume@ubuntu:~/py/0x00$ ./9-easter_egg.py The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren't special enough to break the rules. Although practicality beats purity. Errors should never pass silently. Unless explicitly silenced. In the face of ambiguity, refuse the temptation to guess. There should be one-- and preferably only one --obvious way to do it. Although that way may not be obvious at first unless you're Dutch. Now is better than never. Although never is often better than *right* now. If the implementation is hard to explain, it's a bad idea. If the implementation is easy to explain, it may be a good idea. Namespaces are one honking great idea -- let's do more of those! guillaume@ubuntu:~/py/0x00$ 10-* This check-cycle file detects a cycle in a linked list and the other files creates, prints and frees the memory allocation needed for a linked list creation USAGE carrie@ubuntu:~/0x00$ gcc -Wall -Werror -Wextra -pedantic -std=gnu89 10-main.c 10-check_cycle.c 10-linked_lists.c -o cycle carrie@ubuntu:~/0x00$$ ./cycle 1024 402 98 4 3 2 1 0 Linked list has no cycle Linked list has a cycle carrie@ubuntu:~/0x00$ 100-write.py 100-write.py - A python script that prints exactly and that piece of art is useful - Dora Korpar, 2015-10-19, followed by a new line. to the standard error and exiting with status 1 USAGE guillaume@ubuntu:~/py/0x00$ ./100-write.py and that piece of art is useful - Dora Korpar, 2015-10-19 guillaume@ubuntu:~/py/0x00$ echo $? 1 guillaume@ubuntu:~/py/0x00$ ./100-write.py 2> q guillaume@ubuntu:~/py/0x00$ cat q and that piece of art is useful - Dora Korpar, 2015-10-19 guillaume@ubuntu:~/py/0x00$ 101-compile 101-compile - script that compiles a Python script file. USAGE guillaume@ubuntu:~/py/0x00$ cat main.py #!/usr/bin/python3 print("Best School") guillaume@ubuntu:~/py/0x00$ export PYFILE=main.py guillaume@ubuntu:~/py/0x00$ ./101-compile Compiling main.py ... guillaume@ubuntu:~/py/0x00$ ls 101-compile main.py main.pyc guillaume@ubuntu:~/py/0x00$ cat main.pyc | zgrep -c "Best School" 1 guillaume@ubuntu:~/py/0x00$ od -t x1 main.pyc # SYSTEM DEPENDANT => CAN BE DIFFERENT 0000000 ee 0c 0d 0a 91 26 3e 58 31 00 00 00 e3 00 00 00 0000020 00 00 00 00 00 00 00 00 00 02 00 00 00 40 00 00 0000040 00 73 0e 00 00 00 65 00 00 64 00 00 83 01 00 01 0000060 64 01 00 53 29 02 7a 10 48 6f 6c 62 65 72 74 6f 0000100 6e 20 53 63 68 6f 6f 6c 4e 29 01 da 05 70 72 69 0000120 6e 74 a9 00 72 02 00 00 00 72 02 00 00 00 fa 07 0000140 6d 61 69 6e 2e 70 79 da 08 3c 6d 6f 64 75 6c 65 0000160 3e 02 00 00 00 73 00 00 00 00 0000172 guillaume@ubuntu:~/py/0x00$ 102-magic_calculation.py 102-magic_calculation.py - it interpretes a bytecode.. The byte code 3 0 LOAD_CONST 1 (98) 3 LOAD_FAST 0 (a) 6 LOAD_FAST 1 (b) 9 BINARY_POWER 10 BINARY_ADD 11 RETURN_VALUE
Ragnerflokki/AirBnB_clone_v2
Ragnerflokki/alpha
Ragnerflokki/alx-low_level_programming
Introduction to C
Ragnerflokki/alx-pre_course
I'm now a ALX Student, this is my first repository as a full-stack engineer
Ragnerflokki/alx-system_engineering-devops
Ragnerflokki/alx-zero_day
I'm now a ALX Student, this is my first repository as a full-stack engineer