Skip to content

Instantly share code, notes, and snippets.

@iampaula26
iampaula26 / deploy.yml
Created March 16, 2026 08:20
Ep5 google ai studio
name: Deploy to GitHub Pages
on:
push:
branches: ["main"]
permissions:
contents: read
pages: write
id-token: write
@DaCuteRaccoon
DaCuteRaccoon / ForkWithReplit.md
Created February 28, 2022 20:19
How to fork and run with Replit

How to fork and run a repo/repl with Replit

1. Login

First, login to Replit. If that link doesn't work, use this one.
It doesn't matter if you have an account yet. Just do

2. Fork Repo

image Click the fork button in the top-right of the screen. If it asks you which account to choose, just choose your main account.

- In initialize1 ()
|
|
|--- if (lateral_connectivity) call surfrd_get_grid_conn()
|
|--- [#ifdef HAVE_MOAB] call elm_moab_interface_init()
| |
| | call elm_moab_initialize()
| |
| | call elm_moab_load_grid_file()
@bishtgautam
bishtgautam / gist:712261d33d650dac70c9a8dbfa094899
Last active December 4, 2026 19:56
Notes for mksurfdata_map
# Perlmutter: 2025-11-07
cd <e3sm-dir>
eval $(cime/CIME/Tools/get_case_env -c ERS.f09_f09.IELM.pm-cpu_intel)
# compile
export USER_LDFLAGS="-L$NETCDF_DIR/lib -lnetcdf -lnetcdff -lnetcdf_intel"
export USER_LDFLAGS=$USER_LDFLAGS" -L$HDF5_DIR/lib -lhdf5 -lhdf5_fortran -lhdf5_hl_intel -lhdf5hl_fortran_intel"
@bishtgautam
bishtgautam / gist:64b30570ccee8377ca296a57a52be299
Last active December 4, 2026 19:56
Sample ELM_USRDAT script
#!/bin/sh
RES=ELM_USRDAT
COMPSET=IELM
MACH=WE37411
COMPILER=gnu
SRC_DIR=$PWD/../../
CASE_DIR=${SRC_DIR}/cime/scripts
@bishtgautam
bishtgautam / Instructions-to-run-E3SM-Land-Developer-testsuite
Last active December 4, 2026 19:56
Instructions for generating and comparing against baselines for E3SM Land Developer testsuite
# Switch to your branch
>git checkout bishtgautam/lnd/emi-example
# Let's look at the graph
>git log --oneline --decorate --graph
* 9a2cd8459 (HEAD -> bishtgautam/lnd/emi-example, origin/bishtgautam/lnd/emi-example) Updates the Stub EM code
* d11fb8c52 Adds a readme and makefile for EMI Demo code
* 15a0e4b8d Minor update to the EMI demo code
* 63e2f6dcd Minor fix to ELM configure script
* 551fc79cc Updates ELM stub and demo code to use CNCarbonStateType
@lgg
lgg / README.md
Created August 28, 2026 05:22
How to fix: Your current account is not eligible for Google Antigravity, because it is not currently available in your location

Your current account is not eligible for Google Antigravity, because it is not currently available in your location

Your current account is not eligible for Antigravity. Try signing in with another personal Google account. Learn more by visiting the FAQ.

  1. Check your current country, do not apply for change yet: https://policies.google.com/country-association-form
  2. Before applying check and edit this:
  3. Delete all profiles with "bad countries" and add with allowed country https://payments.google.com/gp/w/u/0/home/settings
  4. Check and edit all Payment methods, delete "bad" https://payments.google.com/gp/w/u/0/home/paymentmethods
  5. Check addresses, delete "bad": https://payments.google.com/gp/w/u/0/home/addressbook
  6. Check location of Home/Work addresses, delete "bad": https://myaccount.google.com/personal-info
  7. Also its better to check from phone: You must log into the acc in Play Store app and go to Settings > General > Account and device preferences > Country and profiles. If you did add a fo
@Xitee1
Xitee1 / README.md
Last active December 4, 2026 19:12
claude2openwebui-converter

Script to convert a claude data export (conversations.json) to a OpenWebUI compatible format.

Usage:

  1. Request a Claude data export
  2. Wait for the mail with the download and download and extract everything
  3. Run claude2openwebui.py. You should use --split 100 to split the output into multiple files because in my case it was too large and caused OpenWebUI to crash
  4. Optional: Go to claude.ai and paste the project export script
  5. Create a OpenWebUI API Key (currently it's off by default, go to admin settings and turn it on)
  6. Make sure all chats from claude2openwebui.py are imported
  7. Run the owui_project_folders.py script to create the project folders and map the chats to it
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 4, 2026 19:02
Complete Recent Discord Quest

Caution

As of August 26th 2026, Discord has started suspending quest access of people caught automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you WILL get flagged by doing so.

Complete Recent Discord Quest

@Klerith
Klerith / ClaudeCode-Local-Models.md
Last active December 4, 2026 18:44
ClaudeCode con modelos locales