Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View mbledkowski's full-sized avatar
🤔
Coding

echo r"0xX4H" | rev mbledkowski

🤔
Coding
View GitHub Profile
@mbledkowski
mbledkowski / .Xresources
Last active October 16, 2019 23:53
Config files / dotfiles - .zshenv .zshrc .i3/config .Xresources etc
*background: #1e1e20
*foreground: #c5c8c6
*cursorColor: #c5c8c6
*color0: #1e1e20
*color8: #f4d8c6
*color1: #e6a57a
*color9: #e6a57a
*color2: #e39866
*color10: #e39866
@mbledkowski
mbledkowski / stylus.json
Last active November 17, 2020 06:28
My custom styles for websites. For importing it go to Stylus > Options > Manage Styles > Backup: Import
This file has been truncated, but you can view the full file.
[
{
"enabled": false,
"updateUrl": "https://userstyles.org/styles/chrome/134433.json",
"md5Url": "https://update.userstyles.org/134433.md5",
"url": "http://userstyles.org/styles/134433",
"originalMd5": "af3ee71be03bc408b65919ef87c91f32",
"installDate": 1555795955106,
"sections": [
{
@mbledkowski
mbledkowski / my-ublock-static-filters.txt
Last active June 4, 2021 08:54
uBlock custom filters
{
"timeStamp": 1605593571761,
"version": "1.30.6",
"userSettings": {
"advancedUserEnabled": true,
"alwaysDetachLogger": true,
"autoUpdate": true,
"cloudStorageEnabled": true,
"collapseBlocked": true,
"colorBlindFriendly": false,
@mbledkowski
mbledkowski / README.md
Last active July 6, 2021 13:32
Pinterest promoted posts blocking - uBlock rule

Ad-blocking (promoted posts) rule for Pinterest - uBlock

uBlock dashboard > My Filters > Add this line:

pinterest.com##div[data-grid-item="true"]:has(div > div > div > div > div:nth-child(2) > div > div > div > div > div.ujU.zI7.iyn.Hsu > a > div > div > div > div > div[title="Promoted by"])

### Keybase proof
I hereby claim:
* I am mbledkowski on github.
* I am mbled (https://keybase.io/mbled) on keybase.
* I have a public key ASArh9-fMpJ34COtpbiG1ZTzsuXZA79lqQi73w7Hcg7sFwo
To claim this, I am signing this object:
@mbledkowski
mbledkowski / config_ranger_rc.conf
Last active October 13, 2021 06:37
Linux installation
set preview_images true
set preview_images_method ueberzug
@mbledkowski
mbledkowski / right angle triangle.cpp
Last active March 23, 2022 10:04
my siorka's homework
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
int main()
{
int a;
cout<<"Podaj a: ";
cin>>a;
@mbledkowski
mbledkowski / oc2uta fish
Created March 23, 2022 10:04
One command to update them all
alias oc2uta "sudo pacman -Syyu --noconfirm; paru -Syyu --noconfirm; yarn global upgrade; pip-review --local --auto"
funcsave oc2uta
@mbledkowski
mbledkowski / Dockerfile
Created April 29, 2023 19:39
Dockerfile
# Specify the base Docker image. You can read more about
# the available images at https://crawlee.dev/docs/guides/docker-images
# You can also use any other image from Docker Hub.
FROM apify/actor-node-playwright-chrome:16 AS builder
# Install pnpm
RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash -
# Use the shell form of RUN to source the .bashrc file before running pnpm
SHELL ["/bin/bash", "-c", "source /home/myuser/.bashrc"]
@mbledkowski
mbledkowski / stable.sh
Created September 17, 2023 13:15
Flatpak repositories
#AppCenter (ElementaryOS)
flatpak remote-add --if-not-exists --system appcenter https://flatpak.elementary.io/repo.flatpakrepo
#FEDora (glowies incoming!)
flatpak remote-add --if-not-exists fedora oci+https://registry.fedoraproject.org
#RHEL
flatpak remote-add rhel https://flatpaks.redhat.io/rhel.flatpakrepo
podman login registry.redhat.io # Login with your redhat cridentials (account registration is free)