Skip to content

Instantly share code, notes, and snippets.

View hygull's full-sized 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 December 16, 2023 19:30
LICENSE KEY FOR SUBLIME TEXT 3 BUILD 3143

STEPS

  • Click on Help menu

  • Select Enter License

  • Then paste given KEY given at bottom

  • Finally click on Use License

@hygull
hygull / generating-toast-notifications-on-windows.md
Last active June 9, 2023 23:12
Generating toast notifications on windows 10 using Python
@hygull
hygull / adding_2_numbers.ts
Created April 12, 2017 05:39
TypeScript - Adding 2 numbers (integers, floats)
/*
{
"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 / pep8-style-formatting-guide.md
Last active February 12, 2023 05:28
Install pycodestyle then autopep8 to format the Python code to conform to the PEP 8 style guide.

Visit here or see the follwoing usage guide.

  • Open terminal

  • Run

pip install pycodestyle
@hygull
hygull / Reading_column_into_slice_of_strings.go
Last active September 14, 2022 23:09
Reading mysql's column data(string type) into a slice of strings([]string)
/**
{
"created_on": "26 may 2017",
"todos": [
"go get github.com/go-sql-driver/mysql"
],
"aim": "Reading fname column into []string(slice of strings)"
}
*/
@hygull
hygull / Converting_a_table_to_JSON_format.go
Last active July 21, 2022 16:02
Converting users table into JSON form (dbname: practice_db, password: admin@67, user: hygull, port: 8080{localhost}, port: 3306{mysql} )
/**
{
"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 / Matrix multiplication in Golang(2 matrices of order 3x3).go
Last active October 23, 2021 21:23
Matrix multiplication in Golang(2 matrices of order 3x3) created by hygull - https://repl.it/Et8I/2
/*
{
"date_of_creation" => "19 Dec 2016, Mon",
"aim_of_program" => "Matrix multiplication in Golang",
"coded_by" => "Rishikesh Agrawani",
"Go_version" => "1.7",
}
*/
package main
@hygull
hygull / generate_md5_hash_in_java.md
Last active April 1, 2021 00:50
Generating md5 hash in java
/**
* @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 July 25, 2020 02:58
Poem Hindi
कभी सपनों मे अपनों के सपनों को जरा सहेजना तो!
हो सकता है़!
कभी महसूस न किया तुमने होगा जो समझ आए वो!
यूँ बन वाचाल खुदा को बेवजह न तकलीफ़़ में डाल!
दे सकता है!
ये पुरे जमाने का दर्द; ज़रा समझ; न बन अतफ़ाल!
@hygull
hygull / Python Tuple Lists with language codes (as of ISO 639-1) and country codes (as of ISO 3166).md
Created December 31, 2017 05:57
Python Tuple Lists with language codes (as of ISO 639-1) and country codes (as of ISO 3166)
languages = [
    ('aa', 'Afar'),
    ('ab', 'Abkhazian'),
    ('af', 'Afrikaans'),
    ('ak', 'Akan'),
    ('sq', 'Albanian'),
    ('am', 'Amharic'),
    ('ar', 'Arabic'),
    ('an', 'Aragonese'),