Skip to content

Instantly share code, notes, and snippets.

Popa Marius Adrian mariuz

Block or report user

Report or block mariuz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mariuz /
Created May 19, 2012
new fdb firebird driver example :execute insert statement
# $ pip install fdb
# use this documentation for the moment
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:
mariuz /
Created Jun 23, 2011
Firebird driver example using jaybird-full jar
// 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.
mariuz / upgrade log
Created Nov 3, 2012
Ubuntu 12.10 to debian sid upgrade
View upgrade log
sudo apt-get -f -o Dpkg::Options::="--force-overwrite" dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
alsa-utils anacron apport apport-gtk at avahi-daemon avahi-utils blueman
bluez bluez-alsa cgroup-lite chromium-codecs-ffmpeg cmap-adobe-japan1
cmap-adobe-japan2 cups cups-driver-gutenprint friendly-recovery
gconf-service-backend gs-cjk-resource hostname hplip jockey-gtk kvm
mariuz /
Last active Feb 9, 2019
uwsgi emperor init script for debian 7.x
#!/usr/bin/env bash
# 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
View whois your
seems that their dns servers are hacked
Whois Server Version 2.0
Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to
View pdo_example_firebird.php
$dbh = new PDO($str_conn, "sysdba", "masterkey");
mariuz / database.detach.js
Created May 8, 2014
database.detach() node-firebird example
View database.detach.js
fb = require("node-firebird");
host: 'localhost',
database: '/tmp/firedjango.fdb',
user: 'SYSDBA',
password: '*********'
function(err, db){
if (err) {
View VideoLoadManager.cs
using UnityEngine;
using System.Collections;
using System;
using System.IO;
public class VideoLoadManager : Singleton<VideoLoadManager>
public enum TourType
mariuz / Delicious_Backup.htm
Created Dec 20, 2010
Deleted my delicious account (check) , use git for bookmarks (check) imported bookmarks in google chrome check
View Delicious_Backup.htm
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<!-- This is an automatically generated file.
It will be read and overwritten.
Do Not Edit! -->
<DL><p><DT><A HREF="" ADD_DATE="1292420589" PRIVATE="0" TAGS="rails,python,benchmark,webdev,ruby">The great web technology shootout – Round 4: Pyramid vs ...</A>
<DT><A HREF="" ADD_DATE="1292167054" PRIVATE="0" TAGS="devops">Jacob Kaplan-Moss on DevOps at Boston Django Meetup 2010</A>
<DD>devops = programmer+sysadmin
View VRMouseLook.cs
using UnityEngine;
using UnityEngine.VR;
public class VRMouseLook : MonoBehaviour {
public bool enableYaw = true;
public bool autoRecenterPitch = true;
public bool autoRecenterRoll = true;
You can’t perform that action at this time.