T. Meissner
687b2a8f25
added case study of chapter 4: auth module
10 years ago
T. Meissner
db8f802191
Further integration of classes
Following classes were added: Purchase, Rental, HouseRental, HousePurchase,
ApartmentRental, ApartmentPurchase, Agent
Furthermore printing an empty newline was added at the end of display() methods
in each class where the method exists
10 years ago
T. Meissner
68d6b0a424
added newline between docstring and quak method() of class Frog
10 years ago
T. Meissner
1fea3a6738
added class House which inherits from class Property
10 years ago
T. Meissner
d21b24d951
initial commit of chapter 3 case study
10 years ago
T. Meissner
dca775717e
added wikipedia example for duck typing with python
10 years ago
T. Meissner
8671e2e9dd
added FlacFile class as example for duck typing instead of polymorpism using inhiterance
10 years ago
T. Meissner
f7d909bc6c
new code example audiofile.py showing inhiterance with polymorphism
10 years ago
T. Meissner
14772e3f2d
changed (internal) _remove_note() method to (not internal) method remove_note()
10 years ago
T. Meissner
df2b2469e1
added internal method _remove_note() to remove note with given id from note list
10 years ago
T. Meissner
ace441084b
added method remove_note() to remove note with given id from note list; added menu option to call remove_note()
10 years ago
T. Meissner
2fa6cdc648
added *.pyc files to .gitignore
10 years ago
T. Meissner
e71d139a13
added handling of error in _decode_notefile() method by chacking its return value in method load_notes()
10 years ago
T. Meissner
bef1bc0976
added notebook.safe to .gitignore
10 years ago
T. Meissner
cb66a8fa81
added more docstrings
10 years ago
T. Meissner
8fdbf8d53c
added compression of notebook safefile using gzip module; moved encoding & decoding of ntoebook dafefile into seperate internal methods _decode_notefile() & _encode_notefile()
10 years ago
T. Meissner
71f2e48751
new internal method _set_id() to set global last_id attribute to the highest id found in actual notebook object
10 years ago
T. Meissner
032fd0f884
added return when note with given id not exists in modify_note(); increased iterations of kdf to 10.000
10 years ago
T. Meissner
5d931f3687
now using exception handling instead of if/else when checking valid menu input; added docstrings
10 years ago
T. Meissner
05e341d4c1
integrated encryption of notebook safefile using Fernet class of the cryptography library; new method _get_password to read in passphase and deriving key using pbkdf2 class of cryptography library
10 years ago
T. Meissner
bda7dd4f6b
added options to load & save notes to file; added new methods to Menu class to load & save notes using pickle
10 years ago
T. Meissner
8adef8cacd
added readme file
10 years ago
T. Meissner
7f226118c9
Merge branch 'master' of https://github.com/tmeissner/learning-by-doing
10 years ago
T. Meissner
f630c4e28c
added define to provoke kernel panic when accessing the memory at that address
10 years ago
T. Meissner
94484938c3
initial commit of chapter 2 case study
10 years ago
T. Meissner
ef09dca3b1
added __pycache__ directory to .gitignore file
10 years ago
T. Meissner
0d4a40ecb3
Merge branch 'master' of https://www.github.com/tmeissner/learning-by-doing
11 years ago
T. Meissner
ca7e62a73f
extended buffer overflow example
11 years ago
T. Meissner
4d0b6fc56e
Merge branch 'master' of https://github.com/tmeissner/jquery_mobile-up_and_running
moved jquery_mobile-up_and_running into learning-by-doing repo, because that's what it is ;)
11 years ago
T. Meissner
feab777260
moved into subdirectory
11 years ago
T. Meissner
674a86e596
added NULL checks after malloc
11 years ago
T. Meissner
d223b5807c
more examples
11 years ago
T. Meissner
4d7a74593b
new examples of string initialisation
11 years ago
T. Meissner
ec9a4516b8
added prototype for eval() function; added comment for saferFree() function
11 years ago
T. Meissner
40187f40b8
change types for handling operations[] arrays from char to int
11 years ago
T. Meissner
c7c71500ed
initial commit of examples from chapter 5
11 years ago
T. Meissner
31e6e28eb8
added examples for (passing) multidimensional arrays; dynamic allocated multidim. arrays & jagged arrays
11 years ago
T. Meissner
c8b574f0be
safeCompare now accepts any types as input; added some code examples for gandling of multidimensional arrays
11 years ago
T. Meissner
9b0948507c
merge remote HEAD with local HEAD
11 years ago
T. Meissner
7d474d40bc
begin adding code examples of pointers & multidimensional arrays
11 years ago
T. Meissner
68164079c7
removed cast for malloc; add function sefeCompare()
11 years ago
T. Meissner
17f7e537df
Merge branch 'master' of https://github.com/tmeissner/learning-by-doing
Conflicts:
c_pointers/getline.c
11 years ago
T. Meissner
bd177d26de
moved functions from getline.c into getline.h header file
11 years ago
T. Meissner
5477ad3b09
initial commit of test program for getline.h functions
11 years ago
T. Meissner
ddc4386192
initial commit of MinUnit test 'framework'
11 years ago
T. Meissner
852cd31ecc
moved functions from getline.c into getline.h header file
11 years ago
T. Meissner
29b41b440a
moved character definition into while loop
11 years ago
T. Meissner
ed5721dcb0
more examples up to chapter 'using one-dimensional array of pointers'
11 years ago
T. Meissner
26417fa190
more comments, added a example to do it wrong ;)
11 years ago
T. Meissner
0acc868df0
new getline tool with getline() & trim() function
11 years ago