This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
No. Time Source Destination Protocol Length Info | |
130756 74.594458000 192.168.1.100 54.225.126.250 HTTP 1158 POST /api/upload/file HTTP/1.1 (JPEG JFIF image)[Malformed Packet] | |
Frame 130756: 1158 bytes on wire (9264 bits), 1158 bytes captured (9264 bits) on interface 0 | |
Interface id: 0 | |
Encapsulation type: Ethernet (1) | |
Arrival Time: Sep 19, 2013 17:51:04.969407000 VOLT | |
[Time shift for this packet: 0.000000000 seconds] | |
Epoch Time: 1379598664.969407000 seconds | |
[Time delta from previous captured frame: 0.000003000 seconds] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- encoding: utf-8 -*- | |
# список для сохзранения введенных данных | |
input_list = [] | |
n = 0 # сюда будем вводить числа | |
while not n < 0: # пока n не отрицательно | |
# просим пользователя ввести число | |
n = float(input("Enter the num: ")) | |
# и добавляем это число в список |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% verbatim %} | |
<script type="text/javascript"> | |
$("#id_model_auto").fancyfields(); | |
$("#id_auto_vendor_select").fancyfields({ | |
onSelectChange: function (input,text,val){ | |
console.log("Current input - ID : "+input.attr("id") + " , selected text : " + text + " , value : " + val); | |
var url = "/classifieds/auto-liist/" + val + "/"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import qbs | |
import qbs.FileInfo | |
import qbs.Xml | |
Module { | |
property bool compress: false | |
FileTagger { | |
patterns: "*.qrc" | |
fileTags: ["qrc"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.contrib import admin | |
from example.models import Example | |
class ExampleAdmin(admin.ModelAdmin): | |
""" | |
Don't allow addition of more than one model instance in Django admin | |
See: http://stackoverflow.com/a/12469482 | |
""" | |
def has_add_permission(self, request): |