Check your version with:
$Psversiontable.psversion
If you are below Major: 5, Minor:1
head to Microsoft's download site to get the latest.
Check your version with:
$Psversiontable.psversion
If you are below Major: 5, Minor:1
head to Microsoft's download site to get the latest.
I hereby claim:
To claim this, I am signing this object:
/* | |
Set the Subject & recipient email. | |
Change the prbability times if you feel inclined. | |
Go to Extensions -> App Script and dump this code in so it fetches it dynamically | |
App uses.gs but syntax highlight with JS. | |
*/ | |
function sendDocByEmail() { | |
// Fetch the ID of the document where the script editor has been opened | |
var docId = DocumentApp.getActiveDocument().getId(); |
If you're doing stuff with Ruby on a Mac, e.g. installling Jekyll or something, by default you'll end up having to use the sudo
command to do stuff, since the permission to modify the default config is not available to your user account.
This sucks and should be avoided. Here's how to fix that.
To make this better, we are going install a new, custom Ruby. This used to be a big, scary thing, but thanks to the awesome tools Homebrew and rbenv, it's a snap.*