by Betsy Haibel
ideas from 📕 Pedagogy of the Oppressed by Paulo Freire
Motivations for learning in tech and engineering:
(* | |
* embed this applescript into an Automator workflow to batch-convert | |
* MS Word documents (.doc, .docx) into PDF using Apple Pages. | |
*) | |
on run {input, parameters} | |
tell application "Pages" | |
activate | |
repeat with doc in input |
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 centerSome 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]
(* | |
* Example of a simple string-to-date parser. | |
* Uses AppleScript's text item delimiters to split the input string | |
*) | |
set tid to AppleScript's text item delimiters | |
set AppleScript's text item delimiters to {"-", "T", ":", "Z"} | |
set dateString to "2011-12-23T08:00:00Z" -- what's Z for? |
# this script converts all PDFs and images selected in Finder | |
# to the TIFF format and appends .tif to the file name | |
set t to (time of (current date)) | |
tell application "Finder" to set sel to selection | |
set errors to {} | |
tell application "Image Events" | |
repeat with img_file in sel | |
try | |
set img_file to img_file as text |
# 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 |
#!/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 | |
🚚 this content has moved