Skip to content

Instantly share code, notes, and snippets.

View zulman's full-sized avatar
:octocat:
undefined string

Oleg Chumakov zulman

:octocat:
undefined string
View GitHub Profile
local function AlwaysTrue()
return true
end
local function EqualObjects(...)
local FirstObject = select(1, ...)
for Index = 2, select("#", ...) do
if FirstObject ~= select(Index, ...) then
return false

Build tensorflow on OSX with NVIDIA CUDA support (GPU acceleration)

These instructions are based on Mistobaan's gist but expanded and updated to work with the latest tensorflow OSX CUDA PR.

Requirements

OS X 10.10 (Yosemite) or newer

@mogsdad
mogsdad / getLayoutString.gs
Created December 12, 2015 03:45
Google Apps Script utility to Get the string representing a PositionedLayout enum. See https://mogsdad.wordpress.com.
/**
* Get the string representing the given PositionedLayout enum.
* Ref: https://developers.google.com/apps-script/reference/document/positioned-layout
*
* From: gist.github.com/mogsdad/7fed0b18837b9027f968
* See: stackoverflow.com/a/20661113/1677912
*
* @param {PositionedLayout} PositionedLayout Enum value.
*
* @returns {String} English text matching enum.