- View the robots.txt at http://YOURBLOGURL.blogspot.com/robots.txt. If Disallow property is set to /search, search is ignored.
- Go to Blogger Dashboard > Select Blog > Select Settings tab > Search Preferences
- Enable Custom robots.txt
- Copy the content of current robots.txt but set the Disallow property to blank.
- Save changes
Showing posts with label Tips. Show all posts
Showing posts with label Tips. Show all posts
Sunday, September 22, 2013
How to enable Search Widget/Gadget
If the the Search widget or gadget of your Blogger blog is not working but the embedded search box on the Navigation bar at the top is working, the cause could be the setting of robots.txt.
Wednesday, June 26, 2013
Time
EST (Eastern Standard Time) - time in US
DST (Daylight Saving Time) - 12 hr difference b/w NJ & PH
Standard Time - 13 hr difference b/w NJ & PH (4am NJ = 5PM PH)
DST (Daylight Saving Time) - 12 hr difference b/w NJ & PH
Standard Time - 13 hr difference b/w NJ & PH (4am NJ = 5PM PH)
GMT (Greenwich Mean Time) - global standard time
- US NJ/NY - GMT-5
- PH - GMT+8
Monday, June 10, 2013
Outline: The 16 Days of Competencies
POST: http://zengerfolkman.wordpress.com/2011/09/21/the-16-days-of-competencies-1-displays-high-integrity-and-honesty/
POSTED BY: zengerfolkman, September 21, 2011
#1 DISPLAYS HIGH INTEGRITY AND HONESTY
#2 TECHNICAL AND PROFESSIONAL EXPERTISE
#3 SOLVES PROBLEMS AND ANALYZES ISSUES
#4 INNOVATES
#5 PRACTICES SELF-DEVELOPMENT
#6 DRIVES FOR RESULTS
#7 ESTABLISH STRETCH GOALS
#8 TAKES INITIATIVE
#9 COMMUNICATES POWERFULLY AND PROLIFICALLY
#10 INSPIRES AND MOTIVATES OTHERS TO HIGH PERFORMANCE
#11 BUILDS RELATIONSHIPS
#12 DEVELOPS OTHERS
#13 COLLABORATION AND TEAMWORK
#14 DEVELOPS STRATEGIC PERSPECTIVE
#15 CHAMPIONS CHANGE
#16 CONNECTS THE GROUP TO THE OUTSIDE WORLD
POSTED BY: zengerfolkman, September 21, 2011
#1 DISPLAYS HIGH INTEGRITY AND HONESTY
- Avoid saying one thing and doing another (i.e., walk the talk)
- Follow through on promises and commitments
- Model the core values
- Lead by example
#2 TECHNICAL AND PROFESSIONAL EXPERTISE
- Stay up to date in the field
- Demonstrate technical, functional, and job-specific knowledge required for assignments
- Be sought out for opinions, advice, and counsel
- Make a significant contribution toward achieving team goals through knowledge and skills
#3 SOLVES PROBLEMS AND ANALYZES ISSUES
- Systematically evaluate information by using a variety of proven methods and techniques
- Encourage alternative approaches and new ideas
- See patterns and trends in complex data and use the patterns to outline a path forward
- Clarify complex data or situations so that others can comprehend, respond, and contribute
#4 INNOVATES
- Consistently generate creative, resourceful solutions to problems
- Constructively challenge the usual approach to doing things, and find new and better ways to do the job
- Create a culture of innovation and learning that drives individual development
- Build on other people’s suggestions and ideas. (Doing so often leads to new approaches and improvements)
#5 PRACTICES SELF-DEVELOPMENT
- Make constructive efforts to change and improve based on feedback from others
- Learn from both success and failure
- Model self-development and embrace its value
#6 DRIVES FOR RESULTS
- Do everything possible to meet goals or deadlines
- Consistently meet or exceed commitments
- Aggressively pursue all assignments and projects until completion
#7 ESTABLISH STRETCH GOALS
- Build Commitment with all employees on team goals and objectives
- Promote a spirit of continuous improvement
- Maintain High Standards of performance
#8 TAKES INITIATIVE
- Volunteer for Challenging assignments
- Go above and beyond what needs to be done without being told
- Have the confidence to initiate action independently
#9 COMMUNICATES POWERFULLY AND PROLIFICALLY
- Communicate clearly and concisely
- Give clear, understandable instructions to employees and others
- Skillfully communicate new insights
#10 INSPIRES AND MOTIVATES OTHERS TO HIGH PERFORMANCE
- Have a personal style that helps to positively motivate others.
- Energize people to go the extra mile.
- Skillfully persuade others toward commitment to ideas or action.
#11 BUILDS RELATIONSHIPS
- Deal effectively with people in order to get work accomplished
- By trusted by work group members
- Be approachable and friendly
#12 DEVELOPS OTHERS
- Act as a coach or mentor to facilitate learning from experience
- Give honest and candid feedback
- Find stretch assignments for individuals which require them to achieve significant but realistic goals
- Willingly share his/her time to help others develop.
#13 COLLABORATION AND TEAMWORK
- Promote a spirit of cooperation with other members of the work group
- Champion an environment that supports effective teamwork
- Have the trust and respect of the team
#14 DEVELOPS STRATEGIC PERSPECTIVE
- Know how work relates to the organization’s business strategy
- Balance the short-term and long-term needs of the organization
- Demonstrate forward thinking about tomorrow’s issues
#15 CHAMPIONS CHANGE
- Act as a change agent—strongly support the continual need to change
- Become a champion for projects or programs, presenting them so that others support them.
- Be an effective marketer for work group projects, programs, or products.
#16 CONNECTS THE GROUP TO THE OUTSIDE WORLD
- Know how to deliver products or services that delight customers by meeting and exceeding their expectations
- Use knowledge and feedback from an external perspective to improve products or services
Wednesday, May 9, 2012
How to create Sublabels / Hierarchical Labels in Blogspot
I always wanted my label section to look like the archive section where labels can have hierarchy and the number of posts is displayed beside each label. I learned how to create the hierarchical tree from this blog but the nodes have to be added one by one and the number of posts per label are not displayed so I tweaked it a little to suit my needs. Here are the steps:
- Add the Labels gadget if is not yet added
From your dashboard, click Layout -> Add a Gadget and select Labels - Add an HTML gadget. This is where you will create your hierarchical labels.
From your dashboard, click Layout -> Add a Gadget and select HTML/Javascript - Ensure that the Labels gadget comes first before the HTML gadget in your layout.
From your dashboard, click Layout and arrange your gadgets by dragging them to the desired location so that the Labels gadget is on top or comes first before the HTML gadget - Update the Template
-
Add the dtree javascript.
From your dashboard, click Template -> Edit HTML -> Proceed and check Expand Widget Templates. Copy and paste this code<link href='https://sites.google.com/site/efekefek/file-js/dtree.css' rel='StyleSheet' type='text/css'/> <script src='https://sites.google.com/site/efekefek/file-js/createdtree.js' type='text/javascript'/>
after this tag
<b:skin><![CDATA[/*
- Remove the Label widget content
Find the Label widget code. It looks like this<b:widget id='Label1' locked='false' title='Labels' type='Label'> <b:includable id='main'> ... </b:includable> </b:widget>
Replace the code inside <b:includable id='main'> and </b:includable> with this code<script type='text/javascript'> var labelCountMap = {}; <b:loop values='data:labels' var='label'> labelCountMap ["<data:label.name/>"] = "<data:label.count/>"; </b:loop> </script>
- Save template
-
Add the dtree javascript.
- Prepare the code of the Hierarchical Labels
Copy the code below and replace the data with your own Labels. The data is in format
parentLabel: { subLabels }
The subLabels are comma separated. If the parentLabel doesn't have subLabels, replace it with {}.
<div class="dtree"> <p><a href="javascript: d.openAll();">open all</a> | <a href="javascript: d.closeAll();">close all</a></p> <script type="text/javascript"> <!-- function isEmpty(obj) { for(var prop in obj) { if(obj.hasOwnProperty(prop)) return false; } return true; } function addMap(d, startingNode, parentNode, map) { for (var key in map) { if (isEmpty(map[key])) { d.add(startingNode++,parentNode,key+' ('+labelCountMap[key]+')','/search/label/'+key); } else { d.add(startingNode++,parentNode,key+' ('+labelCountMap[key]+')','/search/label/'+key); startingNode = addMap(d, startingNode, startingNode-1, map[key]); } } return startingNode; } var data = { 'Label 1' : { 'Label 1.1' : {}, 'Label 1.2' : { 'Label 1.2.1' : {} }, 'Label 1.3' : {} }, 'Label 2' : { 'Label 2.1' : {}, 'Label 2.2' : {} }, 'Label 3' : {}, 'Label 4' : {}}; d = new dTree('d'); d.config.useLines = true; d.config.useIcons = false; d.config.inOrder = true; d.add(0,-1,''); addMap(d, 1, 0, data); document.write(d); //--> </script> </div>
- Paste the code in the HTML widget
From your dashboard, click Layout and Edit the HTML widget. Paste the code inside Content and Save
Monday, April 13, 2009
Web Application Basics
HTTP - Hypertext Transfer (or Transport) Protocol), is a connectionless protocol for communicating clients/browsers and web servers
TCP/IP - Transmission Control Protocol, allows communication between your application software. It is responsible for breaking data down into IP packets before they are sent, and for assembling the packets when they arrive.
-connection oriented
-used to make connections and exchange information to one another
IP - Internet Protocol, is responsible for sending the packets to the correct destination
- connectionless
URL -Uniform Resource Locator, is a full specification of a resource. It includes the protocol, host machine name (domain name or IP address), optional protocol number and resource location.
Three ranges of port numbers:
TCP/IP - Transmission Control Protocol, allows communication between your application software. It is responsible for breaking data down into IP packets before they are sent, and for assembling the packets when they arrive.
-connection oriented
-used to make connections and exchange information to one another
IP - Internet Protocol, is responsible for sending the packets to the correct destination
- connectionless
URL -Uniform Resource Locator, is a full specification of a resource. It includes the protocol, host machine name (domain name or IP address), optional protocol number and resource location.
Three ranges of port numbers:
- well-known ports - from 0 through 1023
20 & 21: File Transfer Protocol (FTP)
22: Secure Shell (SSH)
23: Telnet remote login service
25: Simple Mail Transfer Protocol (SMTP)
53: Domain Name System (DNS) service
80: Hypertext Transfer Protocol (HTTP) used in the World Wide Web
110: Post Office Protocol (POP3)
119: Network News Transfer Protocol (NNTP)
143: Internet Message Access Protocol (IMAP)
161: Simple Network Management Protocol (SNMP)
194: Internet Relay Chat (IRC)
443: HTTP Secure (HTTPS)
465: SMTP Secure (SMTPS) - the registered ports - from 1024 through 49151
- they can be registered to specific protocols by software corporations/companies or users
- assigned by or registered to Internet Assigned Numbers Authority (IANA) (or by Internet Corporation for Assigned Names and Numbers (ICANN) before March 21, 2001[1]) - dynamic or private ports - from 49152 through 65535
- available for use by any application or just about anybody
HTML - is the principal language b/w the client and server that expresses content of webpages.
- DOM - is an interface to the browser and HTML/XML documents.
- DHTML
Dynamic HTML is a term used to describe the combination of HTML, style sheets, and scripts that allow dynamic pages. - Javascript - is the most common scripting language for browsers.
- Inversion of Control and Dependency Injection
- Loose coupling - describes a relationship of two entities/objects where they can interact, but have very little knowledge of each other.
Martin Fowler, who first coined Dependency Injection, considers it the same to Inversion of Control. He used Dependency Injection since he finds Inversion of Control too generic. However, other sources claim that Dependency Injection is just a form of Inversion of Control. With all the articles and blogs written about them, it is very easy to get confused. So I'll try to summarize their description here according to my own understanding and hopefully, it will be simple and easy to understand.
Inversion of Control is a general principle in which the flow of control is inverted, unlike the traditional sequential flow. It follows the "Hollywood principle" - "don't call us, we'll call you". Your objects don't call services directly. Instead, your objects expect to be called. It is the framework that manages the objects and services, and is aware of what to instantiate and invoke.
The main idea of Inversion of Control is to have none of your classes know or care how they get the objects they depend on.
Dependency Injection is a way of implementing Inversion of Control in which an external mechanism is supplied in order for your objects not to call services (other objects) directly and therefore not depend on them. The external mechanism is the one responsible in injecting the concrete implementation that your objects needed.
To r: inline css vs external css
What is robustness?
Disadvan of frames
Website-static
Webapp-dynamic
Get vs post- when to use get?
Session - uses cookies
Enabling technoligies:
Compiled modules-java servlets
Interpreted scripts-jsp
Monday, February 16, 2009
Other Pointers
- Weblogic Erroneous Handlers Error - this is caused by the jrockit version of jdk. To get the correct error message, use the Java jdk first. Source: http://ricksolutions.blogspot.hk/2009/03/fixing-erroneous-handlers-error.html
- checking tables on db2 select * from sysibm.systables where dbname='NACS01DB' and name like 'PC%'
- command for unzipping war files jar xvf xxx.war
- Extracting the Contents a JAR File
The basic command to use for extracting the contents of a JAR file is:
jar xf jar-file [archived-file(s)]
- The x option indicates that you want to extract files from the JAR archive.
- The f options indicates that the JAR file from which files are to be extracted is specified on the command line, rather than through stdin.
- The jar-file argument is the filename (or path and filename) of the JAR file from which to extract files.
- archived-file(s) is an optional argument consisting of a space-delimited list of the files to be extracted from the archive. If this argument is not present, the Jar tool will extract all the files in the archive.
- character encoding - http://www.joelonsoftware.com/articles/Unicode.html
- DB2 Timestamp to java.util.Date or java.sql.Timestamp
- DB2 format = yyyy-MM-dd HH:mm:ss.ZZZZZZ where Z = seconds since previos midnight (00000 - 86400), http://pic.dhe.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=%2Fcom.ibm.db2.luw.sql.ref.doc%2Fdoc%2Fr0007107.html
- java.sql.Timestamp = yyyy-mm-dd hh:mm:ss.fffffffff where f = nanoseconds
To convert to java.util.Date, use
new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse(dateStr)
To convert to java.sql.Timestamp, use
resultSet.getTimestamp([column name or column index])
http://technobuz.com/2011/04/run-commands-for-microsoft-applications/
Subscribe to:
Posts (Atom)