Skip to content

Instantly share code, notes, and snippets.

View luiscielak's full-sized avatar
🤖

Luis Cielak luiscielak

🤖
View GitHub Profile
@luiscielak
luiscielak / cursor-ai-custom-roles.md
Created July 8, 2025 20:52
Custom Cursor AI Roles for Product Design, Growth, and UX

🧠 Custom Cursor AI Roles for Product Designers

A set of 3 optimized AI roles for Cursor’s Custom Modes, tailored for:

  • Product strategy and design leadership
  • Growth experimentation and UX optimization
  • B2B enterprise and usability-focused UX design

⚙️ Cursor Setup Instructions

# Design Systems Resources
by: Sujan Khadgi
Atomic Design by Brad Frost:
http://atomicdesign.bradfrost.com/
Design Systems by Alla Kholmatova:
http://designsystemsbook.com/
Design Systems Handbook:
@luiscielak
luiscielak / wget images
Created December 30, 2015 21:21
Download all images from file (images.txt) into a directory (out)
wget -P out/ -i images.txt
@luiscielak
luiscielak / gist:450f157c9f12eb56e371
Created October 3, 2015 19:31
Install gems in OSX 10.11
sudo gem install -n /usr/local/bin sass
@luiscielak
luiscielak / open-chrome
Created August 17, 2015 19:27
Open Chrome with disable-web-security
open /Applications/Google\ Chrome.app/ --args --disable-web-security
@luiscielak
luiscielak / .css
Created July 30, 2015 16:23
Debug
* { background-color: rgba(255,0,0,.2); }
* * { background-color: rgba(0,255,0,.2); }
* * * { background-color: rgba(0,0,255,.2); }
* * * * { background-color: rgba(255,0,255,.2); }
* * * * * { background-color: rgba(0,255,255,.2); }
* * * * * * { background-color: rgba(255,255,0,.2); }
@luiscielak
luiscielak / gist:52ff4fa7b774e353d478
Created April 29, 2015 14:05
D3.js loading local data file from file:///
Have a local web server, as explained (here)[https://github.com/mbostock/d3/wiki#using].
run:
python -m SimpleHTTPServer 8888 &
Then just load the page http://localhost:8888
[
{ "keys": ["ctrl+s"], "command": "toggle_side_bar" },
{ "keys": ["command+shift+r"], "command": "reindent" , "args": { "single_line": false } },
{ "keys": ["ctrl+alt+up"], "command": "select_lines", "args": {"forward": false} },
{ "keys": ["ctrl+alt+down"], "command": "select_lines", "args": {"forward": true} }
]
{
"binary_file_patterns":
[
"*.jpg",
"*.jpeg",
"*.png",
"*.gif",
"*.ttf",
"*.tga",
"*.dds",
<!DOCTYPE html>
<script src="http://mbostock.github.com/d3/d3.v2.js?2.8.1"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<style>
body {
font: 10px sans-serif;
}
rect {