Skip to content

Instantly share code, notes, and snippets.

@Firepup6500
Firepup6500 / mf-adblock.js
Last active June 21, 2025 07:05
mf-adblock 0.7: A Tamper Monkey Adblocker
// ==UserScript==
// @name mf-adblock
// @namespace none
// @version 0.7
// @description A basic anti-adblock workaround that can remove or click elements on a website
// @author DerFichtl, with major improvements by Firepup650
// @match https://*/*
// @icon https://getadblock.com/favicon.ico
// @grant none
// @noframes
import pandas as pd
from hashlib import sha256
from pandas.util import hash_pandas_object
from functools import lru_cache
class HashableDataFrame(pd.DataFrame):
def __init__(self, obj):
super().__init__(obj)
@rubensanroman
rubensanroman / reset.css
Created January 24, 2012 14:30
Eric Meyer's CSS Reset (HTML5)
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,

Codesys RPI HOWTO

This describes how you could configure your Raspberry PI to work, hopefully, better with Codesys.

Instructions

  • Based on raspbian image
@wanglf
wanglf / vscode-extension-offline.md
Last active June 21, 2025 06:48
Download VS Code extensions as VSIX

How to use?

  • Copy content of vsix-bookmarklet, create a bookmark in your browser.
  • Navigate to the web page of the VS Code extension you want to install.
  • Click the bookmark you just created, then click the download button.
    download
  • After download finished, rename the file extension to *.vsix.
  • In VS Code, select Install from VSIX... in the extension context menu.
    vsc
@jeffchasin
jeffchasin / exclude-settings.md
Last active June 21, 2025 06:46
VS Code: Exclude folders from workspace

Exclude files & Folders from Workspace

Source

This is buried in the docs here but rly unclear.

In the root of the workspace folder in which you want to exclude files, create the .vscode/settings.json. In this file, you can set files.exclude and it will only apply to that workspace folder, even if other workspace folders are subdirectories.

Example file tree

@oanhnn
oanhnn / using-multiple-github-accounts-with-ssh-keys.md
Last active June 21, 2025 06:45
Using multiple github accounts with ssh keys

Problem

I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).

Solution

Use ssh keys and define host aliases in ssh config file (each alias for an account).

How to?

  1. Generate ssh key pairs for accounts and add them to GitHub accounts.
@LYNK-INCUU
LYNK-INCUU / info.md
Last active June 21, 2025 06:40 — forked from DeezNutq/info.md
AIDA64 keys for all editions (working @ 08.04.2024)

Note : FinalWire, you can keep trying to stop us, but you can't. You know why ? You've been using the same algorithm for 10 years. Changing it would be an inconvenience for you and your customers.

By the way, I'd suggest that you proofread your DMCA requests. If you didn't know, it's "generated" and not "genereated". Also, when referencing to someone's belonging you use the possessive form "their" and not "there".

FOR EDUCATIONAL PURPOSES ONLY, PLEASE SUPPORT THE DEVELOPPERS :)

Check BLACKLISTED for blacklisted keys

@lokeb
lokeb / Currency.csv
Last active June 21, 2025 06:39
Currency of 109 countries with symbols in unicode
Country and Currency Currency Code Unicode: Hex
Albania Lek ALL \u004c\u0065\u006b
Afghanistan Afghani AFN \u060b
Argentina Peso ARS \u0024
Aruba Guilder AWG \u0192
Australia Dollar AUD \u0024
Azerbaijan Manat AZN \u20bc
Bahamas Dollar BSD \u0024
Barbados Dollar BBD \u0024
Belarus Ruble BYN \u0042\u0072