Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am tpiha on github.
  • I am tpiha (https://keybase.io/tpiha) on keybase.
  • I have a public key ASBt_n0bTGgav-kPNpTxlp63VqwsSHqkioP_yNhCdvfs9Qo

To claim this, I am signing this object:

server {
listen 80 default_server;
listen [::]:80 default_server;
server_name picostats.com www.picostats.com;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl;
listen [::]:443 ssl;
[program:picostats]
command=/home/picostats/picostats/picostats
stderr_logfile=/home/picostats/picostats.err
stdout_logfile=/home/picostats/picostats.log
directory=/home/picostats/picostats
[program:picostats-web]
command=/home/picostats/picostats-web/picostats-web
stderr_logfile=/home/picostats/picostats-web.err
stdout_logfile=/home/picostats/picostats-web.log
package workers
type Action interface {
Call(queue string, message *Msg, next func() bool) bool
}
type Middlewares struct {
actions []Action
}
package workers
import (
"fmt"
"log"
"net/http"
"os"
)
const (
whois 185.20.29.105
% This is the RIPE Database query service.
% The objects are in RPSL format.
%
% The RIPE Database is subject to Terms and Conditions.
% See http://www.ripe.net/db/support/db-terms-conditions.pdf
% Note: this output has been filtered.
% To receive output for a database update, use the "-B" flag.
<?php
if (isset($_GET['poslovni_korisnici'])) {
$active1 = 'class="active"';
}
else {
$active1 = '';
}
if(isset($_GET['korisnici'])) {
$active2 = 'class="active"';
<Response>
<Dial>
<Sip username="twilio_username" password="twilio_password">user@sip.twilio.com</Sip>
</Dial>
</Response>
<Response>
<Say>Dialing Piha's Cell Phone</Say>
<Dial forwardedFrom="11111111111" callerId="555" callbackUrl="http://webhookr.com/3KLxTa/dial/callback" action="http://webhookr.com/3KLxTa/dial/hangup">385955388411</Dial>
</Response>
DEBUG:root:Environment: config.DevelopmentConfig
DEBUG:boto:Using access key provided by client.
DEBUG:boto:Using secret key provided by client.
INFO:werkzeug: * Running on http://127.0.0.1:5000/
INFO:werkzeug: * Restarting with reloader
DEBUG:root:Environment: config.DevelopmentConfig
DEBUG:boto:Using access key provided by client.
DEBUG:boto:Using secret key provided by client.
DEBUG:amqp:Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL. See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2013 GoPivotal, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'basic.nack': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'platform': u'Erlang/OTP', u'version': u'3.2.4'}, mechanisms: [u'AMQPLAIN', u'PLAIN'], locales: [u'en_US']
DEBUG:amqp:Open OK!