19 listopada 2011
Eskimo Disco 7-11 HD
18 listopada 2011
Oracle SOA jdev extension.
Extensions for JDeveloper:
http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/156082.xml
Oracle licensing – vmware.
Oracle licensing:
http://weinshenker.net/blog/2011/04/03/licensing-oracle-vmware-vsphere/
Oracle partitioning document:
http://www.oracle.com/us/corporate/pricing/partitioning-070609.pdf
Hard Partitioning with Oracle VM
VM TO HOSTS AFFINITY RULE:
17 listopada 2011
SOA
Including SOA Features in Jdeveloper 11g R1 (11.1.1.1.0)
By rodrigo.jorquera on Jul 09, 2009
The new Jdeveloper’s release doesn’t include the development suite for SOA applications.
There’s an extension for that and can be downloaded from OTN.
The link to download the file (called Oracle SOA Composite Editor):
http://www.oracle.com/technology/products/jdev/101/update/fmw_products.xml
To download the file directly:
http://download.oracle.com/otn/java/jdeveloper/111/extensions/soa-jdev-extension.zip
After download the file, you can install it using the Check for update option in Jdeveloper.
As you can see in the following screenshot, the option is available under the Help menu.
Then select the option “Install From Local File”, and select the location where you put the zip file.
After that you will see that the Oracle SOA Composite Editor will be installed and Jdeveloper will restart.
To verify the installed extension, You can go to File -> New section and you will see the new option “SOA Tier”.
If you chose that you will have the following templates as an option:
Then, you are ready to work in your SOA project!.
źródło:
http://blogs.oracle.com/rodrigo/entry/including_soa_features_in_jdev
BPMN – podstawy
15 listopada 2011
PL/SQL – functions
PL/SQL Functions
What is a Function in PL/SQL?
A function is a named PL/SQL Block which is similar to a procedure. The major difference between a procedure and a function is, a function must always return a value, but a procedure may or may not return a value.
The General Syntax to create a function is:
CREATE [OR REPLACE] FUNCTION function_name [parameters]
RETURN return_datatype;
IS
Declaration_section
BEGIN
Execution_section
Return return_variable;
EXCEPTION
exception section
Return return_variable;
END;
1) Return Type: The header section defines the return type of the function. The return datatype can be any of the oracle datatype like varchar, number etc.
2) The execution and exception section both should return a value which is of the datatype defined in the header section.
For example, let’s create a frunction called ”employer_details_func’ similar to the one created in stored proc
1> CREATE OR REPLACE FUNCTION employer_details_func
2> RETURN VARCHAR(20);
3> IS
5> emp_name VARCHAR(20);
6> BEGIN
7> SELECT first_name INTO emp_name
8> FROM emp_tbl WHERE empID = ’100′;
9> RETURN emp_name;
10> END;
11> /
In the example we are retrieving the ‘first_name’ of employee with empID 100 to variable ‘emp_name’.
The return type of the function is VARCHAR which is declared in line no 2.
The function returns the ‘emp_name’ which is of type VARCHAR as the return value in line no 9.
How to execute a PL/SQL Function?
A function can be executed in the following ways.
1) Since a function returns a value we can assign it to a variable.
employee_name := employer_details_func;
If ‘employee_name’ is of datatype varchar we can store the name of the employee by assigning the return type of the function to it.
2) As a part of a SELECT statement
SELECT employer_details_func FROM dual;
3) In a PL/SQL Statements like,
dbms_output.put_line(employer_details_func);
This line displays the value returned by the function.
source:
3 listopada 2011
sorry, you must have a tty to run sudo
w /etc/sudoers zakomentować:
Defaults requiretty
Firefox – instalacja flash’a:
pobrać flash’a, skopiować libflashplayer.so do katalogu: /usr/lib/mozilla/plugins
2 listopada 2011
Windowmaker – ustawienie rozdzielczości.
xrandr -s 1280×720
xrandr -s 1280×800
Aplikacje dla windowmakera: http://www.dockapps.org/
switchdesk wmaker
xrandr --output VGA1 --preferred Jasność obrazu: xrandr --output LVDS1 --brightness 0.6
31 października 2011
27 października 2011
23 października 2011
…
Григорий Лепс -- Рюмка водки на столе
Григорий Лепс -- Натали
Григорий Лепс -- Вьюга
Григорий Лепс -- Уходи красиво
Grigorij Leps i Irina Alegrova
Валерий Меладзе feat Григорий Лепс
21 października 2011
Windows – show hidden devices.
Aby zobaczyć ukryte urządzenia:
run -> cmd
set devmgr_show_nonpresent_devices=1
devmgmt.msc
view
show hidden devices