More CSS Layouts #Root #By Sayed Ahmed

Three Column layout with header and footer: The CSS

html, body { margin: 0; padding: 0; }
#header {
width: 800px;
float: left;
}
#maincontainer {
width: 800px;
float: left;
}
#nav {
width: 200px;
float: left;
}
#main {
float: right;
width: 600px;
}
#footer {
width: 800px;
float: left;
}

The XHTML

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />
<title>2 Column Header and Footer Layout</title>
<link href=”styles.css” rel=”stylesheet” type=”text/css” />
</head>

<body>
<div id=”header”><h1>Header</h1></div>
<div id=”maincontainer”>
<div id=”main”>
<p>Whee</p>
<p>
</div>
<div id=”nav”>
<ul>
<li><a href=””>Link</a></li>
<li><a href=””>Link</a></li>
<li><a href=””>Link</a></li>
<li><a href=””>Link</a></li>
</ul>
</div>
</div>
<div id=”footer”><h4>Footer</h4></div>
</body>
</html>

From: http://sitestree.com/?p=3649
Categories:Root, By Sayed Ahmed
Tags:
Post Data:2016-09-15 14:20:36

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Matlab Overview: What is Matlab #Root #By Sayed Ahmed

Matlab is used for: Math and computation, Algorithm development, Data acquisition, Modeling, simulation, and prototyping, Data analysis, exploration, and visualization, Scientific and engineering graphics, Application development, including graphical user interface building. From: http://sitestree.com/?p=3647
Categories:Root, By Sayed Ahmed
Tags:
Post Data:2016-09-15 14:20:51

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Creating Custom Tags in JSP #Root #By Sayed Ahmed

By Sayed, January 13th, 2008 [use large font in IE/Firefox]

How to create custom tags in JSP?
You can create custom tags in JSP. 
Steps:
-----
1. You have to create a Java file that will define the operation of the custom tag
2. For the Java file, you have to extend javax.servlet.jsp.tagext.BodyTagSupport class
3. in your implementation, you have to override (re-write) doStartTag(), doEndTag(), 
and doAfterBody() methods
4. Create tag library description file(XML file with .tld extension).

Example
-------

Implement a tag that reverses a string


import java.io.IOException;
import javax.servlet.jsp.JspTagException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.BodyContent;
import javax.servlet.jsp.tagext.BodyTagSupport;

public class ReverseTag extends BodyTagSupport 
{
    private static final long serialVersionUID = 1L;    
    
    //override doStartTag
    public int doStartTag() throws JspTagException{
        return EVAL_BODY_TAG;
    }    
    
    //override doEndTag
    public int doEndTag() throws JspTagException 
    {
      try {
           JspWriter out = pageContext.getOut();
      } catch (Exception ex) {
           throw new JspTagException("Exception" + ex);
      }
    return SKIP_BODY;
 }

//reverse the text    
public int doAfterBody() throws JspTagException 
{
    BodyContent body = getBodyContent();
    try {
            JspWriter out = body.getEnclosingWriter();
            //get text inside the tag
            String bodyContent = body.getString();
            //reverse the text
            if (bodyContent != null) {
                for (int i = bodyContent.length() - 1; i >= 0; i--) {
                    out.print(bodyContent.charAt(i));
                }
            }
            out.println();
            body.clearBody(); // Clear for next evaluation
          } catch (IOException ioe) {
               throw new JspTagException("Exception at doAfterBody " + ioe);
     }
        return (SKIP_BODY);
    }
}

5. Create the taglib descriptor

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.
//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
    <tlibversion>1.0</tlibversion>
    <jspversion>1.1</jspversion>
    <shortname></shortname>
    <info></info>
    <tag>
        <name>stringreverse</name>
        <tagclass>net.justetc.taglibrary.ReverseTag</tagclass>
        <info>
            Reverse the text
        </info>
    </tag>
</taglib>


6. Example use of the custom tag


<%@ taglib uri="/WEB-INF/reverse.tld" prefix="reverse" %>

<html>
<head>
    <title>Custom Tag library</title>
</head>

<body bgcolor="#ffffff">

<hr />
<reverse:stringreverse>
        justetc
</reverse:stringreverse>
<hr />
</body>
</html>


From: http://sitestree.com/?p=3645
Categories:Root, By Sayed Ahmed
Tags:
Post Data:2016-09-15 14:21:09

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

On Requirements Management and Tools #Root #By Sayed Ahmed

The Subject:

Better Requirements Definition Management is Better for Business

http://www.methodsandtools.com/archive/archive.php?id=107

 

All You Need to Know About Requirements Management

http://www.elementool.com/blog/?p=457

 

Why do I need a Requirements Management tool?

http://blog.visuresolutions.com/2012/02/why-do-i-need-requirements-management.html

 

Selected Topics in Software Engineering: Software Quality Verification and Forecasting
http://www.iste.uni-stuttgart.de/rss/teaching/ws-20152016/s-sqvf.html

 

 

Tools:

Top Requirements Management Software Products

http://www.capterra.com/requirements-management-software/

 

 

List of Requirements Management Tools

http://makingofsoftware.com/resources/list-of-rm-tools

 

What’s a good way to do requirements management in Jira? [closed]

http://pm.stackexchange.com/questions/6206/whats-a-good-way-to-do-requirements-management-in-jira

 

Using JIRA for Requirements Management

https://confluence.atlassian.com/display/JIRAKB/Using+JIRA+for+Requirements+Management

 

Misc:

The Effect of Work Environments on Productivity
http://research.microsoft.com/pubs/255563/MSR-TR-2015-66.pdf

 

 

Research in Software Engineering (RiSE)

http://research.microsoft.com/en-us/groups/rise/

 

  From: http://sitestree.com/?p=3171
Categories:Root, By Sayed Ahmed
Tags:
Post Data:2015-10-24 16:02:25

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Misc: Stumbled Upon

Alison McDowell Part2 map of Rhode Island SC 007

https://www.youtube.com/watch?v=FQydOKSc1UU&list=PLnNSjVGWqTO4aW_lyVaB2LEgdqCkmQX-U

Learning is Earning 2026 – A partnership between ACT Foundation & IFTF

https://www.youtube.com/watch?v=Zssd6eBVfwc

Learning is Earning 2026 – A partnership between ACT Foundation & IFTF

https://www.youtube.com/watch?v=abDZ5PrIehg&list=PLnNSjVGWqTO4aW_lyVaB2LEgdqCkmQX-U&index=11

*** . *** *** . *** . *** . ***

Courses: http://Training.SitesTree.com (Big Data, Cloud, Security, Machine Learning)
Blog
: http://Bangla.SaLearningSchool.com, http://SitesTree.com

8112223 Canada Inc./JustEtc: http://JustEtc.net

Shop Online: https://www.ShopForSoul.com/
Linkedin: https://ca.linkedin.com/in/sayedjustetc

Medium: https://medium.com/@SayedAhmedCanada

object oriented programming in php 5 #Root #By Sayed Ahmed

https://www.youtube.com/watch?feature=player_embedded&v=xVnVD3b2BCc From: http://sitestree.com/?p=2834
Categories:Root, By Sayed Ahmed
Tags:
Post Data:2015-10-26 08:05:40

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

lecture 02 object oriented programming in PHP 5 #Root #By Sayed Ahmed

https://www.youtube.com/watch?feature=player_embedded&v=QJSYVubQTfg From: http://sitestree.com/?p=2828
Categories:Root, By Sayed Ahmed
Tags:
Post Data:2015-10-26 07:37:52

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Misc Simple IT Issues. Apache does not start #Root #By Sayed Ahmed

Apache does not start. Informs blocked. Informs port already used.
–fuser 80/tcp will give you the PID of the process that takes port 80
–netstat can also give you PID information

$ sudo netstat -nlp | grep 80
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 125004/nginx

–kill the process: kill -9 PID
–run: service httpd start

Sometimes IONCUBE and Zend interactions might cause Apache not to start correctly.
You might need to check where are the php.ini files that your application/site is using.
For Ioncube and Zend configuration statements, Ioncube config should appear first. if multiple
php.ini files are used check the order of the files how they get loaded, and also the order of ioncube and zend. Make ioncube load earlier

and yes, you need to check the logfile to know the issues exactly. Log file: for Red-Hat Based:

/var/log/httpd/error-log

  From: http://sitestree.com/?p=2298
Categories:Root, By Sayed Ahmed
Tags:
Post Data:2015-08-31 22:25:45

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Moodle backend features and options for site administration #Root #By Sayed Ahmed

Moodle backend features and options for site administration
[youtube http://www.youtube.com/watch?v=1BxCL1CR2D4&w=640&h=480] From: http://sitestree.com/?p=2294
Categories:Root, By Sayed Ahmed
Tags:
Post Data:2015-08-30 11:09:33

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Dot Net Nuke (DNN) Host and Admin Menu Features #Root #By Sayed Ahmed

These are the options that you see on Host Menu, when you just install. Your production might have more depending on if any additional stuff are installed or not

Common Settings:
Dashboard
Extensions
File Management
Host Settings
Site Management

Advanced Settings:
Configuration Manager
Device Detection Management
HTML Editor Manager
Lists
Schedule
SQL
SuperUser Accounts
Vendors

 

So, you can configure for automatic update and check for the availability of updates

You can see what Critical, Moderate and Low security mean
As it came along the Update
The steps:
Usually you copy/replace the new files. usually the dll files will have most of the changes.
More details:
You need to take a backup of your existing site and database.
Modify your web.config file set autoupdate to false
copy all the files to your current site
the go to
www.example.com/install/install.aspx?mode=upgrade and follow the process.
another strategy might be
create a site only for update like
update.example.com based on your existing site and database (still keep some backup)
then copy all the new files to this update version
then go the install page
after install check if everything works
then you can modify IIS to make this update site to be the live/production site.
let’s show you an internet resource on this…
This is a good resource on upgrading DNN
http://www.dnnsoftware.com/wiki/upgrading-dotnetnuke
we are upgrading
anyway…
Just some URL rewrites, in PHP/Apache you do this using url-rewrite in .htaccess file
So, you can see from, Host->advanced settings you can change the following
If you did not use this feature of DNN before, probably you do not know that DNN has these features; however, you might already used similar features in other CMSes or in other software. you know some without knowing; just needed to know DNN uses those…
sometimes, the difference between theory and practice:
theory teaches you all the different possible stuff, where practical you just need to know what are the stuff from theory/general stuff are used in the particular technology: some truth, some false in the above statement..never mind…theory is evil…
Ip filtering can be a god idea, if your site is internal only…
also, you can block IPs where attacks originated from…a range or specific
apparently lucene is used as search.
Lucene is available as search engine for Drupal and other CMSes as well
including Kentico..
Using site management, you can create and configure multiple sites….
these new sites can use the same database
you can utilize users : specific to this site also users can be shared among multiple sites..
check yourself…how and is it possible really…
So you can see the extensions used
and you can configure/change settings for these…
So you can see available extensions such as login/authentication through twitter/facebook or similar
you can also search and install third party extensions….
Dashboard -> showing some info
making the info public is not a great idea
huge security risk…
for me this is a demo, dummy, I will remove the site anyway…still…not good..
I should not tell all the whys here…
nothing, some user and role management on dnn
http://www.dnnsoftware.com/Content/Dnn.Platform/Documentation/Using%20the%20Control%20Panel/Admin%20Console/Security%20Roles/Understanding%20Role%20Based%20Access.html
for admins and host account, this feature is ok. write SQL and run
but do not provide end users similar feature…can be dreadful
Schedule: different backend task scheduling for DNN
you see the DNN provided classes or classes used by DNN
you can use these classes in your code to implement some DNN like functionality
you can also check if a module use make more sense or not
or you might be able to reuse existing dnn code
You could use other editors Telerik/RAd/CKeditor…
anyway, I can stop here..
I can create another video and short-note on Admin menu
and also another on user management in general…
you are also welcome to create and send to us to post on this site or on our youtube channel

  From: http://sitestree.com/?p=2288
Categories:Root, By Sayed Ahmed
Tags:
Post Data:2016-07-02 17:37:37

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada