My D's P's L's Js _ Day11 _ Git & GitHub {8}; CS50'sT {5}; Other Developments {11}.
Day11
\\ Lets Get Started! \\
Git and GitHub {8} _
Initializing Git :
Suppose I have a very good idea of a software (or Web App.) that i want to create, so for it's development lets create a folder named "MySoftware".
It's nesting is as follows_ C:\Users\ASUS\Documents\Uup8qrR_iRP7\MySoftware
Now i want to initialize this repository.(a local repository).
What gonna happen if i try and run any Git command in this folder first?
Open Bash terminal(Ubuntu) and go to that folder with the commands.
path will be :/mnt/c/Users/ASUS/Documents/Uup8qrR_iRP7/MySoftware$
copy this path & keep it inside a doc or txt file for quick access purpose. (without $ in it)
- Another alternate way would be to Raight click opening GitBash. (Open Git Bash here).
create a
test.txt
file usingtouch test.txt
command.and by trying to run
add
Git command for this file (i.e.git add test.txt
) Won't work at this point as we have to first initialize this directory for Git.by runnig
git init
command in thepwd
will create a.git
folder inside there, which is for keeping track of every changes (by Git), now that initialized folder will be as amaster
branch..
HarvardX CS50T {5}_
CS50's Understanding Technology. Resource Or Reference : HarvardX CS50T
Multimedia :
Introduction :
- Odds are you use it everyday, but what is it?
#Audio :
Computers are good at recording, playing back, and generating audio
Uses different file formats
- File formats are just a way of storing 0s and 1s on disk so that certain software knows how to interpret it
MIDI
Way of storing musical notes for certain songs
Can do this for different instruments
- Programs can render the notes for these instruments
GarageBand
Included with macOS
This is the Star Wars theme in # MIDI
Doesn’t sound quite as good as the actual version
Computer synthesizes the notes
Not an actual recording
Computer interprets notes in the MIDI file
MIDI is common in the digital workspace among musicians who wish to share music with each other.
Humans typically like to hear music preformed and recorded by humans
File formats for recorded music include:
AAC
MIDI
MP3
WAV
# WAV is an early sound format, but still used
- Uncompressed data storage allowing high quality
# MP3
File format for audio that uses compression
Significantly reduce how many bits are necessary to store a song
Discards 0s and 1s that humans can’t necessarily hear
- True audiophiles may disagree
Trade off between optimizing storage space and sacrificing quality
This compression is said to be # lossy
- Losing the quality in the compression process
# AAC
Similar to MP3
May see when you download a song from iTunes
Streaming services such as Spotify don’t transfer a file to you but rather stream bits of information to you
How do we think about the # quality of these formats?
# Sampling frequency
- Number of times per seconds we take a digital snapshot of what a person would hear
# Bit depth
- Number of bits used for these individual snapshots
Sampling frequency x bit depth = number of bits necessary to store one second of music
Audio file formats allow you to modify what these parameters are
Other Developments {11} _
Recap, Ques, & Other Notes :
Recaps.
- #: git commit --help
Ques.
After adding a file onto the staging area and thereby its being tracked by the Git, but what if we remove it completely using shell command? () []
staging area vs source control
touch
alternative Git command ? () []some git commands those somehow related to/with caching of the files or source or context or contents? () []
meaning of single dash
-
and double dash--
in/before the flag part in command line?can unstaged files be committed? () []
Other Notes.
Command prompt Vs Source tree(GUI)_ : (From Day10)
#Notes_
writing self notes at very last under other notes seems feasible n practecal.
notes title will be always under a # tag
() [✔] : shows did covered but not jotted down on blog post etc.
here (this) : will direct where to look for
() [] : that is both empty : means that, will be attempted soon during revision (s) or so
Day-Number will be always mentioned at the start despite heading
thats it for today
tc and happy Learning and Earning!
Subscribe to my newsletter
Read articles from Raghuu' directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by