Skip to content

Instantly share code, notes, and snippets.

View emetselaar's full-sized avatar

Edwin Metselaar emetselaar

View GitHub Profile
import pandas as pd
# docs can be found at http://gspread.readthedocs.io/en/latest/
import gspread
from oauth2client.service_account import ServiceAccountCredentials
def get_googlesheet_worksheet(json_keyfile_name, sheet_name, worksheet_name):
scope = ['https://spreadsheets.google.com/feeds']
creds = ServiceAccountCredentials.from_json_keyfile_name(json_keyfile_name, scope)
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Audio archive</title>
<style>
body {
font-family: helvetica,arial,sans-serif;
color: #333;
@geekdevs
geekdevs / mobile-panel-size.less
Created April 22, 2013 08:22
Jquery mobile changing panel width
@left-panel-width: 17em;
@right-panel-width: 35em;
.ui-panel {
width: @left-panel-width;
}
.ui-panel.ui-panel-position-right {
width: @right-panel-width;
}
<!doctype html>
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ -->
<html>
<head>
<title>iOS 8 web app</title>
<!-- CONFIGURATION -->