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
View premake.lua
-- Where is wxWidgets?
wx_dir = "/opt/build/wxjavascript/wxWidgets-2.8.9/"
-- Only needed when you use your own SpiderMonkey library
-- When empty wxJavaScript builds the library distributed in the source
js_dir = "" -- the full path to the js src directory
js_lib = "" -- the full path to the js library
-- Only needed when you use your own NSPR library
-- When empty wxJavaScript builds the library distributed in the source
@mariuz
mariuz / gist:24502
Created Nov 13, 2008
error log libjs.so
View gist:24502
==== Building wxjs ====
engine.cpp
Linking wxjs
/usr/bin/ld: warning: libnspr.so, needed by ../../bin/Debug/libjs.so, not found (try using -rpath or -rpath-link)
../../bin/Debug/libjs.so: undefined reference to `PR_NotifyAllCondVar'
../../bin/Debug/libjs.so: undefined reference to `PR_NewThreadPrivateIndex'
../../bin/Debug/libjs.so: undefined reference to `PR_AtomicDecrement'
../../bin/Debug/libjs.so: undefined reference to `PR_WaitCondVar'
../../bin/Debug/libjs.so: undefined reference to `PR_GetCurrentThread'
../../bin/Debug/libjs.so: undefined reference to `PR_NewCondVar'
View print.js
print("Hello World from wxJS\n");
var i = 1;
j = 2;
function test()
{
print("Hello from test\n");
}
wxjs.print("Hello from wxjs\n");
View modules.lua
-- set packages you don't want to build in comment to remove them
-- from the generated make file
dopackage("mod_expat")
--dopackage("mod_sqlite")
dopackage("mod_io")
dopackage("mod_gui")
--dopackage("mod_db")
--dopackage("mod_wxjs")
dopackage("mod_tpl")
--dopackage("mod_mysql")
View control
Source: xmms
Section: sound
Priority: extra
Maintainer: Popa Adrian Marius (Mariuz) <mapopa@gmail.com>
Build-Depends: debhelper (>= 6), autotools-dev, autotools-dev, automake, libtool, gettext, libasound2-dev, libaudiofile-dev, libgl1-mesa-dev, libglib1.2-dev, libgtk1.2-dev, libesd0-dev, libice-dev, libmikmod2-dev, libogg-dev, libsm-dev, libvorbis-dev, libxxf86vm-dev, libssl-dev, build-essential, make
Standards-Version: 3.8.0
Homepage: http://xmms.org/
Package: xmms
Architecture: any
View Main.cs
// Main.cs created with MonoDevelop
// User: mariuz at 12:37 PM 9/12/2008
//
// To change standard headers go to Edit->Preferences->Coding->Standard Headers
using System;
using System.Data;
using FirebirdSql.Data.Firebird;
View employee.php
<?php
$query='SELECT * FROM employee ORDER BY LAST_NAME ASC';
$username = "SYSDBA";
$password = "masterkey";
$host = 'localhost:D:\FirebirdDBS\EMPLOYEE.FDB';
$conn = ibase_connect($host, $username, $password,'ISO8859_1',0,2)
or die("<br>Connection failed:");
$dati = ibase_query($conn, $query)
or die("<br>invalid query");
View create_blog.sql
CREATE TABLE posts (
id BIGINT NOT NULL PRIMARY KEY,
name VARCHAR(255),
title VARCHAR(255),
text VARCHAR(255),
timestamps timestamp
)
View create_blog.sql
CREATE TABLE posts (
id BIGINT NOT NULL PRIMARY KEY,
name VARCHAR(255),
title VARCHAR(255),
content VARCHAR(255),
timestamps timestamp
);
CREATE GENERATOR POSTS_SEQ;
View killbug#1ubuntu.html
<!--[if IE ]>
<div
style="border:3px solid #090; margin:8px 0; background:#cfc; color:#000;width:700px;">
<h4
style="margin:8px; padding:0;">
Heads up! You're using an outdated version of Browser named Internet Explorer and an Insecure Operating System Named Windows
</h4>
<p style="margin:8px; padding:0;">
To get the maximum amount of pleasure while browsing this and other websites
you can download for free any one of these browsers bellow after that
You can’t perform that action at this time.