Using djangorestframework-csv [1] package like this, I can done the view
You need install it:
pip install --timeout 120 djangorestframework-csv
[1] https://github.com/mjumbewu/django-rest-framework-csv
<?php | |
if($argc != 2) { | |
echo "Use: php hello.php [name].\n"; | |
exit(1); | |
} | |
$name = $argv[1]; | |
echo "Hello, $name\n"; |
-- ddl my_db | |
-- create database my_db; | |
-- use my_db; | |
create table person( | |
id int not null, | |
name varchar(50), | |
lastname varchar (40), | |
age varchar (1), |
Using djangorestframework-csv [1] package like this, I can done the view
You need install it:
pip install --timeout 120 djangorestframework-csv
[1] https://github.com/mjumbewu/django-rest-framework-csv
mkdir -p ~/.conda/pkgs && printf 'pkgs_dirs:\n - ~/.conda/pkgs\n' >> ~/.condarc |
I hereby claim:
To claim this, I am signing this object:
Warning
This was written in 2005 so may be out of date. Originally published on the old Plone documentation section: https://plone.org/documentation/kb-old/debug-zodb-bloat/
Having spent a lot of time tracking down the cause of ZODB bloat in an Archetypes application I thought I'd share my experience in case it was useful to anyone else.
#!/bin/bash | |
# CONST 1GB | |
CONST_1GB="1024*1024*1024" | |
# VARIABLE WORKERS | |
CMD_W=0 |
# Author: Ryan Cole | |
# Website: https://ryanc.me | |
# GitHub: https://github.com/MGinshe | |
# Usage: | |
# Place this file in /etc/nginx/sites-enabled/ | |
# Make sure you edit the DOMAIN_HERE and SSL_CERTIFICATE, and DB_FILTER sections | |
# | |
# Note: This config file is designed to be used with the Odoo dbfilter_from_header module | |
# https://apps.openerp.com/apps/modules/9.0/dbfilter_from_header/ |
SHELL=/bin/bash | |
# to see all colors, run | |
# bash -c 'for c in {0..255}; do tput setaf $c; tput setaf $c | cat -v; echo =$c; done' | |
# the first 15 entries are the 8-bit colors | |
# define standard colors | |
ifneq (,$(findstring xterm,${TERM})) | |
BLACK := $(shell tput -Txterm setaf 0) | |
RED := $(shell tput -Txterm setaf 1) |