Skip to content

Instantly share code, notes, and snippets.

View santhoshanand's full-sized avatar
🚀
Got a business problem? I build simple custom apps tailored to your needs

santhosh kumar santhoshanand

🚀
Got a business problem? I build simple custom apps tailored to your needs
View GitHub Profile
@santhoshanand
santhoshanand / readme.md
Last active December 21, 2024 08:34
Ensures accurate handling of Tamil characters for text processing, maintaining proper combinations and for array format

Split Tamil Characters

splitTamilCharacters is a JavaScript utility function designed to parse and split Tamil words into their orthographic components based on Tamil Unicode standards. It accurately handles vowels, consonants, dependent vowels, pulli marks, and other Tamil-specific orthographic features.

Features

  • Supports Tamil orthography rules, ensuring proper splitting of characters.
  • Handles:
    • Independent vowels (e.g., "அ", "ஆ").
  • Consonants combined with dependent vowels (e.g., "க்" + "ஆ" = "கா").
@santhoshanand
santhoshanand / index.html
Created December 16, 2024 04:37
simple Cryptogram puzzle in Tamil . It is in the basic version please go through the code
<!-- Cryptogram Interactive Tamil Puzzle with Keyboard
https://gist.github.com/allenbh/7128566
Solve the puzzle by replacing letters to reveal the hidden message.
Use the keyboard and mouse to move the cursor.
Type a letter to make a guess and advance the cursor.
Correct mistakes by typing over them or with backspace and delete.
-->
<style>
@santhoshanand
santhoshanand / LocationService.php
Created September 21, 2024 10:51
handling multiple location service for single project as a simplified template code
<?php
namespace App\Models;
class LocationService
{
public function getLocationData($plan)
{
switch ($plan) {
case 'google':
@santhoshanand
santhoshanand / PHPMySqlMassEmailer.php
Created October 9, 2016 02:31 — forked from IftiMahmud/PHPMySqlMassEmailer.php
PHP Script to send mass email. This script will take subscribers emails from MySql database and send them bulk emails. Comes with Unsubscriber script.
<?php
//SOURCE: http://thedigilife.com/bulk-email-script-in-php-and-mysql-database/
$con = mysql_connect("localhost","dbuser","dbpass"); // replace dbuser, dbpass with your db user and password
mysql_select_db("dbname", $con); // replace dbname with your database name
/*
To use this script database table must have three fields named sno, email and sub_status
*/
$query = "select sno, email from dbtable where sub_status = 'SUBSCRIBED'";
$result = mysql_query($query, $con);
$emails = array();
@santhoshanand
santhoshanand / toggle-remote-styles.js
Created November 22, 2015 11:06 — forked from gauntface/toggle-remote-styles.js
A book marklet to toggle styles.
javascript:(function(){var styles = document.querySelectorAll('link[rel=\'stylesheet\']'); for (var s = 0; s < styles.length; s++) {styles[s].mediax = styles[s].media;if (styles[s].media === 'only x') { styles[s].media = styles[s].mediax; } else if (styles[s].media !== 'print') {styles[s].media = 'only x';}}})();
@santhoshanand
santhoshanand / DataSet.md
Last active September 21, 2024 10:31 — forked from entaroadun/gist:1653794
Collection of Movie and Music Dataset