Skip to content

Instantly share code, notes, and snippets.

View reliek21's full-sized avatar
🎯
Focusing

Keiler Guardo Herrera reliek21

🎯
Focusing
View GitHub Profile
@Klerith
Klerith / flutter-instalaciones.md
Last active July 23, 2024 03:12
Instalaciones del curso de Flutter - Móvil de cero a experto
@Klerith
Klerith / instalaciones.md
Created April 19, 2022 14:43
Instalaciones recomendadas para el curso de principios SOLID y CleanCode

Instalaciones recomendadas - Curso de principios SOLID y CleanCode

Instalaciones Necesarias

opcional - Yarn

@AnisahTiaraPratiwi
AnisahTiaraPratiwi / Conditionals1.py
Created March 20, 2021 10:26
Question 5 If a filesystem has a block size of 4096 bytes, this means that a file comprised of only one byte will still use 4096 bytes of storage. A file made up of 4097 bytes will use 4096*2=8192 bytes of storage. Knowing this, can you fill in the gaps in the calculate_storage function below, which calculates the total number of bytes needed to…
def calculate_storage(filesize):
block_size = 4096
# Use floor division to calculate how many blocks are fully occupied
full_blocks = filesize//4096
# Use the modulo operator to check whether there's any remainder
partial_block_remainder = filesize%4096
# Depending on whether there's a remainder or not, return
# the total number of bytes required to allocate enough blocks
# to store your data.
if partial_block_remainder > 0:
@johnmcfarlane
johnmcfarlane / begin(C++).md
Last active June 26, 2024 14:42
Resources for C++ beginners
@rxaviers
rxaviers / gist:7360908
Last active July 23, 2024 01:33
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: