DEVELOPMENT

  • SQL ANYWHERE SERVICES FROM COMMAND PROMPT

    AUTHOR: // CATEGORY: Development, PC

    No Comments

    Start up SQL Anywhere Services from command prompt on NT

    There are cases when customer would like to start up a SQL Anywhere Services at a specific time or after a database backup. The following is a way to start up a SQL Anywhere Services from outside Sybase Central or NT Services (as in Control Panel, Servi
    1. Open the 32-bit registry editor (C:\WINNT\system32\regedt32.exe).

    On the taskbar, click on “Start” then select “Run”. Type in regedt32 or regedit.

    1. Double click on HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Services

    1. For ASA versions 6.x.x/7.x.x/8.x.x, scroll down until you see ASANY. For SQL Anywhere version 5.x.x, scroll down until you see SQLANY. Any services created in SQL Anywhere Service Manager (or from Sybase Central) should be listed here.

    1. The name of each individual service would appear as

    ASANYx_y or SQLANYx_y

    where ‘x’ represents the Service Type:


    a – Sample Application

    c – Client
    e – Standalone Engine
    l – Agent for Replication Server

    o – Open Server Gateway
    r – SQL Remote Message Agent

    s – Network Server

    and ‘y’ represents the Service Name as seen in the ‘Name’ column in Sybase SQL Anywhere Service Manager.

    Find out which key is for the service you want to start from the DOS prompt. Write down the name of the key. Note that the key is

    Case sensitive for version 5.x.x but is not case sensitive for version 6.x.x/7.x.x/8.x.x.

    1. In DOS, the command to start up any registered NT Services (which include SQL Anywhere/Adaptive Server Anywhere Services) is ‘net start’.

    Therefore, the syntax to start up a SQL Anywhere Service from a command prompt (DOS prompt) would be:

    net start <key for the service from registry editor>
     

    1. Similarly, the NT command to stop any registered NT Services is ‘net stop’  


    Therefore, the syntax to stop a SQL Anywhere/Adaptive Server Anywhere Service from a command prompt (DOS prompt) would be:


    net stop <key for the service from registry editor>

    Credit to: http://www.sybase.com/detail?id=10915

  • .HTACCESS REDIRECT

    AUTHOR: // CATEGORY: Development, Open Source

    No Comments

    So like me who doesn’t like to install in the root of a server, you may need to redirect an incoming web connection to another directory (sub) or an alternative page. It’s also cool if you want to redirect to a website under construction page etc.

    I do this with the cursed .htaccess file by adding this line

    # This allows you to redirect index.html to a specific subfolder
    Redirect /index.html http://www.abc.com

    Where abc in (http://www.abc.com) is you redirected site. You could include a subdirectlyt by adding the slashed link (http://www.abc.com/def)

    Happy redirecting.

  • HOW TO ADD GOOGLE ADSENSE TO WORDPRESS?

    AUTHOR: // CATEGORY: Development, Open Source, Wordpress

    No Comments

    How to add Google AdSense to WordPress?

    With WordPress you can easily add your AdSense code to your blog. In order to do this, first login to the administrative end of your website. Then, go to the Appearance -> Widgets menu.

     

     

    In this page select to drag-and-drop a “Text” widget onto your registered sidebar.

     

     

    Then you should add a title (in our case – Advertisement) and right under it the actual code that you have obtained from Google. Finally, click on the on the “Save” button right under it.

     

     

    Well done! You have just added your AdSense code to your WordPress blog.

    Credit to http://www.siteground.com/tutorials/wordpress/wordpress_adsense.htm

  • NATURAL HR – FREE ONLINE HRMS

    AUTHOR: // CATEGORY: Development, Management, Open Source

    No Comments

    We all love free stuff … for an HR System check out

    https://www.naturalhr.com

    They offer a totally free online (web based) HR system. It’s very comprehensive including modules like:

    Very impressive for a free solution.

  • NATIONALITY LIST

    AUTHOR: // CATEGORY: Development, Open Source, Uncategorized

    No Comments

    Nationality List – a List of Nationalities!

    Your time is precious and the last thing you want to do is scour the web for hours searching for a list of nationalities to use in your website or application. We’ve done this boring job for you and have compiled a nationality list in a list text file. So download the file you need and get back to your programming!

    List of Nationalities.txt

    Credits – http://www.guavastudios.com/nationality-list.htm

  • BUILT WITH

    AUTHOR: // CATEGORY: Development, Joomla, Open Source, Wordpress

    No Comments

    So come across a site and you’re interested in what technology, language is used?

    I use https://builtwith.com/ provides a simple background check of the site includes CMS used, languages, widgets and technologies. Pretty cool if you just want a quick scan of what’s happening on the backend of the site.

    Happy building …

  • ONLINE DUPLICATE CHECKER

    AUTHOR: // CATEGORY: Development, Open Source, PC

    No Comments

    Ever have a list of data and want to quickly check for duplicates. Now I know it’s possible in SQL or even Excel but if you looking for a really easy online way without tweaking check out http://www.somacon.com/p568.php – Paste your data in the form click on Display / Update Counts and view the results …

    Happy duplicate checking …

  • BINARY

    AUTHOR: // CATEGORY: Development, Mac OS X, PC

    No Comments

    Yup … all this fancy graphics, animation, calculations, algorithm all comes down to machine reading binary … This is my name in binary …

    |A|h|m|e|d| |V|a|r|a|c|h|i|a|<new line>

    |65|104|109|101|100|32|86|97|114|97|99|104|105|97|13

    |41|68|6D|65|64|20|56|61|72|61|63|68|69|61|0D

    |01000001|01101000|01101101|01100101|01100100|00100000|01010110|01100001|01110010

    |01100001|01100011|01101000|01101001|01100001|00001101

    Check our yours at http://durso.org/ynib/

    Amazing huh …

  • MAXIMUM FILE UPLOAD SIZE – PHP.INI

    AUTHOR: // CATEGORY: Development, Open Source, Wordpress

    1 Comment

    On shared hosting/VPN or cloud if you’d like to increase the default max file upload size from 10M check our the below

    You need to set the value of upload_max_filesize and post_max_size in your php.ini (in the example below 40M is what I’ve set the max upload to, however you can change to whatever you’d like eg. 100M etc.):

    ; Maximum allowed size for uploaded files.
    upload_max_filesize = 40M
    
    ; Must be greater than or equal to upload_max_filesize
    post_max_size = 40M
    
    Or in the cursed .htaccess file 
    
    php_value upload_max_filesize 40M
    php_value post_max_size 40M

    Happy uploading ....