Skip to content

Instantly share code, notes, and snippets.

View somahargitai's full-sized avatar

Soma somahargitai

View GitHub Profile
@somahargitai
somahargitai / GMAO.JS
Created July 12, 2024 11:08
Google Maps Addon
// ==UserScript==
// @name Google maps addon
// @namespace http://tampermonkey.net/
// @version 2024-02-13
// @description Bring google maps button back
// @author You
// @match https://www.google.com/*
// @icon https://www.google.com/
// @grant none
// ==/UserScript==
@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 July 28, 2024 19:09
Typography Link Collection