Skip to content

Instantly share code, notes, and snippets.

Traceback (most recent call last):
File "/usr/bin/salt-minion", line 14, in <module>
salt_minion()
File "/usr/lib/pymodules/python2.7/salt/scripts.py", line 28, in salt_minion
minion.start()
File "/usr/lib/pymodules/python2.7/salt/__init__.py", line 121, in start
log.warn('Stopping the Salt Minion')
AttributeError: 'module' object has no attribute 'warn'
from google.appengine.ext import db
import json
class AudioSummary(db.Model):
# keyname would a lower-case artist name.
audio_summary = db.TextProperty()
def prepolulate(artist, content):
@gnunicorn
gnunicorn / Tech Internationals Guide to the Berlin Startup Szene.md
Last active December 14, 2015 11:49
Tech Internationals Guide to the Berlin Startup Szene

Introduction

Well, well, well. So you decided to go to/check out/move to Berlin, Germany, because of its vivid startup scene, he? Alright then, good for you, because there seriously is something going on here. And as I was helping quite a few people to settle in here in the startup scene over the last couple of years, I decided to put all this into this little guide. If you have anything to add: please feel free to make a pull request or use the comments section below.

Disclaimer:

This is totally personally and opinionated and as such doesn't even try to be complete. At all. Don't try this argument on me. This is what I personally recommend everyone, who asks me about. I'll try to keep it up to date, but you better look at the timestamp before going anywhere ;) .

Stay up to date

The first thing you need to do, is to subscribe to the two most important tech-startup-newsletters for Berlin:

//////////////////////////////////////////////////////////////////
// when i get object client side javascript
////////////////////////////////////////////////////////////////
angular.module('ContentServices', ['ng', 'ngResource']).
.factory('Content', function($resource){
return $resource("/api/ContentByGroup/:idGroup");
})
.controller("ContentCtrl", function(Content, $scope) {
$scope.content = Content.query(); // or Content.query({idGroup: 1});
*.pyc
AWS-ElasticBeanstalk-CLI*
bin/
lib/
man/
src/
include/
debug.sqlite
$ gondor --verbose deploy primary bln-peerstreet
WARNING: upgrade /Users/benjaminkampmann/.gondor to YAML
Reading configuration... [ok]
Archiving code from bln-peerstreet... [ok]
Building tarball... [ok]
Pushing tarball to Gondor...
[==================================100%=====================================]
Deploying... [failed]
binary does not exist

OpenTechSchool Learner Spaces Video Script

Introductions

  • A:

    • I’m Amélie

    • Software Developers at SoundCloud

  • B:

    • I’m Ben

@gnunicorn
gnunicorn / anchor.conf
Last active December 16, 2015 17:59 — forked from bsdlp/anchor.conf
server {
listen 80;
server_name ;
root /srv/www/anchor;
index index.php index.html;
try_files $uri $uri/ /index.php;
@gnunicorn
gnunicorn / emailer.js
Last active August 25, 2018 13:04
Mass emailer with auto reply for forms
/*
* Mass Emailer Google Spreadsheet and Forms Script.
*
* Changelog:
* 19. June 2013
* - also copy CC and BCC from draft email
* 27. May 2013
* - bugfix, kudos to @stefanhoth: the col is called "Email"
* - show the quota left for the day (thanks to @stefanhoth)
* 30. Apr. 2013
<body id="">
<div class="" style="
display: table;
text-align: center;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;