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
CREATE DOMAIN "BooleanField" AS smallint CHECK (VALUE IN (0,1)); | |
CREATE DOMAIN "NullBooleanField" AS smallint CHECK ((VALUE IN (0,1)) OR (VALUE IS NULL)); | |
CREATE DOMAIN "PositiveIntegerField" AS integer CHECK ((VALUE >= 0) OR (VALUE IS NULL)); | |
CREATE DOMAIN "PositiveSmallIntegerField" AS smallint CHECK ((VALUE >= 0) OR (VALUE IS NULL)); | |
CREATE DOMAIN "TextField" AS varchar(10921); | |
CREATE TABLE "books_publisher" ( | |
"id" integer NOT NULL PRIMARY KEY, | |
"name" varchar(30) NOT NULL, | |
"address" varchar(50) NOT NULL, | |
"city" varchar(60) NOT NULL, |
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
# Django settings for django_frontend project. | |
DEBUG = True | |
TEMPLATE_DEBUG = DEBUG | |
ADMINS = ( | |
# ('Your Name', 'your_email@example.com'), | |
) | |
MANAGERS = ADMINS |
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
CREATE DOMAIN "BooleanField" AS smallint CHECK (VALUE IN (0,1)); | |
CREATE DOMAIN "NullBooleanField" AS smallint CHECK ((VALUE IN (0,1)) OR (VALUE IS NULL)); | |
CREATE DOMAIN "PositiveIntegerField" AS integer CHECK ((VALUE >= 0) OR (VALUE IS NULL)); | |
CREATE DOMAIN "PositiveSmallIntegerField" AS smallint CHECK ((VALUE >= 0) OR (VALUE IS NULL)); | |
CREATE DOMAIN "TextField" AS varchar(10921); | |
CREATE TABLE "books_publisher" ( | |
"id" integer NOT NULL PRIMARY KEY, | |
"name" varchar(30) NOT NULL, | |
"address" varchar(50) NOT NULL, | |
"city" varchar(60) NOT NULL, |
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
<!--[if gte IE 6]> | |
<style type="text/css"> | |
#ie6msg{border:3px solid #090; margin:8px 0; background:#cfc; color:#000;} | |
#ie6msg h4{margin:8px; padding:0;} | |
#ie6msg p{margin:8px; padding:0;} | |
#ie6msg p a.getie7{font-weight:bold; color:#006;} | |
#ie6msg p a.ie6expl{font-weight:normal; color:#006;} | |
</style> | |
<div id="ie6msg"> | |
<h4>Did you know that your browser is not working with the old web 1.x ?</h4> |
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
server { | |
listen 80; | |
server_name www.example.com; | |
# serve static files | |
location ~ ^/(img|images|javascript|js|css|flash|media|static)/ { | |
root /var/www/www; | |
# expires 30d; | |
} | |
location / { |
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
# Generated by the windmill services transformer | |
from windmill.authoring import WindmillTestClient | |
def test_recordingSuite0(): | |
client = WindmillTestClient(__name__) | |
client.click(name=u'q') | |
client.type(text=u'firebird', name=u'q') | |
client.click(name=u'btnG') | |
client.waits.forPageLoad(timeout=u'20000') |
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
#include <stdio.h> | |
#include<stdlib.h> | |
#include <sys/ipc.h> | |
#include <sys/types.h> | |
#include"functii.h" | |
int main() | |
{ | |
pid_t PID1=PID(); | |
struct shmid_ds buff; | |
key_t key; |
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
[base] | |
name=Fedora Core $releasever - $basearch - Base | |
baseurl=http://archive.nl.eu.kernel.org/fedora-archive/core/$releasever/$basearch/os/ | |
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever | |
enabled=1 | |
gpgcheck=1 |
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
[updates-released] | |
name=Fedora Core $releasever - $basearch - Released Updates | |
baseurl=http://archive.nl.eu.kernel.org/fedora-archive/fedora/linux/core/updates/$releasever/$basearch/ | |
#mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever | |
enabled=1 | |
gpgcheck=1 |
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
voi scrie aici experientza de la un upgrade de fedora 3 la 4 | |
ghidul general este aici | |
http://fedoraproject.org/wiki/YumUpgradeFaq#Fedora_Core_3_-.3E_Fedora_Core_4 | |
1.prima eroare a fost ca lipsea keia gpg | |
rpm --import /usr/share/doc/fedora-release-3/RPM-GPG-KEY* | |
2. decomantat #baseurl in /etc/yum.repos.d/fedora.repo |