Skip to content

Instantly share code, notes, and snippets.

View Husseinhj's full-sized avatar
🏠
Working from home

Hussein Habibi Juybari Husseinhj

🏠
Working from home
View GitHub Profile
@ocombe
ocombe / README.md
Last active September 22, 2026 19:25
ChatGPT Conversation Exporter — export all your conversations as JSON + Markdown + ZIP. No dependencies beyond bash, curl, python3.

ChatGPT Conversation Exporter

Export all your ChatGPT conversations as JSON + Markdown + HTML + ZIP. Works with ChatGPT Business/Team/Enterprise accounts (including SSO/Okta).

What's exported

  • JSON — Raw conversation data from the API
  • Markdown — Clean text with headers per message, relative links to downloaded files
  • HTML — ChatGPT-style conversation viewer with sidebar navigation, syntax-highlighted code blocks, and embedded images
@chitrang200889
chitrang200889 / RecomposeUiComponentOnly.kt
Created January 22, 2024 06:22
Recompose UiComponent Only
data class SellerData(val count: Int)
data class BuyerData(val count: Int)
@Stable
class UiState {
val sellerData = mutableStateOf<SellerData>(SellerData(0))
val buyerData = mutableStateOf<BuyerData>(BuyerData(0))
}
@HarshitRuwali
HarshitRuwali / brigdes-tor-mac.md
Last active April 5, 2025 09:51
Using TOR obsf4 bridges from torrc for Mac's.

Install tor via HomeBrew and start the tor serivce.

brew install tor && brew services start tor

And to use obsf4 proxy we need to install its library/ Use HomeBrew for installation of the library.

brew install obfs4proxy
@alexathylane
alexathylane / iOS Universal Links Support Checklist.md
Last active July 15, 2025 18:31
iOS Universal Links Support Checklist
@joyrexus
joyrexus / README.md
Last active June 9, 2026 04:07
collapsible markdown

collapsible markdown?

CLICK ME

yes, even hidden code blocks!

print("hello world!")
@lopspower
lopspower / README.md
Last active September 10, 2026 23:32
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

All hex value from 100% to 0% alpha:

@dsparks
dsparks / fanny_example.R
Created December 11, 2012 04:34
Clustering breakfast foods
doInstall <- TRUE
toInstall <- c("ggplot2", "cluster", "MASS", "smacof")
if(doInstall){install.packages(toInstall, repos = "http://cran.us.r-project.org")}
lapply(toInstall, library, character.only = TRUE)
# Generate a matrix of dissimilarities from pairwise correlations
data(breakfast) # Preference orderings of breakfast items, from smacof
corrMat <- cor(breakfast, use = "pair")
distMat <- dist(corrMat)