View wallpaper.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<background> | |
<starttime> | |
<year>2009</year> | |
<month>08</month> | |
<day>04</day> | |
<hour>00</hour> | |
<minute>00</minute> | |
<second>00</second> | |
</starttime> | |
<!-- This animation will start at midnight. --> |
View sample_form.jsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form method="post" enctype="multipart/form-data"> | |
Your Data. | |
</form> |
View error.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.springframework.web.servlet.mvc.AbstractFormControIIer.getCommand (AbstractFormCont roller. java:435) | |
org.springframework.web.servlet.mvc.AbstractFormControIIer.handIeRequestlnte rnal (Abst ractFo rmCont roller. java:265) | |
org.springframework.web.servlet.mvc.AbstractControIIer.handIeRequest (AbstractController. java: 1 53) Q | |
org.springframework.web.servlet.mvc.SimpIeControllerHandIe rAdapter.handIe (SimpIeControllerHandIerAdapter. java:4) | |
org.springframework.web.servlet.Dispatcherservlet.doDispatch (DispatcherServlet. java:771 ) | |
org.springframework.web.servlet.Dispatcherservlet.doSe rvice (DispatcherServlet. java:716) | |
org.springframework.web.servlet.Frameworkservlet.processRequest (FrameworkServlet. java:644) | |
org.springframework.web.servlet.Frameworkservlet.doPost (FrameworkServlet. java: 560) | |
javax.servlet.http.Httpservlet.se rvice(HttpServlet. java:637) | |
javax.servlet.http.Httpservlet.se rvice(HttpServlet. java:717) |
View SMS.pl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
############################################################################################### | |
# source link : http://digitalpbk.com/2009/12/perl-script-send-free-sms-any-mobile-number-india-using-way2sms | |
# From CPAN : from CPAN link itself you can download the source for way2sms. | |
# | |
# Modified by : Arulalan.T (arulalant@gmail.com) | |
# | |
# Goal : send sms through way2sms.com with few easy options. So I modified this below code accordingly. | |
# |
View testing.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void testpopulateModel() throws Exception { | |
System.out.println("poplulateModel"); | |
SubmitFeedbackController instance = new SubmitFeedbackController(); | |
Map<String, Object> reqmap = new HashMap<String, Object>(); | |
instance.populateModel(request, reqmap) ; | |
/*to check wheather the data is sent or not binded into the key feedback*/ | |
if (!reqmap.containsKey("predefinedsubjects") || !reqmap.containsKey("severities")) | |
{ | |
Assert.fail("Do not contain the object predefined subjects and severities") ; |
View pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>org.openmrs.module</groupId> |
View pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>org.openmrs.module</groupId> | |
<artifactId>feedback-parent</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
</parent> | |
<groupId>org.openmrs.module</groupId> |
View greyscale.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gs -sOutputFile=<name_of_output_file> -sDEVICE=pdfwrite \ | |
-sColorConversionStrategy=Gray -dProcessColorModel=/DeviceGray \ | |
-dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH <name_of_file_to_convert> < /dev/null |
View readme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Code : | |
git : https://github.com/gauravpaliwal/General-Feedback-Module-OpenMRS | |
svn : https://source.openmrs.org/browse/Modules/feedback/trunk | |
Design : https://wiki.openmrs.org/display/projects/General+Feedback+Mechanism+%28Design+Page%29 | |
Implementation Idea : https://wiki.openmrs.org/display/projects/General+Feedback+Mechanism+%28Implementation+Ideas%29 | |
User Documentation : https://wiki.openmrs.org/display/docs/Feedback+Module | |
View photo_processing.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#rename JPG to jpg | |
for i in *.JPG; | |
do mv $i `basename $i JPG`jpg; | |
done | |
#resizing photos | |
for i in *.JPG; |
OlderNewer