mirror of https://github.com/01-edu/public.git
5 changed files with 91 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||||||
|
Q. How did the programmer die in the shower? |
||||||
|
A. He read the shampoo bottle instructions: Lather. Rinse. Repeat. |
||||||
|
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~ |
||||||
|
|
||||||
|
How many programmers does it take to change a light bulb? |
||||||
|
None – It’s a hardware problem |
||||||
|
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~ |
||||||
|
|
||||||
|
Why do programmers always mix up Halloween and Christmas? |
||||||
|
Because Oct 31 equals Dec 25. |
@ -0,0 +1,16 @@ |
|||||||
|
“The best TDD can do, is assure that code does what the programmer thinks it should do. That is pretty good BTW.” |
||||||
|
|
||||||
|
“Simply put, things always had to be in a production-ready state: if you wrote it, you darn well had to be there to get it running!” |
||||||
|
|
||||||
|
“If you think it’s expensive to hire a professional, wait until you hire an amateur.” |
||||||
|
|
||||||
|
“Programming is not a zero-sum game. Teaching something to a fellow programmer doesn’t take it away from you.” |
||||||
|
|
||||||
|
“A phased approach to continuous delivery is not only preferable, it’s infinitely more manageable.” |
||||||
|
|
||||||
|
“So, what do you do?” |
||||||
|
“I’m lean” |
||||||
|
“What?” |
||||||
|
“I’m agile” |
||||||
|
“What?” |
||||||
|
“Fine. I make websites.” |
@ -0,0 +1,16 @@ |
|||||||
|
#!/usr/bin/env bash |
||||||
|
|
||||||
|
# Unofficial Bash Strict Mode |
||||||
|
set -euo pipefail |
||||||
|
IFS=' |
||||||
|
' |
||||||
|
script_dirS=$(cd -P "$(dirname "$BASH_SOURCE")" &>/dev/null && pwd) |
||||||
|
|
||||||
|
challenge() { |
||||||
|
submitted=$(ls -l "$1" && bash "$script_dirS"/student/easy-perm.sh) |
||||||
|
expected=$(ls -l "$1" && bash "$script_dirS"/solutions/easy-perm.sh) |
||||||
|
|
||||||
|
diff <(echo "$submitted") <(echo "$expected") |
||||||
|
} |
||||||
|
|
||||||
|
challenge easy-perm/ |
@ -0,0 +1 @@ |
|||||||
|
chmod 644 easy-perm/example.txt && chmod 746 easy-perm/example2.txt |
Loading…
Reference in new issue