Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
# -*- coding: utf-8 -*-
import sys
import time
from PyQt4 import QtCore
from PyQt4 import QtGui
from ui_selam import Ui_MainWindow #pyuic'le donusturulmus ui dosyası import edilir
class MainWindow(QtGui.QMainWindow, Ui_MainWindow):
def __init__(self):
@ugurcan377
ugurcan377 / gist:3215031
Created July 31, 2012 08:36
Simple Routing API
import logging
logger = logging.getLogger(__name__)
from spyne.model.fault import Fault
from werkzeug.routing import Map
from werkzeug.routing import Rule
class UrlMapNotBinded(Fault):
"""Raised when url_map is not binded to a wsgi environment"""
def __init__(self, faultstring="Please bind url_map first"):
#!/usr/bin/env python
#
# spyne - Copyright (C) Spyne contributors.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
DEBUG:spyne.server.wsgi:Method name: 'download_file'
DEBUG:spyne.protocol.http: header : {'host': ['localhost:7789'], 'accept': ['text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'], 'connection': ['keep-alive'], 'cookie': ['csrftoken=f17ecdf6c9a76539530dffe740da5b29'], 'user_agent': ['Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0'], 'accept_language': ['tr-TR,tr;q=0.8,en-US;q=0.5,en;q=0.3'], 'referer': ['http://localhost:7789/example/0.1.0'], 'accept_encoding': ['gzip, deflate']}
DEBUG:spyne.protocol.http: body : {'file_name': [u'example-0.1.0.tar.gz'], 'project_name': [u'example'], 'version': [u'0.1.0']}
DEBUG:spyne.protocol.dictobj: set freq ('file_name',) = 1
DEBUG:spyne.protocol.dictobj: set default ('file_name',)('file_name') = u'example-0.1.0.tar.gz'
DEBUG:spyne.protocol.dictobj: set freq ('project_name',) = 1
DEBUG:spyne.protocol.dictobj: set default ('project_name',)('project_name') = u'example'
DEBUG:spyne.protocol.dictobj: set freq ('version',) = 1
DEB
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.quantumbadger.redreader/org.quantumbadger.redreader.activities.MainActivity}: java.lang.IllegalArgumentException: HİDDEN is not a constant in org.quantumbadger.redreader.fragments.MainMenuFragment$MainMenuUserItems
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2205)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2255)
at android.app.ActivityThread.access$600(ActivityThread.java:146)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1240)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5171)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
Katkıcı Ahdi Topluluk Sözleşmesi
Teminatımız
In the interest of fostering an open and welcoming environment,
katkıcıları ve yürütücüleri olarak, projemize katkı vermeyi yaş, beden tipi,
engel durumu, etnik köken, cinsel kimlik, cinsel yönelim, cinsiyet ifadesi,
tecrübe, milliyet, dış görünüş, ırk ve din ayrımı gözetmeden herkes için
keyifli ve güvenli bir tecrübe haline getirmeyi taahhüt ederiz.
ugurcan@ugurcangsu:~/workspace/go/src/git.opendaylight.org/gerrit/p/coe.git/odlCNIPlugin/odlovs-cni$ ./build.sh
GOPATH= /home/ugurcan/workspace/go/src/git.opendaylight.org/gerrit/p/coe.git/odlCNIPlugin/odlovs-cni/vendor
# github.com/vishvananda/netlink
vendor/src/github.com/vishvananda/netlink/bpf_linux.go:45:31: undefined: unix.SYS_BPF
vendor/src/github.com/vishvananda/netlink/bridge_linux.go:22:27: undefined: unix.IFLA_EXT_MASK
vendor/src/github.com/vishvananda/netlink/bridge_linux.go:38:9: undefined: unix.IFLA_AF_SPEC
vendor/src/github.com/vishvananda/netlink/bridge_linux.go:90:21: undefined: unix.IFLA_AF_SPEC
vendor/src/github.com/vishvananda/netlink/link_linux.go:30:43: undefined: unix.IFF_MULTI_QUEUE
vendor/src/github.com/vishvananda/netlink/link_linux.go:31:2: const initializer TUNTAP_MULTI_QUEUE | TUNTAP_NO_PI is not a constant
vendor/src/github.com/vishvananda/netlink/link_linux.go:380:23: undefined: unix.IFLA_VFINFO_LIST
apiVersion: v1
kind: Pod
metadata:
name: nginx
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx
apiVersion: v1
kind: Pod
metadata:
name: nginx
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
labels:
app: nginx
spec:
replicas: 5
selector:
matchLabels: