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
| [{ | |
| "Day": 1, | |
| "Month": 1, | |
| "Fajr": 399, | |
| "Sunrise": 489, | |
| "Duhr": 794, | |
| "Asr": 952, | |
| "Maghrib": 1095, | |
| "Isha": 1181 | |
| }, |
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": "2.0.0", | |
| "tasks": [ | |
| { | |
| "type": "cmake", | |
| "label": "CMake_build", | |
| "command": "build", | |
| "targets": [ | |
| "ALL_BUILD" | |
| ], |
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
| { | |
| "configurations": [ | |
| { | |
| "name": "Build/Run without debugging", | |
| "type": "cppvsdbg", | |
| "request": "launch", | |
| "program": "${workspaceFolder}/build/main.exe", | |
| "args": [], | |
| "stopAtEntry": false, | |
| "cwd": "${fileDirname}", |
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
| cmake_minimum_required(VERSION 3.28) | |
| set(CMAKE_C_STANDARD 23) | |
| set(SRC ${CMAKE_CURRENT_LIST_DIR}/src) | |
| add_executable(program | |
| SRC/main.c | |
| SRC/calculator.c) |
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
| void PrintBits(void *valuePtr, size_t sizeInBytes) { | |
| // loopup table for bit values | |
| uint8_t bitsLookup[8] = {1, 2, 4, 8, 16, 32, 64, 128}; | |
| // loop over each byte | |
| for (int8_t i = sizeInBytes - 1; i >= 0; i--) { | |
| // get a pointer to the current byte and dereference it | |
| uint8_t byte = ((uint8_t *)valuePtr)[i]; | |
| // loop over each value in bits lookup table | |
| // and check if the bit is 1 or 0 using betweise or with the bit binary value | |
| for (int8_t j = 7; j >= 0; j--) { |
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
| At Terminal enter: ssh-keygen -p | |
| Enter the private key file path: ex (~/.ssh/id_23444) | |
| Enter the old passphrase | |
| Press enter | |
| Done |
OlderNewer