Maaf, Anda mengaktifkan Adblock pada browser anda!
Atau anda tidak mengaktifkan Javascript![ Disable Your AdBlock Please ]
Home > Author Archives: tarkiman

Author Archives: tarkiman

Enable Apache Server Status

On your Apache/Wamp/Xampp Server, you can enable this section in your httpd.conf file. This is located at conf/httpd.conf. Remove the comment character (“#”) in front of each line. #LoadModule info_module modules/mod_info.so #Include conf/extra/httpd-info.conf #LoadModule status_module modules/mod_status.so Open  httpd-info.conf  file in text editor, This is located at  conf\extra\httpd-info.conf You can also make this page password-protected using something similar to the following: ExtendedStatus on <Location ...

Read More »

MYSQL Error: “Error Code: 2006 – MySQL server has gone away”

I am getting following error, when I try to import MYSQL database: Error Code: 2013 - Lost connection to MySQL server during queryQuery:Error Code: 2006 - MySQL server has gone away Problem. Check Error : Check Sql Dump File Size (.sql) Check setup my.ini on D:wampbinmysqlmysql5.7.9my.ini (Wamp Server) Change max_allowed_packet from 1M  to 128M Restart Wamp Server, and Try again. Alhamdulillah, Successfull.. ...

Read More »

Enable Compression – Google Page Speed Resolved

Enable compressionCompressing resources with gzip or deflate can reduce the number of bytes sent over the network. Enable Compression – Google Page Speed and my solution is : 1. Go to CPANEL 2. On Software and Service menu, click Optimize Website 3. Choose Compress All Content and click Update Settings button Optimize Webiste on CPANEL 4. Done, retry your test. ...

Read More »

Leverage Browser Caching – Google Page Speed Resolved

Leverage Browser CachingSetting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network. Leverage Browser Caching – Google Page Speed and my solution is :add this script on my .htaccess file : ##### EXPIRE CACHING - LEVERAGE BROWSER CACHING #####ExpiresActive ...

Read More »

WAMPSERVER Cannot Access On Local Network 403 Forbidden

WAMPSERVER WAMPSERVER Cannot Access On Local Network 403 Forbidden  Setup wampserver access from another computer, If you are using WAMPServer 3.0 See bottom of answer For WAMPServer versions <= 2.5 By default Wampserver comes configured as securely as it can, so Apache is set to only allow access from the machine running wamp. Afterall it is supposed to be a development server and nota ...

Read More »

Setup Apache Tomcat Max Upload Size

Apache Tomcat HttpRequest maximum allowable size In tomcat, You have to modify two possible limits : In confserver.xml <Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" maxPostSize="67589953" /> In webappsmanagerWEB-INFweb.xml <multipart-config> <!-- 52MB max --> <max-file-size>52428800</max-file-size> <max-request-size>52428800</max-request-size> <file-size-threshold>0</file-size-threshold></multipart-config>

Read More »

Delete Filename Too Long

Windows seems to have a length limit on file names when trying to delete, though it won’t prevent those files from being created. Delete Filename Too Long The tool that I used when I had this problem was FastCopy.1. Run As Administrator 2. Selected the the Source / directory You wanted to delete, selected Delete All from the dropdown, checked Wipe ...

Read More »

Pascal Triangle Algorithm example in C programming

Pascal Triangle Algorithm Pascal Triangle Algorithm example in C programming : #include <stdio.h>long fact(int);int main() { int line, i, j; printf("Enter the no. of lines: "); scanf("%d", &line); for (i = 0; i < line; i++) { for (j = 0; j < line - i - 1; j++){ printf(" "); } for (j = 0; j <= i; j++){ ...

Read More »

Selection Sort Algorithm example in Java Programming

Selection Sort Algorithm Selection Sort Algorithm example in Java programming : public class SelectionSortExample { public static int[] doSelectionSort(int[] arr) { for (int i = 0; i < arr.length - 1; i++) { int index = i; for (int j = i + 1; j < arr.length; j++) { if (arr[j] < arr[index]) { index = j; } } int ...

Read More »

Shell Sort Algorithm example in Java Programming

Shell Sort Algorithm Shell Sort Algorithm example in Java programming : public class ShellSort { private long[] data; private int len; public ShellSort(int max) { data = new long[max]; len = 0; } public void insert(long value) { data[len] = value; len++; } public void display() { for (int j = 0; j < len; j++) { System.out.print(data[j] + " ...

Read More »