by Betsy Haibel
ideas from 📕 Pedagogy of the Oppressed by Paulo Freire
Motivations for learning in tech and engineering:
by Betsy Haibel
ideas from 📕 Pedagogy of the Oppressed by Paulo Freire
Motivations for learning in tech and engineering:
It depends, of course, on whether you’re looking for nature, culture, history, art, music, or night life, but here are some things to check out:
All these resources have actually helped me.
grep
is called grep
(this will make you the center# for each git alias of the form XX, create fish abbreviation gXX | |
function git_alias --desc "Add a git abbreviation" | |
abbr -a g$argv[1] git $argv[2] | |
end | |
for _alias in (git config --global --get-regexp '^alias\.*' | sed s/alias.//) | |
git_alias (string split -m1 ' ' "$_alias") | |
end |
🚚 this content has moved
Some of these I still subscribe to, others are no longer in my subsctiption list to make time for non-dev related podcasts
Ruby Book Club [RSS] [discontinued] – Nadia Odunayo and Saron Yitbarek read an hour of a Ruby book each week, then summarise and discuss what they learned
Giant Robots Smashing Into Other Giant Robots by thoughtbot [RSS]
function steamroller(arr) { | |
for (var i = 0; i < arr.length; i++) { | |
if(Array.isArray(arr[i])) { | |
// recurse: replace this array with all its elements | |
// for instance, if arr is [1, [2, 3], 4] | |
// then we want to return [1, 2, 3, 4] | |
var left = arr.slice(0, i); | |
var right = arr.slice(i + 1); | |
return steamroller( |
#!/bin/bash | |
# Run `rake -D` and format the task descriptions as a | |
# GitHub-Markdown table (for our Wiki) | |
# Write the output to tasks.md | |
touch tasks.md | |
echo '<dl>' > tasks.md | |
bundle exec rake -D | |
echo "Please pick up the following from the store: $groceries[0]";
This isn't going to work by the way: inserting a variable's value into a string "like $x this"
only works with a simple variable such as $x
– for array elements you have two other options:
String concatenation:
echo "buy ".$groceries[0]." at the store";
save in a variable beforehand:
It’s the one whitespace character between the </div>
and the next <div
!
Because of that whitespace, and because our boxes are displayed as inline-block
, the browser renders an actual whitespace in the current font and size between them, and so the smaller box once again breaks to the next "line".