Old serializers.py
:
class ASerializer(serializers.Serializer):
f1 = serializers.IntegerField(default=0)
f2 = serializers.IntegerField(default=1)
def restore_object(self, attrs, instance=None):
return A(**attrs)
LOGGING = { | |
'version': 1, | |
'disable_existing_loggers': False, | |
'handlers': { | |
'file': { | |
'level': 'DEBUG', | |
'class': 'logging.FileHandler', | |
'filename': '/var/log/django.atcui.log', | |
}, | |
}, |
fortune | cowsay -f $(cowsay -l | tail -n +2 | tr ' ' '\n' | sort -R | head -n1) | lolcat |
@chantra @zfjagann @asanyal902 still facing problem down is complete network setup. Ty for ur support and reply | |
 | |
iptables entry | |
# Generated by iptables-save v1.4.21 on Thu May 7 22:56:57 2015 | |
*nat | |
:sudo iptables -t nat -P PREROUTING ACCEPT [13:2526] | |
sudo iptables -t nat -P INPUT ACCEPT |
#!/usr/bin/env bash | |
profiles=$(netctl list | grep "^*" | awk '{print $2}') | |
for x in ${profiles} ; do | |
netctl status $x | |
echo ; echo | |
done |
Old serializers.py
:
class ASerializer(serializers.Serializer):
f1 = serializers.IntegerField(default=0)
f2 = serializers.IntegerField(default=1)
def restore_object(self, attrs, instance=None):
return A(**attrs)
g++ -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../.././gcc -I../.././gcc/build -I../.././gcc/../include -I../.././gcc/../libcpp/include -D_FORTIFY_SOURCE=2 \ | |
-o build/genmddeps.o ../.././gcc/genmddeps.c | |
{standard input}: Assembler messages: | |
{standard input}:11: Error: unrecognized opcode `pushq %rbx' | |
{standard input}:14: Error: unrecognized opcode `movq %rdi,%rbx' | |
{standard input}:15: Error: unrecognized opcode `movl $16,%edi' | |
{standard input}:16: Error: unrecognized opcode `call xmalloc' | |
{standard input}:17: Error: unrecognized opcode `movq _ZL4last(%rip),%rdx' | |
{standard input}:18: Error: unrecognized opcode `movq %rbx,8(%rax)' | |
{standard input}:19: Error: unrecognized |
++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++. |