Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
1- Go to: https://www.facebook.com/{your_id_or_username}/allactivity/?category_key=LIKEDPOSTS&filter_hidden=ALL&filter_privacy=NONE
You can use Filter to choose year or month.
2- Open the console and run the following JavaScript code and wait:
setInterval(() => {
for (const Button of document.querySelectorAll('div[aria-label="Action options"]')) {
Button.click()
document.querySelector('div[role="menuitem"]').click()
}
}, 1000)
Andy Thomason is a Senior Programmer at Genomics PLC. He has been witing graphics systems, games and compilers since the '70s and specialises in code performance.
| #!/usr/bin/env bash | |
| # Lets you `cd 'iCloud Drive'` from your home directory, | |
| # or `cd ~/iCloud\ Drive` from elsewhere. | |
| ln -sv ~/Library/Mobile\ Documents/com~apple~CloudDocs/ ~/iCloud\ Drive | |
| chflags -h hidden ~/iCloud\ Drive |
Use React with Gulp, Browserify and Babelify. This allows you to use React in jsx & node.js style.
It let's you use require('module') in your JavaScript. Babelify will transform the jsx code to JavaScript code.
gulp build-react
This will generate a main.min.js file in the build directory with sourcemaps.
| // default exports | |
| export default 42; | |
| export default {}; | |
| export default []; | |
| export default foo; | |
| export default function () {} | |
| export default class {} | |
| export default function foo () {} | |
| export default class foo {} |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
In this article, I'll walk through a basic Rails (3.2.x) setup for creating a nested resource for two models. Nested resources work well when you want to build out URL structure between two related models, and still maintain a RESTful convention. This code assumes you are running RVM to manage Ruby/Gem versions, and Git for version control.
$ mkdir family # create rvm gemset
$ echo "rvm use --create ruby-1.9.2@family" > family/.rvmrc
$ cd family # install rails
$ gem install rails # create new rails project
$ rails new . # version control