Skip to content

Instantly share code, notes, and snippets.

View somahargitai's full-sized avatar

Soma somahargitai

View GitHub Profile
@somahargitai
somahargitai / apropenz.js
Created December 11, 2019 16:06
for bence with love
const example1 = [25, [5,3,2]];
const example2 = [100, [87,5,3]];
const example3 = [4, [1,3]];
const example4 = [10, [1,5,10,25]];
let sum = (array) => array.reduce((sum, x) => {
return sum + x;
} );
const giveNext = (actualCombination, coins, overflow) => {
@somahargitai
somahargitai / Git_workflows.md
Last active October 30, 2019 11:40
Git Workflows

cheatsheet list git cheatsheet

Git Workflows

This is a collection of workflows - the way you actually use git. Detailed command descriptions included. As I would like to cover whole workflows, in some point I will be redundant. Enjoy.

Save your changes when working

add, commit, look back

@somahargitai
somahargitai / ArrayProcessingJS.MD
Last active May 8, 2024 13:20
Array Processing functions in ES6 Javascript

cheatsheet list

Array Processing functions in ES6 Javascript

copy array

shallow copy

Create a copy. Modifications on the object will modify the original one too.

@somahargitai
somahargitai / BeautyPromises.js
Last active October 24, 2019 18:05
My Promise problem
let myList = [
'bob', 'snobb', 'rachel', 'gary'
];
async function asyncFunction (listitem) {
return new Promise((resolve, reject) => {
setTimeout(() => {
const littleList = ['szép ' + listitem, 'csúnya ' + listitem];
console.log('I am in the promise', littleList);
@somahargitai
somahargitai / OnlineFreeResources.MD
Last active January 9, 2021 13:37
Free online resources you can use for practice

cheatsheet list

Free online resources you can use for practice

Free music

https://www.epidemicsound.com/

Open APIs

You will want to fetch data from an API (like JSON or images), fetch based on a parameter, use it on your website (like simply printing it)

@somahargitai
somahargitai / InfrastructureWhoIsWho.MD
Last active August 15, 2019 23:35
Infrastructure Who is Who - main technologies and what do we use them for

Infrastructure Who is Who

The List

Amazon EKS

Appium

AWS Fargate

Chef

Chef is a company and the name of a configuration management tool for writing system configuration "recipes". The user writes "recipes" that describe how Chef manages server applications and utilities (such as Apache HTTP Server, MySQL, or Hadoop) and how they are to be configured. wiki

CloudFormation

@somahargitai
somahargitai / HtmlCssCheatsheet.MD
Last active July 18, 2019 08:58
HTML and CSS cheatsheet, showing some important details
@somahargitai
somahargitai / VS_Code_Setup.MD
Last active April 14, 2023 16:11
How to do the best with your Visual Studio Code working environment

cheatsheet list

Visual Studio Code Cheat Sheet

This list was made with the intention of helping VS Code users. My list is mostly useful for web developers, but I'm sure you will find some nice things here anyway.

Content

    1. Github Copilot shortcuts
@somahargitai
somahargitai / ThingsMakeMeMad.MD
Last active November 19, 2023 06:17
My universal IT complainer surface

I just complain here

This is a complainer surface to show the world the dark side of my real-life developer experience

content
  • Things software engineers say about work
@somahargitai
somahargitai / MacCheatSheet.MD
Last active November 15, 2021 10:56
Good-to-know stuff for people new at Mac

cheatsheet list

Must installs

  • Homebrew for command line installs. It is like apt-get in GNU/Linux. Usually there are nextnextfinish install files provided, but from time to time you will need Homebrew. To install a software like wget just type brew install wget
  • zsh (brew install zsh), oh my zsh

Other Setup Issues

.bashrc and bash_profile

You should set environmental variables and other preparations Read about .bashrc and .bash_profile here or here, see a good example here