Skip to content

Instantly share code, notes, and snippets.

View r0hin's full-sized avatar
💤
Probably sleeping...

Rohin r0hin

💤
Probably sleeping...
View GitHub Profile
@ankitbko
ankitbko / prayer.txt
Last active October 29, 2024 18:23
Programmer's Prayer
Our program, who art in memory,
called by thy name;
thy operating system run;
thy function be done at runtime
as it was on development.
Give us this day our daily output.
And forgive us our code duplication,
as we forgive those who
duplicate code against us.
And lead us not into frustration;
@rauchg
rauchg / p.sh
Last active October 16, 2024 00:32
Perplexity CLI in pure shell
#!/usr/bin/env bash
function p() {
jq -n \
--arg content "$*" \
'{
"model": "pplx-7b-online",
"messages": [
{
"role": "system",
"content": "Be precise and concise."
@matthen
matthen / hello_world.py
Last active August 29, 2024 12:50
Hello world in python, using genetic algorithm
"""Hello world, with a genetic algorithm.
https://twitter.com/matthen2/status/1769368467067621791
"""
import random
import time
from dataclasses import dataclass
from itertools import chain
from typing import Iterable, List

I loved Arc so much when it came out. I had been using vertical tabs on Firefox for years, via the treestyle tabs extension. But Arc felt like a breath of fresh air in 2022. Native vertical tabs. Air Traffic Control to open specific links in specific profiles. Swish UI. Unfortunately it's yet another Chromium-based browser, and I hated to make Firefox lose another user to Google's web engine. But at the time, that was a sacrifice I was willing to make to experience a "better Internet" or whatever.

But I'm done with it. It's been death by a thousand cuts. I'm going to spend quite a long time explaining all my annoyances with Arc, and link to a few guides on switching back to Firefox.

Air Traffic Control was great initially. Links matching Jira/Github etc were configured to open automatically in my work profile. I kinda wished manually configured URLs like that would open in a little Arc window, but instead they'd bring me to the main window. No big deal I guess. But anything not manually configured would