Skip to content

Instantly share code, notes, and snippets.

View somahargitai's full-sized avatar

Soma somahargitai

View GitHub Profile
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NumberSets
{
class Program
{
@somahargitai
somahargitai / Git_cheatsheet.md
Last active April 22, 2024 09:30
Git cheatsheet

cheatsheet list

GIT tips and tricks

Target: This Gist is not intended to replace any basic or advanced learning material. The goal is to help junior developers by collecting quick reminders in a nutshell and to pack some best practice sugar (for devs on all levels) which we regularly use - but which can be found only in random Stackoverflow comments. Don't forget to do research in Git docs or the free Git Pro Book. The Learning Materials chapter is not really detailed yet, but I would recommend you to do the Codecademy Git Training and Github's own basic tutorial, then other Github guides.

Contents:

  1. Start and setup
@somahargitai
somahargitai / reboottodo.MD
Last active July 18, 2019 09:00
New Computer / Reboot To-Do List

cheatsheet list

Install:

Notepad++
VS Code
Eclipse / STS
Irfanview or other good image viewer
Total Commander

Customize list:

import sinon from 'sinon';
import expect from 'chai';
import factory from '../../../factory';
import * as resolvers from '../../../graphql/resolvers';
import * as service from '../../../services/service';
describe('resolvers', async () => {
let sandbox;
beforeEach(() => {
sandbox = sinon.sandbox.create();
@somahargitai
somahargitai / NodejsCheatsheet.md
Last active February 13, 2024 14:01
Node.js cheatsheet
@somahargitai
somahargitai / LearningProg.MD
Last active August 14, 2019 20:54
How to learn programming - plans, best practices, tips and tricks

!!! This is an under construction Gist. Feel free to ping me with any ideas on it

Web Developer Roadmap 2019

This file will provide a wider overview on how to start programming. As long as it is not ready, check out my beginner guide here

  • learn basics of programming on a language (C#, Java, Python, JavaScript)

  • learn HTML and CSS

  • learn a script language (Python)

@somahargitai
somahargitai / LearningProg2.MD
Last active September 23, 2019 03:18
Start learning programming - a very short introduction

How to start programming

the following introduction is based on my personal thoughts about learning to code. If you use it, please make sure to go through all its steps. I went into details only when it was necessary - usually the linked sources are more than enough.

Learn Code

First thing should be to learn the very basic terms of programming: variable, type/data structure, array/list, if, for loop, while loop, function/method, class. There are many different sources for these basics, my recommendation is Codecademy. After a short registration you can open the catalog and browse the free trainings.
Choose beginner training of Java or Python. These are the most-used languages today (with Javascript - but let's learn about that later), sooner or later you will need both of them. Python is faster to learn, you can write shorter code for a task. Java is very exact, in the beginning there will be some things you don'

@somahargitai
somahargitai / TheoreticalProgrammingFAQ.MD
Last active May 5, 2019 10:12
Theoretical Programming FAQ - Questions which usually don't change anything but some coders worry about so much

Theoretical Programming FAQ

Definition of "programming language"

(1) Is HTML a programming language? And CSS?

HTML can be examined as a programming language, but its goal is different than of "classic" programming languages, that's why we have the category of markup languages. So basicly no, it is not by definition.

The question roots in the Duck Test:
If it looks like a duck, swims like a duck, and quacks like a duck, then it probably is a duck.

@somahargitai
somahargitai / ForInterviewers.MD
Last active September 10, 2018 23:56
IT interview questions

What you should not do?

  • If the candidate has no clue about a main theoritical answer, don't expect to invent it in that moment. There are typical programming exercises which can be learnt or can be figured out in that very moment. But it is a ridiculous expectation that the candidate will figure out big programming concepts during an interview.