Skip to content

Instantly share code, notes, and snippets.

View akrami's full-sized avatar

Alireza Akrami akrami

View GitHub Profile
@jauderho
jauderho / gist:6b7d42030e264a135450ecc0ba521bd8
Last active April 20, 2024 18:46
HOWTO: Upgrade Raspberry Pi OS from Bullseye to Bookworm
### WARNING: READ CAREFULLY BEFORE ATTEMPTING ###
#
# Officially, this is not recommended. YMMV
# https://www.raspberrypi.com/news/bookworm-the-new-version-of-raspberry-pi-os/
#
# This mostly works if you are on 64bit. You are on your own if you are on 32bit or mixed 64/32bit
#
# Credit to anfractuosity and fgimenezm for figuring out additional details for kernels
#
@akrami
akrami / .tmux.conf
Created October 7, 2021 14:26
my tmux configuration
# Change default shell to zsh
set -g default-shell /bin/zsh
# Enable mouse with m
set -g mouse on
# Replace C-b with C-a
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
@akrami
akrami / stackoverflow.py
Created December 21, 2018 00:51
scraping stackoverflow jobs
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
@author: alireza
"""
import requests
from bs4 import BeautifulSoup
import mysql.connector
import json