Skip to content

Instantly share code, notes, and snippets.

View somahargitai's full-sized avatar

Soma somahargitai

View GitHub Profile
@somahargitai
somahargitai / IndesignSelectCursive.txt
Created December 18, 2025 13:57
Select all cursive texts in indesign
#target indesign
var doc = app.activeDocument;
app.select(NothingEnum.NOTHING);
var foundItems = [];
for (var i = 0; i < doc.stories.length; i++) {
var story = doc.stories[i];
var chars = story.characters;
@somahargitai
somahargitai / gmail-tabs.js
Last active August 22, 2025 22:15
Tampermonkey to replace Gmail Tabs
// ==UserScript==
// @name Gmail Quick Label Tabs (colored, no quotes)
// @namespace https://example.soma
// @version 1.3.0
// @description Extra bar under Gmail toolbar with colored label buttons (no quotes).
// @match https://mail.google.com/*
// @run-at document-idle
// @grant none
// ==/UserScript==
@somahargitai
somahargitai / Design_UX_UI_CheatSheet.md
Last active February 21, 2025 13:29
Design, UI and UX Cheat Sheet

Design UX UI Cheat Sheet

↩cheatsheet list

Collection of basics to start design projects for digital projects

UX design startup for Mobile / Tablet / Desktop

Details Mobile (Single Column)
@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 / 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 --&gt; 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