Skip to content

Instantly share code, notes, and snippets.

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

DeepakNess deepakness

🏠
Working from home
View GitHub Profile
@deepakness
deepakness / index.md
Created February 17, 2026 17:33
Laravel Deployment and PaaS Tools Comparison
Tool / approach Cost (typical) Ease of setup Maintenance burden Scalability Zero-downtime support Laravel-specific features Backups Monitoring/logs SQLite friendliness Hetzner fit
Forge Paid: $12–$39/mo
@deepakness
deepakness / macos-apps.md
Last active December 25, 2025 18:31
A simple list of apps I use on my Macbook Air M2, as an internet generalist.

As an internet generalist, I use very limited apps on my Macbook Air M2, and here's the entire list of apps that are installed. I will list everything, but add links only to the uncommon ones.

Not to mention, most of these apps are completely free to use.

Also, this post was first published on my personal website.

  1. VS Code: Mostly for taking plaintext notes, and writing posts for deepakness.com
  2. Cursor: IDE for coding, use less these days
  3. Antigravity: Google's IDE for coding, use a lot these days
  4. Google Chrome: The browser
@deepakness
deepakness / app.py
Created July 27, 2023 15:41
Scrape the page titles and URLs of Wikipedia search of "insects".
import requests
from bs4 import BeautifulSoup
import csv
BASE_URL = "https://en.wikipedia.org"
SEARCH_URL = "https://en.wikipedia.org/wiki/Special:Search?search=insects&fulltext=Search&ns0=1"
def get_wikipedia_links(search_url):
r = requests.get(search_url)
soup = BeautifulSoup(r.content, 'html.parser')
@deepakness
deepakness / Code.gs
Last active June 29, 2023 05:32
Create comparisons of "Product 1" vs "Product 2" right inside Google Sheets.
// Add the function to main menu
function onOpen() {
var ui = SpreadsheetApp.getUi();
ui.createMenu('🎉')
.addItem("Create Comparisons", "productComparison")
.addToUi();
}
// Function to create comparisons
function productComparison() {
@deepakness
deepakness / Code.gs
Created May 24, 2023 15:46
Extracts Titles/H1 from URLs right inside Google Sheets
function getTitleOrH1(url) {
var response = UrlFetchApp.fetch(url,
{
method: "get",
muteHttpExceptions: true
});
var html = response.getContentText();
var titleMatch = html.match("<title>(.*?)</title>");
var h1Match = html.match("<h1[^>]*>(.*?)</h1>");
@deepakness
deepakness / Code.gs
Created March 23, 2023 08:55
Use Whisper API to transcribe audio right inside Google Sheets. The script takes .mp3 URLs in the column A and outputs transcribed text in the column B.
function transcribeAudio() {
var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
var numRows = sheet.getLastRow();
var urlColumn = 1; // Column A
var transcriptColumn = 2; // Column B
var authToken = "YOUR_OPENAI_API"; // Your OpenAI API Token
var model = "whisper-1"; // The Whisper API Model to use
for (var i = 2; i <= numRows; i++) {
var url = sheet.getRange(i, urlColumn).getValue();