Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
drdhaval2785 committed Oct 31, 2013
0 parents commit ca25f64
Show file tree
Hide file tree
Showing 14 changed files with 1,499 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
215 changes: 215 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,215 @@
#################
## Eclipse
#################

*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# PDT-specific
.buildpath


#################
## Visual Studio
#################

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results

[Dd]ebug/
[Rr]elease/
x64/
build/
[Bb]in/
[Oo]bj/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.log
*.scc

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
*.ncrunch*
.*crunch*.local.xml

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.Publish.xml
*.pubxml

# NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
#packages/

# Windows Azure Build Output
csx
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.[Pp]ublish.xml
*.pfx
*.publishsettings

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
App_Data/*.mdf
App_Data/*.ldf

#############
## Windows detritus
#############

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Mac crap
.DS_Store


#############
## Python
#############

*.py[co]

# Packages
*.egg
*.egg-info
dist/
build/
eggs/
parts/
var/
sdist/
develop-eggs/
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox

#Translations
*.mo

#Mr Developer
.mr.developer.cfg
20 changes: 20 additions & 0 deletions Asya-prayatna.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<body>

<form action="Asya-prayatna.php" method="post">
Letter: <input type="text" name="letter"><br>
<input type="submit">
</form>

Enter only one letter. e.g. for ल्‌ use l. </br>
Use this scheme for entering letter: </br>
aAiIuUfFxXeEoOMH</br>
kKgGN</br>
cCjJY</br>
wWqQR</br>
tTdDn</br>
pPbBm</br>
yrlvSzsh;
</body>
</html>
66 changes: 66 additions & 0 deletions Asya-prayatna.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<?php
$text = $_POST["letter"];
echo "You entered: ".$text."</br>";
/* Defining grammatical arrays */
$shiv=array("a","i","u","-R","f","x","-k","e","o","-N","E","O","-c","h","y","v","r","-w","l","-R","Y","m","N","R","n","-m","J","B","-Y","G","Q","D","-z","j","b","g","q","d","-S","K","P","C","W","T","c","w","t","-v","k","p","-y","S","z","s","-r","h","-l");
$kantha = array("a","A","k","K","g","G","N","h","H");
$talu = array("i","I","c","C","j","J","Y","y","S");
$murdha = array("f","F","w","W","q","Q","R","r","z");
$danta = array("x","X","t","T","d","D","n","l","s");
$oshtha = array("u","U","p","P","b","B","m");
$nasika = array("N","Y","R","n","m","M");
$kanthatalu = array ("e","E");
$kanthoshtha = array("o","O");
$dantoshtha = array("v");
$sparsha = array("k","K","g","G","N","c","C","j","J","Y","w","W","q","Q","R","t","T","d","D","n","p","P","b","B","m");
$sprushta = array("k","K","g","G","N","c","C","j","J","Y","w","W","q","Q","R","t","T","d","D","n","p","P","b","B","m",);
$ishatsprushta = array("y","r","l","v");
$vivruta = array("S","z","s","h","a","A","i","I","u","U","f","F","x","X","e","E","o","O");
$samvruta = array("a");
$vivara = array("k","K","c","C","w","W","t","T","p","P","H","S","z","s");
$shvasa = array("k","K","c","C","w","W","t","T","p","P","H","S","z","s");
$aghosha = array("k","K","c","C","w","W","t","T","p","P","H","S","z","s");
$samvara = array("g","G","N","j","J","Y","q","Q","R","d","D","n","b","B","m","y","r","l","v","h");
$nada = array("g","G","N","j","J","Y","q","Q","R","d","D","n","b","B","m","y","r","l","v","h");
$ghosha = array("g","G","N","j","J","Y","q","Q","R","d","D","n","b","B","m","y","r","l","v","h");
$alpaprana = array("k","g","c","j","w","q","t","d","p","b","y","r","l","v");
$mahaprana = array("K","G","C","J","W","Q","T","D","P","B","S","z","s","h");
$antastha = array("y","r","l","v");
$ushma = array("S","z","s","h");
$ru = array("f","F","x","X");
$ac = array("a","A","i","I","u","U","f","F","x","X","e","o","E","O",);

// code part
$i=0;
if (in_array($text,$kantha)) { $sthana[$i] = "kantha"; $i++; }
if (in_array($text,$talu)) { $sthana[$i] = "talu"; $i++; }
if (in_array($text,$murdha)) { $sthana[$i] = "murdha"; $i++; }
if (in_array($text,$danta)) { $sthana[$i] = "danta"; $i++; }
if (in_array($text,$oshtha)) { $sthana[$i] = "oshtha"; $i++; }
if (in_array($text,$nasika)) { $sthana[$i] = "nasika"; $i++; }
if (in_array($text,$kanthatalu)) { $sthana[$i] = "kanthatalu(kantha,talu)"; $i++; }
if (in_array($text,$kanthoshtha)) { $sthana[$i] = "kanthoshtha(kantha,oshtha)"; $i++;}
if (in_array($text,$dantoshtha)) { $sthana[$i] = "dantooshtha(danta,oshtha)"; $i++; }
$j=0;
if (in_array($text,$sprushta)) { $abhyantara[$j] = "sprushta"; $j++; }
if (in_array($text,$ishatsprushta)) { $abhyantara[$j] = "ishatsprushta"; $j++; }
if (in_array($text,$vivruta)) { $abhyantara[$j] = "vivruta"; $j++; }
if (in_array($text,$samvruta)) { $abhyantara[$j] = "samvruta"; $j++; }
$k=0;
if (in_array($text,$aghosha)) { $bahya[$k] = "aghosha"; $k++; }
if (in_array($text,$vivara)) { $bahya[$k] = "vivAra"; $k++; }
if (in_array($text,$shvasa)) { $bahya[$k] = "shvasa"; $k++; }
if (in_array($text,$alpaprana)) { $bahya[$k] = "alpaprana"; $k++; }
if (in_array($text,$ghosha)) { $bahya[$k] = "ghosha"; $k++; }
if (in_array($text,$samvara)) { $bahya[$k] = "samvara"; $k++; }
if (in_array($text,$nada)) { $bahya[$k] = "nada"; $k++; }
if (in_array($text,$mahaprana)) { $bahya[$k] = "mahaprana"; $k++; }
if (in_array($text,$ac)) { $bahya[$k] = "udatta"; $k++; }
if (in_array($text,$ac)) { $bahya[$k] = "anuudatta"; $k++; }
if (in_array($text,$ac)) { $bahya[$k] = "svarita"; $k++; }

$a = "The sthana is: ".implode(",",$sthana).".</br>"."The abhyantara prayatna is: ".implode(",",$abhyantara).".</br>"."The bahya prayatna is: ".implode(",",$bahya);

echo $a;

?>
23 changes: 23 additions & 0 deletions ajantasandhi.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<body>

<html>
<body>

<form action="ajantasandhi.php" method="post">
First Word: <input type="text" name="first"><br>
Second Word: <input type="text" name="second"><br>
<input type="submit">
</form>

Use this scheme for entering words: </br>
aAiIuUfFxXeEoOMH</br>
kKgGN</br>
cCjJY</br>
wWqQR</br>
tTdDn</br>
pPbBm</br>
yrlvSzsh;
</body>
</html>
Loading

0 comments on commit ca25f64

Please sign in to comment.