Internals links

old databases

FUN

https://drawings.jvns.ca/

CHALLENGES

One-Liner For Converting a Decimal (python) - http://www.ragestorm.net/blogs/?p=31
https://www.hackerrank.com/dashboard

https://cmdchallenge.com/
https://itsfoss.com/bash-challenge-5/ https://itsfoss.com/bash-challenge-6/
https://itsfoss.com/bash-challenge-7/
https://itsfoss.com/bash-challenge-8/
https://itsfoss.com/bash-challenge-9/
https://itsfoss.com/bash-challenge-10/
http://www.bash.academy/
https://bash.cyberciti.biz/guide/Main_Page https://bash.cyberciti.biz/guide/Chapter_1_Challenges
http://users.dickinson.edu/~braught/courses/cs491f16/bashscript.html

https://www.amazon.com/Bash-Out-Strengthen-challenges-difficulties/dp/1521773262#

https://www.datacamp.com/courses/network-analysis-in-python-part-1

INTERVIEWS

http://www.bogotobogo.com/python/python_interview_questions.php

Questions I’m asking in interviews

SIGNALING

http://www.linuxprogrammingblog.com/all-about-linux-signals?page=show
http://www.linuxjournal.com/article/6483 (linux signals for the application programmer)
http://www.bogotobogo.com/Linux/linux_process_and_signals.php
http://cs-pub.bu.edu/fac/richwest/cs591_w1/notes/wk3_pt2.PDF
Signal (IPC) https://en.wikipedia.org/wiki/Signal_(IPC)
How signals work internally? https://unix.stackexchange.com/questions/80044/how-signals-work-internally
How signals are handled in kernel https://unix.stackexchange.com/questions/355280/how-signals-are-handled-in-kernel
Linux Processes and Signals http://www.bogotobogo.com/Linux/linux_process_and_signals.php
Signals http://www.csl.mtu.edu/cs4411.ck/www/NOTES/signal/signal.html
All about Linux signals http://www.linuxprogrammingblog.com/all-about-linux-signals?page=show
Linux Signals Fundamentals – Part I and II
http://www.thegeekstuff.com/2012/03/linux-signals-fundamentals/
http://www.thegeekstuff.com/2012/03/catch-signals-sample-c-code/
Signals https://www.win.tue.nl/~aeb/linux/lk/lk-5.html
Signals and Traps https://www.tutorialspoint.com/unix/unix-signals-traps.htm
List of Linux Signals http://www.comptechdoc.org/os/linux/programming/linux_pgsignals.html
Signals and interrupts a comparison https://stackoverflow.com/questions/13341870/signals-and-interrupts-a-comparison
Real Time Signaling (squid) - http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.94.1089&rep=rep1&type=pdf

PROCESSES FORK EXEC WAIT

http://www.linuxprogrammingblog.com/threads-and-fork-think-twice-before-using-them
http://www.linuxprogrammingblog.com/multi-thread-specific-bugs
http://www.bogotobogo.com/Linux/linux_process_and_signals.php
Fork, Exec and Process control (at YoLinux) - http://www.yolinux.com/TUTORIALS/ForkExecProcesses.html
POSIX thread (pthread) libraries - http://www.yolinux.com/TUTORIALS/LinuxTutorialPosixThreads.html
Fork and Exec - https://www.bottomupcs.com/fork_and_exec.xhtml
Unix Multiprocess Programming - http://www.csl.mtu.edu/cs4411.ck/www/NOTES/process/process.html
Wait and SIGCHLD - https://www.win.tue.nl/~aeb/linux/lk/lk-5.html#ss5.5
Why do we need to fork to create new processes? - https://unix.stackexchange.com/questions/136637/why-do-we-need-to-fork-to-create-new-processes
Creating processes with fork and exec in Linux - https://www.softprayog.in/programming/creating-processes-with-fork-and-exec-in-linux
Per prova rapida amb Bash… - https://stackoverflow.com/questions/3096561/fork-and-exec-in-bash
http://www.informit.com/articles/article.aspx?p=370047&seqNum=4
Handling exec() failure - https://stackoverflow.com/a/3703179

SCHEDULING - PROCESS Management

Linux Kernel Process Management - http://www.informit.com/articles/article.aspx?p=370047&seqNum=4
https://www.ibm.com/developerworks/library/l-linux-process-management/index.html
https://en.m.wikipedia.org/wiki/Parent_process
http://sklinuxblog.blogspot.com.es/2016/03/linux-scheduling-internals.html
Privileges - https://www.bottomupcs.com/privileges.xhtml
Gate call - https://stackoverflow.com/questions/6683276/task-gate-interrupt-gate-call-gate
Gate call - https://www.ibm.com/developerworks/library/l-system-calls/index.html
Gate call - https://en.wikipedia.org/wiki/Call_gate_(Intel)
Gate call - https://www.technovelty.org/linux/a-little-tour-of-linux-gateso.html

ELF

https://en.wikipedia.org/wiki/Executable_and_Linkable_Format

STRUCTURES

https://en.wikipedia.org/wiki/Translation_lookaside_buffer
https://en.wikipedia.org/wiki/Slab_allocation
http://man7.org/linux/man-pages/man5/slabinfo.5.html

MEMORY

https://en.wikipedia.org/wiki/Buddy_memory_allocation
https://en.wikibooks.org/wiki/The_Linux_Kernel/Memory
https://kerneltalks.com/howto/find-process-using-high-memory-in-linux/

BASH INTERNALS

http://www.linuxprogrammingblog.com/pipe-in-bash-can-be-a-trap
https://www.gnu.org/software/bash/manual/html_node/Special-Builtins.html#Special-Builtins

BASH COMMANDS

https://www.softprayog.in/troubleshooting/bash-idioms

BOOTING

https://opensource.com/article/17/2/linux-boot-and-startup
http://www.tldp.org/LDP/LG/issue70/ghosh.html
https://github.com/0xAX/linux-insides/tree/master/Booting
IBM (2006) - https://www.ibm.com/developerworks/library/l-linuxboot/index.html
Slashroot.in (2010 - bo pero manca uefi i systemd) - http://www.slashroot.in/linux-booting-process-step-step-tutorial-understanding-linux-boot-sequence
https://en.wikipedia.org/wiki/Linux_startup_process
https://opensource.com/article/17/2/linux-boot-and-startup
http://www.linusakesson.net/programming/tty/
https://en.wikipedia.org/wiki/Linux_startup_process
https://www.ibm.com/developerworks/library/l-linuxboot/index.html
https://rtfmp.com/2017/03/21/how-does-linux-kernel-know-to-load-init/
https://unix.stackexchange.com/questions/90027/what-is-the-sequence-loading-linux-kernel-module-on-startup-how-priority-is-set
https://unix.stackexchange.com/questions/34462/why-does-linux-allow-init-bin-bash
https://unix.stackexchange.com/questions/89923/how-does-linux-load-the-initrd-image
http://www.tldp.org/LDP/intro-linux/html/sect_04_02.html

SED AWK REGEX

http://www.alexonlinux.com/sed-the-missing-manual

init / login / shell

Slide 52 onwards - https://www.slideshare.net/parkerfong9/linux-training-24853599

NALS

https://en.m.wikipedia.org/wiki/Content_delivery_network

CONCURRENCY

Advanced Go Concurrency Patterns - https://www.youtube.com/watch?v=QDDwwePbDtw
CSP Threads - https://swtch.com/~rsc/thread/

CLOSURES

https://en.wikipedia.org/wiki/Closure_(computer_programming)
https://www.learnpython.org/en/Closures
https://www.programiz.com/python-programming/closure
https://stackoverflow.com/questions/4020419/why-arent-python-nested-functions-called-closures

TROUBLESHOOTING

Find process using high memory in linux - https://kerneltalks.com/howto/find-process-using-high-memory-in-linux/
How to safely remove disk from lvm - https://kerneltalks.com/howto/how-to-safely-remove-disk-from-lvm/

PROGRAMMING

C / C++ and Dynamic memory allocation - http://www.yolinux.com/TUTORIALS/Cpp-DynamicMemory.html
Socket programming and the C BSD API - http://www.yolinux.com/TUTORIALS/Sockets.html
Loadable Kernel Module Programming and System Call Interception (OLD…) - http://www.linuxjournal.com/article/4378
C/C++ Memory Corruption And Memory Leaks - http://www.yolinux.com/TUTORIALS/C++MemoryCorruptionAndMemoryLeaks.html
Unix And C/C++ Runtime Memory Management For Programmers - https://csserver.evansville.edu/~amr63/linux/unix_programming/unix-memory/unix-memory.html
C++ Memory Management: From Fear to Triumph - http://www.linuxdevcenter.com/pub/a/linux/2003/05/08/cpp_mm-1.html

PROGRAMMING PYTHON

optparse - http://www.alexonlinux.com/pythons-optparse-for-human-beings
Lambdas Forever - http://www.ragestorm.net/blogs/?p=30

Programming

https://stackoverflow.com/questions/1112343/how-do-i-capture-sigint-in-python
https://docs.python.org/3/library/threading.html#module-threading

Security

Disk forensics (ext4) - https://digital-forensics.sans.org/blog/2010/12/20/digital-forensics-understanding-ext4-part-1-extents Sleuthkit (forensic tools) - https://www.sleuthkit.org/
Hal Pomeranz blog - http://www.deer-run.com/~hal/

Sanitize PATH - https://stackoverflow.com/questions/42185655/sanitize-path-for-find-execdir - https://askubuntu.com/questions/621132/why-using-the-execdir-action-is-insecure-for-directory-which-is-in-the-path/621163#621163

Guau !! - Mico Maco big brother !!

https://www.bottomupcs.com/

Endianness: Big and Little Endian Byte Order
Programming

Start at page 21 for programers tricks

Advanced Systems Programming (Fall 2007)
http://cs.usfca.edu/~cruse/cs635/
Molt de codi per kernel, drivers, etc.

INTERVIEW QUESTIONS

http://www.linuxnix.com/category/interviews-2/
http://www.linuxnix.com/category/Programming/

Linux in general

http://www.geeksforgeeks.org/about/
https://www.google.es/search?client=firefox-b&q=geeksforgeeks+vs&spell=1&sa=X&ved=0ahUKEwj65t7-1PTVAhXPZlAKHdyDDTUQBQgZKAA&biw=1161&bih=740
https://www.quora.com/Which-is-better-LeetCode-or-GeeksforGeeks
https://www.quora.com/Which-is-better-HackerRank-or-GeeksForGeeks-for-interview-preparation
https://play.google.com/store/apps/details?id=com.freetymekiyan.apas&hl=es&referrer=utm_source%3Dgoogle%26utm_medium%3Dorganic%26utm_term%3Dleetcode&pcampaignid=APPU_1_D6uhWaXrE4aP0gX4zY6wDg

Sites worth visiting

https://idea.popcount.org/
https://kerneltalks.com/

Ponyhof about VT and logind

Thoughts on Linux System Compositors
https://dvdhrm.wordpress.com/2013/07/08/thoughts-on-linux-system-compositors/

Session-Management on Linux
https://dvdhrm.wordpress.com/2013/08/24/session-management-on-linux/

How VT-switching works
https://dvdhrm.wordpress.com/2013/08/24/how-vt-switching-works/

Sane Session-Switching
https://dvdhrm.wordpress.com/2013/08/25/sane-session-switching/

MD - TODOS - FMC_CODES