Get and Show cell's value from Google Spreadsheet Widget for Dashing.
gem 'google-api-client'gem 'google_drive'
dashing install e0ad37c2e137d2da0916
| /** | |
| * Definition for a binary tree node. | |
| * function TreeNode(val) { | |
| * this.val = val; | |
| * this.left = this.right = null; | |
| * } | |
| */ | |
| /** | |
| * @param {TreeNode} root | |
| * @param {number} key |
| /* Deleting a node from Binary search tree */ | |
| #include<iostream> | |
| using namespace std; | |
| struct Node { | |
| int data; | |
| struct Node *left; | |
| struct Node *right; | |
| }; | |
| //Function to find minimum in a tree. | |
| Node* FindMin(Node* root) |
| #!/usr/bin/env ruby | |
| require 'pdf/reader' # gem install pdf-reader | |
| # credits to : | |
| # https://github.com/yob/pdf-reader/blob/master/examples/text.rb | |
| # usage example: | |
| # ruby pdf2txt.rb /path-to-file/file1.pdf [/path-to-file/file2.pdf..] | |
| ARGV.each do |filename| | |
| PDF::Reader.open(filename) do |reader| |
| #!/bin/bash | |
| # | |
| # Example of how to parse short/long options with 'getopt' | |
| # | |
| OPTS=`getopt -o vhns: --long verbose,dry-run,help,stack-size: -n 'parse-options' -- "$@"` | |
| if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi | |
| echo "$OPTS" |
| #!/bin/sh | |
| # | |
| # a simple way to parse shell script arguments | |
| # | |
| # please edit and use to your hearts content | |
| # | |
| ENVIRONMENT="dev" |