Skip to content

Instantly share code, notes, and snippets.

View philippkeller's full-sized avatar

Philipp Keller philippkeller

View GitHub Profile
@philippkeller
philippkeller / pulldata.js
Created February 14, 2014 22:03
Proxy for Google Spreadsheets
var url = "https://spreadsheets.google.com/feeds/list/.../od6/public/values";
// need to proxy via YQL because of strange "session timeout" issue
// that is strangely not really documented on the web
$.getJSON("http://query.yahooapis.com/v1/public/yql", {q: "select * from xml where url='"+url+"'", format: "json"}).success(function(data) {
var data = data.query.results.feed.entry;
});
@philippkeller
philippkeller / export_csv.py
Last active August 29, 2015 14:00
exports csv file from goodbudget (eeba)
#!/usr/bin/env python
from requests import session
import csv
payload = {
'_username': '…',
'_password': '…',
'_remember_me': 'on',
}
@philippkeller
philippkeller / Gruntfile.coffee
Last active August 29, 2015 14:02 — forked from blockloop/Gruntfile.js
Setup for auto reload (livereload) changes of coffeescript in hexo
module.exports = ->
@initConfig
watch:
sourceFiles:
options:
livereload: true
files: ['themes/**','scaffolds/**','scripts/**','source/**','!source/**/site.coffee','app.js']
tasks: ['shell:hexoGen']

'Good News Bible' in Time For Christmas, Bicentennial, Baptist Press 12/10/76

NEWYORK, N. Y. (BP)--The American Bible Society (ABS) made history here--just in time for Christmas and the final days of the nation's bicentennial.

~~~

Appropriately, they released in December the complete" Good News Bible" in Today's English Version (TEV) , described as a "common-language, dynamic-equivalent translation in contemporary English." What makes the new version significant for the ABS is that it is the first English Bible translation the Society has produced on its own. The new Bible, said to be as readable as the modern daily newspaper, is expected to break previous records in publishing, an ASS spokesman said. The first press order totals 1.2 million copies, he said. ABS officials anticipate a distribution of 10 million copies during the first year the translation is on the market.

An eight-man team of translators produced the basic text of the Old Testament in the TEVI the last portion of the

@philippkeller
philippkeller / Vorkommen und Anzahl in Matthäus.md
Last active August 29, 2015 14:11
Gute Nachricht Bibel: Übersetzung von βασιλεία τοῦ θεός und βασιλεία τῶν οὐρανῶν (Reich Gottes) in Matthäus

Neue Welt

20 Mal:
Mt 5,3;5,10+19+20;7,21;8,11;11,11;13,24;13,43;13,44;13,45;16,19;18,1;18,3+4;19,14;19,23;19,24;21,31;23,13;

Herrschaft aufrichten

12 Mal:
Mt 3,2;4,17;10,7;11,12;12,28;13,11;13,31;13,33;18,23;19,12;22,2;24,14;

@philippkeller
philippkeller / thai.js
Last active August 29, 2015 14:18
Parse Chiangmai
var YQL = require("yql");
var weekdays = ["sonntag", "montag", "dienstag", "mittwoch", "donnerstag", "freitag", "samstag"]
var d=new Date()
var url = "http://www.chiang-mai.ch/take-away-" + weekdays[d.getDay()] + "/"
new YQL.exec("select * from html where url='" + url + "' and xpath='//div[@id=\"box_02\"]//text()'", function(response) {
var menues = response.query.results;
menues = menues.replace(/[\r]*/g, "");
menues = menues.replace(/(\n[ ]*)+/g, "\n");
for (var i = 1; i < 10; i++) {
@philippkeller
philippkeller / .bash_profile
Created December 27, 2012 12:28
Minimum setup for getting Django 1.3 to work in Google App Engine. Do this in this order: 1. add .bash_profile lines 2. django-admin.py startproject mysite # generates mysite directory) 3. in GoogleAppEngineLauncher: create project within the mysite directory you just created (=> generates main.py and app.yaml, etc.) 4. alter main.py and app.yam…
export GAE="/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine"
export PYTHONPATH="$PYTHONPATH:$GAE:$GAE/lib/django_1_3"
export PATH=${PATH}:$GAE/lib/django_1_3/django/bin/
ERROR 2012-12-29 09:07:06,223 base.py:215] Internal Server Error: /favicon.ico
Traceback (most recent call last):
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/django_1_4/django/core/handlers/base.py", line 89, in get_response
response = middleware_method(request)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/django_1_4/django/middleware/common.py", line 67, in process_request
if (not urlresolvers.is_valid_path(request.path_info, urlconf) and
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/django_1_4/django/core/urlresolvers.py", line 531, in is_valid_path
resolve(path, urlconf)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/dja
from ewstype import EWSType
from suds.sax.element import Element
from suds.transport.https import HttpAuthenticated
from suds.client import Client
from suds import WebFault
from datetime import datetime
import urllib2
import os