Skip to content

Instantly share code, notes, and snippets.

View somahargitai's full-sized avatar

Soma somahargitai

View GitHub Profile
@somahargitai
somahargitai / DesignCheatSheet.MD
Last active July 11, 2023 07:52
Design Cheatsheet
@somahargitai
somahargitai / PythonCheatSheet.MD
Last active April 14, 2023 16:32
Pyhon Cheat Sheet
@somahargitai
somahargitai / generateRandomLines.js
Last active March 1, 2023 23:47
Generate random lines
// Generate Random Lines In Adobe Illustrator
// change numberOfLines as you wish
// Run in Illustrator with File / Scripts / Other Script
var myDoc = app.activeDocument;
var numberOfLines = 4000;
// example line
@somahargitai
somahargitai / MermaidCheatSheet.MD
Last active April 14, 2023 16:12
Mermaid Cheat Sheet

cheatsheet list

Mermaid Cheatsheet

Vertical

 flowchart TD 
    start-- through --> second
 second -- through again --> third
@somahargitai
somahargitai / MongoCheatSheet.md
Last active April 16, 2023 20:12
Mongo Cheatsheet

cheatsheet list

Mongo Database Cheatsheet

Content:

  1. Setup Mongo
  2. Tools
  3. Most used commands
  4. Mongoose
@somahargitai
somahargitai / CommandLineSurvival.MD
Last active April 14, 2023 16:32
Survive the first meeting with Windows, Mac command line, with Git and others
@somahargitai
somahargitai / goExecutableHowto.MD
Last active September 22, 2021 17:32
Make Go executable work on Mac

Make Go executable work on Mac

What we do

  • add necessary folder to Path
  • get the repo
  • create executable file with Make
  • copy executable to /usr/local/bin to let us it everwhere
  • modify access with chmod
@somahargitai
somahargitai / javascriptclass.js
Last active December 20, 2020 22:39
Read this.baseURL
const async = require('async');
class demoClass {
constructor(con) {
this.constantVariable = con;
this.q = async.queue(this.processFunc, 1);
}
feedfunc(inputArray) {
@somahargitai
somahargitai / TypographyLinks.MD
Last active April 2, 2024 23:29
Typography Link Collection
@somahargitai
somahargitai / DockerCheatSheet.MD
Last active November 25, 2020 11:41
Docker Cheat Sheet

cheatsheet list

Docker cheat sheet

Content

  • Introduction
  • CLI Commands
    • Listing and info
  • Deleting