Skip to content

Instantly share code, notes, and snippets.

View reliek21's full-sized avatar
🚀
Living my dream

Keiler Guardo Herrera reliek21

🚀
Living my dream
View GitHub Profile
@Klerith
Klerith / flutter-instalaciones.md
Last active November 15, 2024 21:56
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 November 9, 2024 17:26
Resources for C++ beginners
@rxaviers
rxaviers / gist:7360908
Last active November 16, 2024 07:02
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: