Skip to content

Instantly share code, notes, and snippets.

@cpereira7
cpereira7 / SQLPostgres.cs
Last active April 28, 2023 10:01
Select data from Postgres Database using Npgsql
/*
* Created by SharpDevelop.
* User: cpereira7
* Date: 08-11-2015
* Time: 20:06
* C#, Npgsql
*/
using System;
using System.Data;
using System.Diagnostics;
#!/usr/bin/env bash
# Configurable variables
database='vagrant'
username='vagrant'
password='vagrant'
echo ''
echo ' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
echo ' Bootstrapping Ubuntu Precise 32bit for Laravel 4'
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Configure your Laravel 4 project for this virtual machine
#
# 1- Add this environment in your project's start.php file:
#
# bootstrap/start.php:
# $env = $app->detectEnvironment(array(
# 'vagrant' => array('vagrant-laravel4')