Cynosure.X International

Blog

Get messages in RSS
What is RSS?

Start NTP Server (GPL)
Wed, 04 Mar 2015 05:38:13 +0000

Also, in your Task Scheduler task, enable "If the task fails, restart every:". Set it to "1 minute" and "Attempt to restart up to:" to "999" times.


Category:

Comments (2) | Related Links | TrackBack (4)


Increasing PHP Maximum Upload Size
Sun, 15 Feb 2015 19:07:43 +0000

Running a Linux Apache server using PHP. Seems like there are two ways to change PHP upload size... Depends on which Linux distribution I use, the server respects one over the other. I think in some instances, you might actually have to set both. It's not clear why one setting is chosen over the other. But just be aware of both methods:

1. Via php.ini

You can create a "php.ini" file in the sub-directory where you want to increase the maximum upload size. Then put the following two lines into it:

  post_max_size = 10M ;
upload_max_filesize = 10M ;

The example increases the maximum upload size to 10 megabytes. You can change that number to whatever you want.

2. Via .htaccess

You can create a ".htaccess" file in the sub-directory where you want to increase upload size to occur. Put the following two lines into the file:

  php_value upload_max_filesize 10M
php_value post_max_size 10M

Again, the example increases the upload size to 10 megabytes. You can change the number to something more suitable for you.


Category:

Comments | Related Links | TrackBack


Emoji on Android 4
Fri, 16 Jan 2015 18:12:44 +0000

Could you be more specific with your question? Show in which app?


Category: :

Comments (1) | Related Links | TrackBack


OK Dialog (Freeware)
Fri, 19 Dec 2014 08:58:18 +0000

OK Dialog is a simple command-line Java program that will display a dialog box with a message, an optional icon, and a single OK button. Because OK Dialog is written as a command-line utility, it can be used in custom batch files and custom scripts. And written in Java, it will run on any Java-supported operating system with no need for recompilation and no need to change of your custom scripts. All these benefits combined make OK Dialog a very versatile utility.

OK Dialog takes advantage of the CI Class Package. You will have to download the package and install it if you don't have it already.

OK Dialog is distributed as Freeware. Please see the "Freeware License Agreement" elsewhere on this site.

Usage

  java OKDialog "title" "message" [ "icon file" ]


Category:

Comments | Related Links | TrackBack (1)


GetTempPathName.bat (GPL)
Fri, 19 Dec 2014 05:43:59 +0000

Here is an example of how to use it within an if-statement with delayed expansion:

  SetLocal EnableDelayedExpansion

if %i% equ 1 (
call SetVariableToOutput.bat GetTempPathName.bat "%~n0"
set tempFile=!OutputVariable!

. . . your code . . .

del "!tempFile!"
)


Category:

Comments (6) | Related Links | TrackBack


More . . .

Products | Services
Forums | Latest | RSS
Library | Search | Wiki
Help | Licenses

Login | Register

11 Users Online

Hacking Digital Cameras
Fun for Photographers

Fresh Flower Delivery


Amazon Associate

Copyright © 1996 - 2015. All Rights Reserved.