Posts

[SOLVED] Netbeans cannot upload files/dirs via FTP

Problem in netbeans - java jdk 1.7 combination Try with jdk/jre 1.6.x

[SOLVED] Could not reliably determine the server's fully qualified domain name, using * for ServerName

$ /etc/init.d/apache2 restart * Restarting web server apache2 ulimit: 88: error setting limit (Operation not permitted) apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ulimit: 88: error setting limit (Operation not permitted) apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs Action 'start' failed. The Apache error log may have more information. To fix this issue run following line in terminal: sudo gedit /etc/apache2/httpd.conf and add following line in opened file: ServerName localhost Save file and close text editor (gedit). Now restart apache

Add 7-zip support to Ubuntu

Run in terminal: sudo apt-get install p7zip

Fixed 80070057 issue - Games For Windows Marketplace

How to fix 80070057 error in Games For Windows Marketplace ? 1. Close Games For Windows Marketplace, if opened. 2. Change regional settings to USA. (Location, Formats ...) 3. Start - Games For Windows Marketplace. Enjoy...

Fill ComboBox from ArrayList VB.Net

'Dim data as ArrayList = new ArrayList ' data is 2d arraylist ' cmbMain is ComboBox Dim choices = New Dictionary(Of String, String)() For i As Integer = 0 To data.Count - 1 choices(data.Item(i).Item(0)) = data.Item(i).Item(1) Next cmbMain.DataSource = New BindingSource(choices, Nothing) cmbMain.DisplayMember = "Value" cmbMain.ValueMember = "Key"

Arabic to Roman Numerals in JAVA

public static String ArabicToRoman(int aNumber){ if(aNumber < 1 || aNumber > 3999){ return "-1"; } int[] aArray = {1000,900,500,400,100,90,50,40,10,9,5,4,1}; String[] rArray = {"M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"}; String rNumber = ""; for(int i=0; i while(aNumber >= aArray[i]){ rNumber += rArray[i]; aNumber -= aArray[i]; } } return rNumber; }