Skip to content

Instantly share code, notes, and snippets.

S (Consistently Good)
- Guru the Caterer
- Godavri
- Ritu Ki Rasoi
- Dosa And Curry
A (Good)
- Himalayan Kitchen
@MohamedElashri
MohamedElashri / news_blocklist.txt
Created February 8, 2024 16:40
news outlet dns blocklist
! Title: Custom News Outlet Blocklist
! Description: Blocks major world-famous news outlets published in English.
! Version: 1.0
||nytimes.com^
||theguardian.com^
||washingtonpost.com^
||bbc.co.uk^
||bbc.com^
||cnn.com^
||foxnews.com^
@Iazzetta
Iazzetta / main.py
Created April 24, 2024 14:22
Python do Zero ao RPG
from random import randint
lista_npcs = []
player = {
"nome": "Guilherme",
"level": 1,
"exp": 0,
"exp_max": 30,
"hp": 100,
@silent1mezzo
silent1mezzo / 0fixup.md
Created January 24, 2012 15:12 — forked from SethRobertson/index.md
On undoing, fixing, or removing commits in git

A git choose-your-own-adventure!

This document is an attempt to be a fairly comprehensive guide to recovering from what you did not mean to do when using git. It isn't that git is so complicated that you need a large document to take care or your particular problem, it is more that the set of things that you might have done is so large that different techniques are needed depending on exactly what you have done and what you want to have happen.

package com.example.jetpackcomposeplayground
import android.content.Context
import android.graphics.Bitmap
import android.graphics.Picture
import android.net.Uri
import android.os.Environment
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
vSphere 6 Enterprise Plus:
1C20K-4Z214-H84U1-T92EP-92838
1A2JU-DEH12-48460-CT956-AC84D
MC28R-4L006-484D1-VV8NK-C7R58
5C6TK-4C39J-48E00-PH0XH-828Q4
4A4X0-69HE3-M8548-6L1QK-1Y240
vSphere with Operations Management 6 Enterprise:
4Y2NU-4Z301-085C8-M18EP-2K8M8
1Y48R-0EJEK-084R0-GK9XM-23R52
@jlant
jlant / mpld3_htmltooltip.py
Last active May 23, 2024 18:05
Python - mpld3 html tooltip snippet.
import matplotlib.pyplot as plt
import mpld3
from datetime import datetime
css = """
text.mpld3-text, div.mpld3-tooltip {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
color: black;
@Frostie314159
Frostie314159 / dump_app_data.sh
Created January 20, 2023 12:35
A small script to dump app data via adb.
#!/bin/bash
adb backup -apk $1 -f /tmp/$1.ab
dd if=/tmp/$1.ab bs=4k iflag=skip_bytes skip=24 | zlib-flate -uncompress > /tmp/$1.tar
tar -xf /tmp/$1.tar -C /tmp/
cp -r /tmp/apps/$1 $1
@akrisanov
akrisanov / LLM.md
Created April 18, 2023 22:22 — forked from rain-1/LLM.md
LLM Introduction: Learn Language Models

Purpose

Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.

Avoid being a link dump. Try to provide only valuable well tuned information.

Prelude

Neural network links before starting with transformers.

@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 23, 2024 18:01
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname