Skip to content

Instantly share code, notes, and snippets.

View olliefr's full-sized avatar
🌩️

Oliver Frolovs olliefr

🌩️
View GitHub Profile
@n1k0
n1k0 / unblur.md
Last active December 19, 2023 13:50
Unblur bookmarlklet

Unblur bookmarklet

Too many websites rely on the CSS blur filter to cheaply obfuscate contents. Here's a bookmarklet to reset all active blur styles from the current page DOM.

(function() {
  for (const x of document.querySelectorAll("*")) {
    const s = getComputedStyle(x);
    for (const k in s) {
 if (k.includes("filter") && s.filter.includes("blur")) {

Keybase proof

I hereby claim:

  • I am n1k0 on github.
  • I am n1k0 (https://keybase.io/n1k0) on keybase.
  • I have a public key ASBAtEJcRmxSj6XhdF7cyySIwHNXU--pLHpr6bkdytaQtAo

To claim this, I am signing this object:

@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active May 3, 2024 01:37
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

7 - SELECT
1 - [ FROM ... ]
2 - [ WHERE ... ]
3 - [ GROUP BY ... ]
4 - [ HAVING ... ]
5 - WINDOW window_name AS (
[ PARTITION BY ... ]
[ ORDER BY ... ]
[ RANGE ... ]
)
@mbodo
mbodo / Linux - Systemd cheatsheet.md
Last active March 15, 2024 18:25
Systemd cheatsheet

Linux - Systemd cheatsheet

systemctl

Activates a service immediately:

systemctl start foo.service

Deactivates a service immediately:

@DeadlyBrad42
DeadlyBrad42 / INSTALL.md
Last active August 29, 2020 11:11
rage-quit support for PowerShell

rage-quit support for Powershell

How To Install

Open your profile script and add add the Flip-Text and Fuck-You functions into it. The easiset way to do this is to open up PowerShell and type notepad $profile, and then just copy-and-paste the functions below into your profile script.

⚠️ Issues

Unfortunately, this script is apparently light-years ahead of Windows' command line, so unfortunately the table-flip emoticon can only be displayed when this script is run from PowerShell ISE, and isn't displayed in the normal PowerShell prompt. Hopefully Microsoft fixes this in a future update... 😟

@wrl
wrl / sine_lut.c
Created April 1, 2014 12:42
sine lookup table
/**
* lut.c: quadrature-optimized sine lookup table
* written in 2014 by william light <wrl@illest.net>
*
* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
* means.