Skip to content

Instantly share code, notes, and snippets.

View lucianghinda's full-sized avatar

Lucian Ghinda lucianghinda

View GitHub Profile
attributes = ["new", "reimagined", "innovative", "special", "simplified", "focused"]
seeds_one = ["buy", "choose", "help", "assist them in", "create", "control", "merge", "ease", "deliver", "arrange"]
seeds_two = ["foods", "clothes", "virtual", "arrange", "map", "online", "path", "choice", "talk", "items", "visits", "duration", "cart", "move", "view", "deliver", "package", "access"]
seeds_simple_operator = ["and", "or"]
seeds_join_operator = ["and", "or", "in context of", "to help with", "to solve"]
(1..30).each do |no|
idea_type = "A #{attributes.sample} service"
idea_type = "A #{attributes.sample} mobile app" if no % 4 == 0
idea_type = "A #{attributes.sample} portal" if no % 5 == 0
@lucianghinda
lucianghinda / kill-adobe-creative-cloud.sh
Created March 13, 2017 08:47
Kill all Adobe Processes
#!/bin/bash
ps axuwww | grep Adobe --exclude='grep' | awk '{print $2}' | xargs sudo kill -9
@lucianghinda
lucianghinda / count-domains-and-paths.rb
Created January 23, 2017 17:10
Count domains and paths
# Script to counts subdomains and URL paths from a list
# Gem List Used:
# https://github.com/gilliek/opml-parser
# https://github.com/mhuggins/dominatrix
require 'opml-parser'
require 'domainatrix'
require 'pp'
require 'csv'
include OpmlParser
@lucianghinda
lucianghinda / automator_new_markdown_file.applescript
Last active August 29, 2015 14:21 — forked from rarylson/automator_new_file.scpt
Change the filetype to markdown .md and automatically open it with iA Writer without renaming.
on run {input, parameters}
set file_name to "untitled"
set file_ext to ".md"
set is_desktop to false
-- get folder path and if we're in desktop (no folder opened)
try
tell application "Finder"
set this_folder to (folder of the front Finder window) as alias