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
The Lazarus team is glad to <a href=http://lazarus.freepascal.org/index.php/topic,18019.html>announce</a> the release of:<br /> <strong>Lazarus 1.0</strong><br /><br />At this important stage the current team would like to thank all the past and current people who were involved in getting us here.<br />* Thanks also go to the FPC team for providing the compiler that makes it all possible.<br />* Special thanks go to the founders of the project who started Lazarus more than a decade ago in 1999: Cliff Baeseman, Shane Miller and Michael A. Hess.<br />* A history of developers involved can be found at <a href="http://wiki.lazarus.freepascal.org/History" class="bbc_link" target="_blank">http://wiki.lazarus.freepascal.org/History</a>. And a list of the many contributors comes with the distribution. <br /><br />The release is available for download at the SourceForge download page:<br /><a href="http://sourceforge.net/projects/lazarus/files/" class="bbc_link" target="_blank">http://sourceforge.net/projects/la |
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
// Original version of this file was part of InterClient 2.01 examples | |
// | |
// Copyright InterBase Software Corporation, 1998. | |
// Written by com.inprise.interbase.interclient.r&d.PaulOstler :-) | |
// | |
// Code was modified by Roman Rokytskyy to show that Firebird JCA-JDBC driver | |
// does not introduce additional complexity in normal driver usage scenario. | |
// | |
// A small application to demonstrate basic, but not necessarily simple, JDBC features. | |
// |
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.db import models | |
# Create your models here. | |
class News(models.Model): | |
title = models.CharField(max_length=140) | |
body = models.TextField() | |
url = models.URLField() | |
publication_date = models.DateField() | |
def __unicode__(self): |
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
import { createNativeClient, getDefaultLibraryFilename } from 'node-firebird-driver-native'; | |
const connect_options = { username: 'sysdba', password: 'masterkey' } | |
async function test() { | |
const client = createNativeClient(getDefaultLibraryFilename()); | |
const attachment = await client.connect('localhost:/tmp/new-db.fdb', connect_options); | |
const transaction = await attachment.startTransaction(); | |
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
<h2>Conceptual Architecture for Firebird</h2> | |
<P>Hubert Chan and Dmytro Yashkir<BR> | |
Faculty of Mathematical, Statistical and Computer Sciences<BR> | |
University of Waterloo, Canada.<BR> | |
January 29, 2002</P> | |
<p>Updated by : Popa Adrian Marius<br> | |
January , 2011 | |
</p> | |
<H4>Abstract</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
import json | |
import logging | |
import time | |
import boto3 | |
from botocore.exceptions import ClientError | |
logger = logging.getLogger(__name__) | |
sns_resource = boto3.resource('sns') | |
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
<?php | |
$str_conn="firebird:host=localhost;dbname=/var/lib/firebird/2.5/data/employee.fdb;charset=UTF8"; | |
$dbh = new PDO($str_conn, "sysdba", "masterkey"); | |
?> |
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
#!/usr/bin/env bash | |
### BEGIN INIT INFO | |
# Provides: emperor | |
# Required-Start: $all | |
# Required-Stop: $all | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: starts the uwsgi emperor app server | |
# Description: starts uwsgi emperor app server using start-stop-daemon |
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
# $ pip install fdb | |
# use this documentation for the moment http://www.firebirdsql.org/file/documentation/drivers_documentation/python/3.3.0/tutorial.html#connecting-to-a-database | |
import fdb as kinterbasdb | |
con = kinterbasdb.connect(dsn='/var/lib/firebird/2.5/data/rdbgraph.fdb', user='sysdba', password='masterkey') | |
cur = con.cursor() | |
# Execute the insert statement: | |
name="name" |
NewerOlder