Skip to content

Instantly share code, notes, and snippets.

View sin2akshay's full-sized avatar
πŸ’»
Coding

Akshay Kumar sin2akshay

πŸ’»
Coding
  • DevOn
  • Bangalore
View GitHub Profile
@sin2akshay
sin2akshay / References.txt+
Created June 8, 2018 13:09
Ethereum Development
To read list:
https://medium.com/@robertgreenfieldiv/explaining-proof-of-stake-f1eae6feb26f
https://cointelegraph.com/explained/proof-of-work-explained
https://medium.com/loom-network/understanding-blockchain-fundamentals-part-1-byzantine-fault-tolerance-245f46fe8419
https://medium.com/loom-network/understanding-blockchain-fundamentals-part-2-proof-of-work-proof-of-stake-b6ae907c7edb
Next:
https://github.com/ethereum/wiki/wiki/Ethereum-Development-Tutorial
@sin2akshay
sin2akshay / ReportScheduler.cs
Created June 20, 2018 09:27
Report Scheduler Code using Timers in C#
//FOR DAILY REPORT
void timer_Elapsed(object sender, ElapsedEventArgs e)
{
//Current Time
TimeSpan now = DateTime.Now.TimeOfDay;
//Sets Runtime to the time when the report is to be run
TimeSpan runTime = TimeSpan.Parse(ConfigurationManager.AppSettings[Constants.RunTime]);
//Creating a 2 minute timespan
@sin2akshay
sin2akshay / career.txt
Last active October 22, 2018 11:42
Career Notepad
--== Support Engineer | Dot Net Role | Skills required ==--
Strong troubleshooting and problem solving skills
Expertise in .NET programming and hands-on experience with ASP.NET and Database connectivity.
Understanding of the concept of Azure (subscription, AAD, RBAC).
Understanding of Azure webapp, cloud services, how to deploy the applications.
Understanding of third party technologies like Java is an added advantage.
Identify current knowledge deficiencies/training needs, as well as potential future needs.
Act as a subject matter expert (SME) to build readiness content and develop training (in applicable regions).
Knowledge on other ALM tools like Team Foundation Server, Team Build and Lab Management would be an added advantage.
Application development experience in Microsoft ecosystem would be an added advantage
@sin2akshay
sin2akshay / CP1.md
Created July 15, 2018 14:17 — forked from sharmaeklavya2/CP1.md
Getting started with Competitive Programming

Starting out with Competitive Programming

(This guide is meant for beginners. If you have solved 100+ problems and are looking for guidance on how to solve problems involving algorithms and data structures, this document is not for you.)

Competitive Programming is an interesting activity which mixes problem solving with programming. It is not only enjoyable but also very demanded in placements. Competitive programming will make you very good at writing efficient programs quickly.

@sin2akshay
sin2akshay / ValidateFileName.cs
Last active August 8, 2018 03:12
Convert String to Valid File name for Windows in C#
private static string MakeValidFileName(string name, char replaceChar)
{
string str_replaceChar = "" + replaceChar;
string invalidChars = System.Text.RegularExpressions.Regex.Escape(new string(System.IO.Path.GetInvalidFileNameChars()));
string invalidRegStr = string.Format(@"([{0}]*\.+$)|([{0}]+)", invalidChars);
return System.Text.RegularExpressions.Regex.Replace(name, invalidRegStr, str_replaceChar);
}
@sin2akshay
sin2akshay / Blockchain_Resources.md
Last active May 30, 2024 17:15
Blockchain Learning Resources

Blockchain Resources

Following are the resources provided in the Blockchain specialization course on Coursera and a few other resources I found useful while learning Blockchain.
⭐ Best Resources are marked with a star.
βœ”οΈ After reading/watching the resource, put a tick mark.

Please mention the resources you think would be helpful here in the comments

Bitcoin and Blockchain

@sin2akshay
sin2akshay / Github Emojis.md
Last active August 11, 2018 20:49 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
@sin2akshay
sin2akshay / ADO.NET.cs
Last active September 3, 2018 00:59
C#
public void ReadDataFromDatabaseUsingDA()
{
// 1
// Open connection
using (SqlConnection c = new SqlConnection(@"Data Source=PCName\\SQLEXPRESS;Initial Catalog= DBEmployeeDetailsMock;Integrated Security=True"))
{
c.Open();
// 2
// Create new DataAdapter
using (SqlDataAdapter a = new SqlDataAdapter("SELECT * FROM EmployeeIDs", c))

FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

What's an Effective Engineer?