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
package org.openmrs.module.patientmatching.web; | |
import java.io.IOException; | |
import javax.servlet.ServletException; | |
import javax.servlet.http.HttpServlet; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; | |
import org.apache.commons.logging.Log; |
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
Index: omod/src/main/resources/HelloWorld.hbm.xml | |
=================================================================== | |
--- omod/src/main/resources/HelloWorld.hbm.xml (revision 28269) | |
+++ omod/src/main/resources/HelloWorld.hbm.xml (working copy) | |
@@ -3,7 +3,7 @@ | |
"-//Hibernate/Hibernate Mapping DTD 3.0//EN" | |
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" > | |
-<hibernate-mapping package="@MODULE_PACKAGE@"> | |
+<hibernate-mapping package="org.openmrs.module.helloworld"> |
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) | |
# | |
# Version : 1b on 29-10-2011 | |
# |
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; |
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
find . -type f -print0 | xargs -0 grep -i <pattern> | |
#Source : http://www.commandlinefu.com/commands/view/3568/search-for-a-string-inside-all-files-in-the-current-directory |
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 | |
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 |
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> |
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> | |
<artifactId>feedback</artifactId> | |
<packaging>omod</packaging> |
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> |
NewerOlder