Sugat Shrestha
  • Home
  • About Me
  • nepalontheweb.com
  • PlutonicTech
  • Connect Nepal IT Solution

Project Management/ web design/ Web development/ Websites

Asana · Teamwork without email

sugatshr 0 Comments May 10, 2014

Asana is a web and mobile application designed to enable teamwork without email. It was founded by Facebook co-founder Dustin Moskovitz and ex-engineer Justin Rosenstein, who both worked on improving the productivity of employees at Facebook. Asana is a teamwork communication manager. The product supports many features, including workspaces, projects, […]

CAKE PHP

CakePHP validation : at least one field must be filled

sugatshr 0 Comments May 2, 2014

 Sometimes we want users to fill at least one field. Lets say user must fill either customer name or their organization name. This can be achieved in CakePHP as follows. In model function beforeValidate($validate=NULL){    $validate = false;    if(!empty($this->data[‘Customer’][‘name’])){        $validate = true;    }        if(!empty($this->data[‘Customer’][‘organization’])){        $validate = true;    }        return […]

Checkbox instead of dropdown in CakePHP

CAKE PHP

Checkbox instead of dropdown in CakePHP

sugatshr 0 Comments April 29, 2014

echo $this->Form->input(‘publication_id’);will output If we want check boxes instead of drop down, all we have to do is  echo $this->Form->select(‘publication_id’, $publications, array(    ‘multiple’ => ‘checkbox’)); 

PHP/ Web development

PHP Format a number with grouped thousands

sugatshr 0 Comments April 23, 2014

number = 1234.56;// english notation (default)$english_format_number = number_format($number);

CAKE PHP/ Web development/ Websites

ACL Plugin for CakePHP 2.0

sugatshr 0 Comments April 21, 2014

The core of CakePHP contains a system to control access rights based on Access control list. This mechanism is very useful but not very easy to use. Moreover, CakePHP doesn’t provide out of the box an interface to configure the rights managed through ACL. This ACL Plugin for CakePHP provides […]

Tips and Tricks/ web design/ Web development

Printing Table Headers on Every Page

sugatshr 0 Comments April 20, 2014

It is sometimes necessary to print table headers on every page for long html tables spanning multiple pages. <style>    thead {display: table-header-group;}</style> <table cellpadding=”0″ cellspacing=”0″>    <thead>        <tr>            <th>S.no.</th>            <th>Name</th>            <th>Address</th>            <th>Phone no.</th>        </tr>    </thead>       <tr>    ….long html table here ….    </tr>     </table> Note: Does not work in  Chrome, Safari […]

Study

Painless GRE : Learn GRE words in a painless and efficient way

sugatshr 1 Comment April 15, 2014

Learn GRE words in a painless and efficient way with spaced repetition.     Features: most common GRE words with examples variety of exercises (word > definition, definition > word, sentence completion, etc.) traditional word cards word list supporting searches by titles and definitions keeping track of learning progress offline pronunciation https://play.google.com/store/apps/details?id=com.phucnguyen.education.vocab.gre

CentOS/ Linux/ Operating System (OS)

Enable & Disable SELinux on CentOS

sugatshr 0 Comments April 15, 2014

SELinux is a security enhancement to Linux which allows users and administrators more control over access control.Access can be constrained on such variables as which users and applications can access which resources.  Disable SELinux # setenforce 0Enable SELinux # setenforce 1No need to reboot the system.Disable SELinux permanentlyOpen file /etc/selinux/configSELINUX=enforcing […]

Inspirational/ Inspiring story

Philosophy of Life

sugatshr 0 Comments April 3, 2014

A wise man once sat in the audience and cracked a joke – all of them laughed like crazy. After a moment he cracked the same joke again a little less people laughed this time… He cracked the same one again no one laughed !!! Then he smiled and said […]

Linux/ Open Source/ Web development/ Websites

Manage Your Servers Directly Through Your Browser

sugatshr 0 Comments March 26, 2014

ISPConfig 3 is an open source hosting control panel for Linux which is capable of managing multiple servers from one control panel. ISPConfig is licensed under the BSD license. Open Source, transparent, free stable, secure und ultra-fast continuous development huge documentation and big community with support forum enterprise support http://www.ispconfig.org

«‹ 12 13 14 15 ›»

Most Viewed Posts

  • Opening CakePHP Files in Dreamweaver (14,191)
  • Connecting a second mouse or keyboard directly to a hosted virtual machine (7,460)
  • Asana · Teamwork without email (3,716)
  • Deploying Multiseat with VMware Player (3,270)
  • SQLSTATE[HY000]: General error: 1191 Can’t find FULLTEXT index matching the column list (2,518)
  • ntoskrnl.exe blocking port 80 (2,378)
  • Exclude directory from routing Options in CakePHP (2,054)
  • jQuery/AJAX file upload in CakePHP 2.x (1,876)
  • PHP Convert Number to Word in Indian/Nepali English (Lakh, Crore) (1,861)
  • Steal Like an Artist: 10 Things Nobody Told You About Being Creative (1,848)

Recent Posts

  • Yet Another Mail Merge (YAMM) – send personalized mass emails directly from Gmail
  • Query Monitor: Your Ultimate WordPress Developer Companion
  • Windows alt-tab on macOS
  • Browser Screenshots
  • Amphetamine

Archives

Categories

  • Advertisements
  • ajax
  • Android
  • apps
  • Books
  • Business
  • CAKE PHP
  • CentOS
  • Cloud
  • Coffee
  • CSS
  • Database
  • django
  • Drums
  • Engineering
  • errors
  • Flask
  • Free Stuffs
  • freeware
  • Friendship
  • Funny
  • Games
  • Graphics design
  • Hardware
  • Health
  • HTML
  • Human Resource
  • humor
  • Infographics
  • Inspirational
  • Inspiring story
  • IT
  • JavaScript
  • Jokes
  • Joomla
  • jQuery
  • Kids
  • Linux
  • Love
  • macOS
  • Management
  • mobile
  • Movies
  • music
  • MYSQL
  • Nepali
  • nerd
  • networking
  • Note
  • Office
  • Open Source
  • Operating System (OS)
  • password
  • PDF
  • Photography
  • Photoshop
  • PHP
  • PHP Framework
  • Plugin
  • Podcast
  • Poem
  • Problems
  • Productivity
  • programming
  • Project Management
  • Python
  • Quotes
  • Reference
  • Relationship
  • Security
  • Softwares
  • Sports
  • Study
  • Subversion
  • Technology
  • Tips and Tricks
  • tutorials
  • Uncategorized
  • Unicode
  • Utilities
  • VMware
  • web design
  • Web development
  • Websites
  • Windows
  • Wordpress
  • Xampp

Recent Comments

  • kampus jawa timur on How to install Android to 7″ Mini Notebook / microlaptop
  • Ram on Programming Memes
  • Sandra on SMTP Test Tool
  • free fire battlegrounds astuce on HTML Reference
  • indo-investasi.com on HTML Reference

Back to Top

© Sugat Shrestha 2025
Scroll Up