Archive for the ‘Uncategorized’ Category

Ubuntu upgrade operation

Eylül 1, 2016

I tried this version: 15.10 to 16.04

cat /etc/apt/sources.list

1- sudo sed -i -e “s/wily/xenial/g” /etc/apt/sources.list

cat /etc/apt/sources.list

2- sudo apt-get update
3- sudo apt-get dist-upgrade

lsb_release -a

SQL Developer Setup Configuration

Kasım 30, 2015

…/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf

SetJavaHome ../../jdk

terminalde Jdk yı indirdiğiniz klasörün içerisine gelerek (teyit etmek için bulunduğunun klasörün icinde bin klasörü var ise doğru yerdesiniz) pwd komutunu yazıp enter a basarsanız o klasörün path ini vercecektir.

How to install Eclipse Resource Bundle Editor

Ekim 22, 2015

Update Site:

Create a new update site in Eclipse with the following:

Site name: ResourceBundle Editor
Site URL: https://raw.githubusercontent.com/essiembre/eclipse-rbe/master/eclipse-rbe-update-site/site.xml

Whitelabel Error Page

Haziran 24, 2015

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Wed Jun 24 16:48:24 EEST 2015
There was an unexpected error (type=Not Found, status=404).
No message available

How to read Query Parameters key and value

Haziran 11, 2015

How to read Query Parameters key and value

javax.persistence.Query

Query query = ….
query.setParameter(“PARAM_1″,”1”)
.setParameter(“PARAM_2″,”2”)
.setParameter(“PARAM_3″,”3″)

…;
I want to get parameters and write Console. Like this;

System out ;

PARAM_1 – 1
PARAM_2 – 2
PARAM_3 – 3

ANSWER ;
java.util.Set<Parameter> params = query.getParameters();
for (Parameter p : params) {
String paramName = p.getName();
System.out.print(paramName + ” – “);
System.out.println(query.getParameterValue(paramName));
}

Target : http://stackoverflow.com/questions/28046207/how-to-read-query-parameters-key-and-value

Yonca Bilişim Teknolojilerine Yazılım Geliştirme Uzmanı Aranıyor !!!

Haziran 9, 2015

Yonca Bilişim Teknolojilerine Yazılım Geliştirme Uzmanı Aranıyor !!!

İlana aşağıdaki linkten ulaşabilirsiniz.

Yazılım Geliştirme Uzmanı Aranıyor
http://www.kariyer.net/yonca-bilisim-teknolojileri/yazilim-gelistirme-uzmani-is-ilani-i1384295/?&tmpsno=1&isaramalog=337894012&sirano=1&isaratipi=2

gVim

Mayıs 14, 2015

gVim

Begining of line – :%s/^/”/g
End of line – :%s/$/”+/g


..
.

Debiana Firebird kurulumu

Ocak 29, 2015

SELECT rdb$get_context(‘SYSTEM’, ‘ENGINE_VERSION’) from rdb$database;
FireBird DB versiyonunu verir.

1- root@fdurmus-nb:~# apt-get install firebird2.5-superclassic: SYSDBA yani admin parolasını oluşturmamızı isteyecek unutmayalm!!

[2- # dpkg-reconfigure firebird2.5-superclassic
[ Firebird otomatik olarak başlamasını istiyorsanız, paket üzerinde dpkg-reconfigure çalıştırın ve
[ Evet diyerek onaylayın. Sonra SYSDBA şifre tekrar istenir:
[

3- dpkg -L firebird2.5-classic-common : FireBird dosyalarının sistemde nereye kurulu olduğu bilgisini içerir.

TESTLER İÇİN HAZIR VERİTABANI OLUŞTURMAK İÇİN;
# apt-get install firebird2.5-examples firebird2.5-dev
# cd /usr/share/doc/firebird2.5-examples/examples/empbuild/
# chown firebird.firebird employee.fdb
# mv employee.fdb /var/lib/firebird/2.5/data/
# isql-fb
SQL> connect “localhost:/var/lib/firebird/2.5/data/employee.fdb” user ‘SYSDBA’ password ‘SYSDBApassword’;
[ PAROLAMIZI UNUTURSAK ULAŞABİLİRİZ. ]
[ /etc/firebird//SYSDBA.password ]
[ ISC_USER=sysdba ]
[ ISC_PASSWORD=”password” ]

artık sorgulama yapabiliriz ;

SQL> connect “localhost:/var/lib/firebird/2.5/data/employee.fdb” user ‘SYSDBA’ password ‘243a871e’;
Database: “localhost:/var/lib/firebird/2.5/data/employee.fdb”, User: SYSDBA
SQL> show tables;
COUNTRY CUSTOMER
DEPARTMENT EMPLOYEE
EMPLOYEE_PROJECT JOB
PROJECT PROJ_DEPT_BUDGET
SALARY_HISTORY SALES

Sorgulama için gui ortamı;
# apt-get install flamerobin

Sorgulama hatası ile ilgili;
“Statement failed, SQLCODE = -551 no permission for read-write access to database /var/lib/firebird/2.5/data/employee.fdb”

# chown firebird:firebird employee.fdb

How to compile c program in debian

Kasım 26, 2014

The program

/* hello.c */
#include
int main(int argc, char *argv[])
{
if (argc > 1)
printf(“Greetings %s.\n”, argv[1]);
else
printf(“Please tell me your name.\n”);
return 0;
}

Compile using:
> gcc -Wall -o hello hello.c
Run with:
> ./hello Linus
Greetings Linus.

gcc options

-o
output file name, (a.out if omitted)
-Wall
display warnings for many possible errors
hello.c
file to be compiled, can specify multiple .c files

The info pages (info gcc) has much more information about gcc. These are in the gcc-doc package.

Kayaklar:
http://luv.asn.au/overheads/compile.html

SqlDeveloper Java.lang.NullPointerException

Kasım 11, 2014

java.lang.NullPointerException
at oracle.jdevimpl.vcs.svn.SVNProfile.canActivate(SVNProfile.java:162)
at oracle.jdevimpl.vcs.generic.GenericClient.fireCanActivate(GenericClient.java:1602)
at oracle.jdevimpl.vcs.generic.GenericClient.canActivate(GenericClient.java:231)
at oracle.jdevimpl.vcs.VCSManagerImpl$6.addinsLoaded(VCSManagerImpl.java:377)
at oracle.ide.IdeCore.fireIdeEvent(IdeCore.java:872)
at oracle.ide.IdeCore.access$100(IdeCore.java:137)
at oracle.ide.IdeCore$3.run(IdeCore.java:844)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Resolve :
1- Close SqlDeveloper
2- Enter this directory and delete in files ; C:\Documents and Settings\\Application Data\SQL Developer\system3.2.20.09.87\o.jdeveloper.subversion.11.1.1.4.37.59.48/