Skip to content

Instantly share code, notes, and snippets.

View eonist's full-sized avatar
🎯
Focusing

André J eonist

🎯
Focusing
View GitHub Profile
@eonist
eonist / vscode_tricks.md
Last active October 21, 2023 00:08
vscode_tricks.md
View vscode_tricks.md

Visitors

Productivity must know power tips for vscode

VSCode

Shortcuts

  • shift + cmd + p -> command center (from here you can type in stuff you want to do like "wordwrap" or "beautify" etc)
  • ctrl + cmd + i -> copilot chat 💪
@eonist
eonist / producthunt_best_practice_2023.md
Created September 28, 2023 23:30
producthunt_best_practice_2023.md
View producthunt_best_practice_2023.md

What days are best

  • Weekend for pet projects or if you want top product badge. Weekdays for all others
  • Fridays are semi weekends. Since everyone is at the bar partying etc. Leave the office early. Or go to the cabin. Mondays people are biz working, and no time for PH. Tuesdays, people get the FOMO urge and check PH. And on Tuesdays you get Wedensday and Thursday to pump your long tail around the webs

How do you win:

  • Pump on linkedin. ask for support etc
  • Build at least 1k notified in the upcoming page. and spam them on launch day
  • Make everything super clear. Engage with people, dont use LLMs for engagment, it feels fake and people get turned off
  • Launch great stuff. Commodeties wont get real traction.
@eonist
eonist / How_to_commit_to_a_gist_directly_from_github_desktop_or_mobile.md
Last active October 16, 2023 11:30
How_to_commit_to_a_gist_directly_from_github_desktop_or_mobile.md
View How_to_commit_to_a_gist_directly_from_github_desktop_or_mobile.md

Visitors

Why?

TL;DR: Because Notion is mehhh 🙊, and github is more awwwwwesome 😎

  • Gists offer enhanced portability and composability.
  • They are not subject to single-company control, eliminating lock-ins.
  • Gists cannot be censored or restricted.
  • You have the flexibility to host them on various platforms, such as GitLab, Notion, and more.
@eonist
eonist / github_stats.py
Last active October 25, 2023 01:48
github_stats.py
View github_stats.py
import json
import urllib.request
import ssl
username = input("Enter your GitHub username: ")
url = f"https://api.github.com/users/{username}/events"
context = ssl.create_default_context()
context.check_hostname = False
context.verify_mode = ssl.CERT_NONE
@eonist
eonist / My_favorite_ai_coding_prompts.md
Last active February 18, 2024 15:02
My_favorite_ai_coding_prompts.md
View My_favorite_ai_coding_prompts.md

The art of prompt coding 🦾

Visitors

Apps used: Cursor.so / github copilot chat

img

⚠️️ Before you disregard the idea of prompt coding ⚠️️ Don't! Because everyone will be prompt-coding soon enough.

This is like when humanity stopped using horses for transportation and started using cars. 🐴 👉 🚗

@eonist
eonist / CustomTextFieldCell.swift
Created May 21, 2023 13:42
CustomTextFieldCell.swift
View CustomTextFieldCell.swift
#if os(macOS)
import Cocoa
/**
* Adds custom padding
* - Remark: ⚠️️ Experimental, not yet in use ⚠️️ deprecate? move to issues or gist?
*/
final class CustomTextFieldCell: NSTextFieldCell {
private static let padding: CGSize = .init(width: 2.0, height: 4.0)
/**
* - Parameter rect: NSRect
@eonist
eonist / UITableViewDelegate+Ext.swift
Created May 21, 2023 13:31
UITableViewDelegate extension
View UITableViewDelegate+Ext.swift
/**
* Table extensions
* - Fixme: ⚠️️ deprecate these, not in use anymore. move to gist or something?
*/
extension UITableViewDataSource where Self: UITableView {
/**
* Returns all IndexPath's in a table
* ## Examples:
* table.indexPaths.forEach {
* selectRow(at: $0, animated: true, scrollPosition: .none) // selects all cells
View NSRectCorner.swift
import Foundation
/**
* - Fixme: ⚠️️ deprecate? yes!
*/
public struct NSRectCorner: OptionSet {
public let rawValue: Int
/**
* - Parameter rawValue: 0 to 3
*/
public init(rawValue: Int) {
@eonist
eonist / NSBezierPath+Ext.swift
Created May 21, 2023 13:27
NSBezierPath+Ext
View NSBezierPath+Ext.swift
import Cocoa
/**
* - Fixme: ⚠️️ Still in use? Good question, deperecate? we can deprecate this
* - Fixme: ⚠️️⚠️️ move to gist
*/
extension NSBezierPath {
/**
* Init
* - Fixme: ⚠️️ Add support for CGSize for radii
* - Parameters:
@eonist
eonist / product hunt 2023
Created April 13, 2023 13:22
product hunt launch advice 2023
View product hunt 2023
#1 Your friends/family upvote plan can flag the PH Algo as unethical, you need to ensure these folks already have a PH profile + warmed up with PH activities. Or else, you may either notice other products with lesser upvotes going ahead of you, or X upvotes getting removed from your listing on the day of launch!
#2 Sending large volume (500-1000+ visitors) via say cold emails straight to your PH page can flag the Algo. We got an external traffic of 500+ relevant visitors over a 1hr period & saw 30 upvotes vanish!
#3 "Notify Me" on coming soon page is your biggest asset! A 500+ notify me list can get you 200+ upvotes of regular PH folks! Setup a 4-6 week pre launch warmup activity - find products in your niche, see regular PH folks who upvoted, find them on Ln/email/slack communities & see if they'd like to support you with upvotes/feedback. Team of 6-10 ppl can easily warm up 600-800 folks.
#4 Get a hunter with ur product niche ICP, that helps get a good 100-150 votes. Really expensive hunters who c