Skip to content

Instantly share code, notes, and snippets.

Avatar
😃
Enjoying work at AIPALETTE & in home. Programming is there as my best friend.

Rishikesh Agrawani hygull

😃
Enjoying work at AIPALETTE & in home. Programming is there as my best friend.
View GitHub Profile
@hygull
hygull / LICENSE KEY FOR SUBLIME TEXT 3 BUILD 3143.md
Last active May 27, 2021
LICENSE KEY FOR SUBLIME TEXT 3 BUILD 3143
View LICENSE KEY FOR SUBLIME TEXT 3 BUILD 3143.md

STEPS

  • Click on Help menu

  • Select Enter License

  • Then paste given KEY given at bottom

  • Finally click on Use License

@hygull
hygull / Converting_a_table_to_JSON_format.go
Last active Apr 26, 2021
Converting users table into JSON form (dbname: practice_db, password: admin@67, user: hygull, port: 8080{localhost}, port: 3306{mysql} )
View Converting_a_table_to_JSON_format.go
/**
{
"created_on": "27 may 2017",
"todos": [
"go get github.com/go-sql-driver/mysql",
"postman(optional)",
"browser(optional)",
],
"aim": "Converting a table into JSON form",
"created_by": "Rishikesh Agrawani"
@hygull
hygull / generate_md5_hash_in_java.md
Last active Apr 1, 2021
Generating md5 hash in java
View generate_md5_hash_in_java.md
/**
* @reference : https://www.quickprogrammingtips.com/java/how-to-generate-md5-hash-in-java.html
*/

import java.security.MessageDigest;
import java.util.Scanner;
import javax.xml.bind.DatatypeConverter;

/**
@hygull
hygull / poem.md
Last active Jul 25, 2020
Poem Hindi
View poem.md
कभी सपनों मे अपनों के सपनों को जरा सहेजना तो!
हो सकता है़!
कभी महसूस न किया तुमने होगा जो समझ आए वो!
यूँ बन वाचाल खुदा को बेवजह न तकलीफ़़ में डाल!
दे सकता है!
ये पुरे जमाने का दर्द; ज़रा समझ; न बन अतफ़ाल!
@hygull
hygull / Python Tuple Lists with language codes (as of ISO 639-1) and country codes (as of ISO 3166).md
Created Dec 31, 2017
Python Tuple Lists with language codes (as of ISO 639-1) and country codes (as of ISO 3166)
View Python Tuple Lists with language codes (as of ISO 639-1) and country codes (as of ISO 3166).md
languages = [
    ('aa', 'Afar'),
    ('ab', 'Abkhazian'),
    ('af', 'Afrikaans'),
    ('ak', 'Akan'),
    ('sq', 'Albanian'),
    ('am', 'Amharic'),
    ('ar', 'Arabic'),
    ('an', 'Aragonese'),
@hygull
hygull / Conversion of a simple Month Year string to short form.md
Last active Mar 22, 2020
Conversion of a simple Month Year string to short form
View Conversion of a simple Month Year string to short form.md

An Illustration

> function getDateShortName(s, shortYear=true) {
...     let parts = s.split(/\s+/ig)
...     
...     if(shortYear) {
.....         return parts[0].slice(0, 3) + '\'' + parts[1].slice(2)
.....     } else {
.....         return parts[0].slice(0, 3) + '\'' + parts[1]
@hygull
hygull / adding_2_numbers.ts
Created Apr 12, 2017
TypeScript - Adding 2 numbers (integers, floats)
View adding_2_numbers.ts
/*
{
"created_at" : "11 April 2017 (before 02:05 am)",
"aim_of_script" : "To add 2 numbers",
"coded_by" : "Rishikesh Agrawani",
}
*/
function addition(num1:number, num2:number)
{
@hygull
hygull / regex-list-dict-based-python-q-for-beginners.md
Last active Nov 23, 2019
Regex list dict based Python question for beginners
View regex-list-dict-based-python-q-for-beginners.md
@hygull
hygull / pattern-based-python-q-for-beginners.md
Last active Nov 23, 2019
Pattern based Python question for beginners
View Cabs-Service-Project-Doc.md

Cab Service Based Project Doc

Objective

  • To book vehicle to visit places near by Bangalore.

    • People can book vehicles without any registration by using their mobile numbers.

    • In first page, they can enter place details as follows: