Due to the high usage of this guide and the lack of comfort in Gist's commenting area, I decided to make a blog post out of this which you can find here:
http://blog.frd.mn/install-os-x-10-10-yosemite-in-virtualbox/
/** | |
* Retrieves all the rows in the active spreadsheet that contain data and logs the | |
* values for each row. | |
* For more information on using the Spreadsheet API, see | |
* https://developers.google.com/apps-script/service_spreadsheet | |
*/ | |
function readRows() { | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
var rows = sheet.getDataRange(); | |
var numRows = rows.getNumRows(); |
# restore_packages.R | |
# | |
# installs each package from the stored list of packages | |
# source: http://hlplab.wordpress.com/2012/06/01/transferring-installed-packages-between-different-installations-of-r/ | |
load("~/installed_packages.rda") | |
for (count in 1:length(installedpackages)) { | |
install.packages(installedpackages[count]) | |
} |
Due to the high usage of this guide and the lack of comfort in Gist's commenting area, I decided to make a blog post out of this which you can find here:
http://blog.frd.mn/install-os-x-10-10-yosemite-in-virtualbox/
# The difference between the `sep` and `collapse` arguments | |
# in paste can be thought of like this: | |
# | |
# paste can accept multiple *vectors* as input, and will | |
# concatenate the ith entries of each vector pairwise | |
# (or tuplewise), if it can. | |
# | |
# When you pass paste multiple vectors, sep defines what | |
# separates the entries in those tuple-wise concatenations. | |
# |
stat_smooth_func <- function(mapping = NULL, data = NULL, | |
geom = "smooth", position = "identity", | |
..., | |
method = "auto", | |
formula = y ~ x, | |
se = TRUE, | |
n = 80, | |
span = 0.75, | |
fullrange = FALSE, | |
level = 0.95, |
Create links within a single note. An alternate version for Create cross reference links in Evernote (OSX) that does not require the pasteboard
ruby gem.
Yosemite
and Mavericks
)>6.0.0
)Caveat:
autopy - simple, cross-platform GUI automation toolkit. MIT - https://github.com/msanders/autopy/
set theFolder to choose folder with prompt "Select folder with original pages files :" | |
--Do it | |
tell application "Finder" | |
set theNames to name of files of theFolder ¬ | |
whose name extension is "pages" | |
end tell | |
-- How many files to export | |
set item_count to (get count of items in theNames) |
#! /usr/bin/env python | |
# coding: utf-8 | |
''' | |
auto switch keyboard between different applications | |
if you want to change the app list, modify the var 'ignore_list' | |
''' | |
from AppKit import NSWorkspace, NSWorkspaceDidActivateApplicationNotification, NSWorkspaceApplicationKey |
Simple toggleable menubar replacement for Caffeine in Hammerspoon, utilizing ASCIImage (for vector) to create the amphetamine icons. Motivated by the official Caffeine app's icon looking bad on Retina
Get latest version here: amphetamine.lua
Save as amphetamine.lua
in ~/.hammerspoon/
and put amphetamine = require "amphetamine"
in your init.lua