- Arch Linux
- KDE Plasma 6.1.5 (Wayland)
- open the KDE system settings
- select "Workspace" -> "General Behavior"
import sys, os, stat, errno, operator, time, datetime, requests | |
from fuse import FUSE, Operations, LoggingMixIn, FuseOSError | |
from mastodon import Mastodon | |
from cachetools import TTLCache, cachedmethod | |
from mastodon.return_types import MediaAttachment, Account, Status | |
class PathItem: | |
def __init__(self, path_type, mtime=None, size=0, symlink_target=None, read_fn=None, listdir_fn=None): | |
self.path_type = path_type | |
self.mtime = mtime or time.time() |
#!/bin/zsh | |
# WARNING! The script is meant to show how and what can be disabled. Don’t use it as it is, adapt it to your needs. | |
# Credit: Original idea and script disable.sh by pwnsdx https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3 | |
# Disabling unwanted services on macOS Big Sur (11), macOS Monterey (12), macOS Ventura (13) and macOS Sonoma (14) | |
# Disabling SIP is required ("csrutil disable" from Terminal in Recovery) | |
# Modifications are written in /private/var/db/com.apple.xpc.launchd/ disabled.plist, disabled.501.plist | |
# To revert, delete /private/var/db/com.apple.xpc.launchd/ disabled.plist and disabled.501.plist and reboot; sudo rm -r /private/var/db/com.apple.xpc.launchd/* | |
# user |
link - name
If you want to take those exported emojis into guilded:
deno run --allow-read --allow-write index.ts
exported
folder to a file sharing site (or copy paste the contents onto a paste site)mcedit ~/.zshrc | |
export CAPACITOR_ANDROID_STUDIO_PATH='/var/lib/flatpak/app/com.google.AndroidStudio/current/active/files/extra/android-studio/bin/studio.sh' |
DO NOT RUN THIS , it will attempt to recursively overwrite files.
What follows is very simple deobufscation & explanation of what the code is doing. I have changed the library imports to make it more clear
The original code: https://github.com/RIAEvangelist/node-ipc/blob/847047cf7f81ab08352038b2204f0e7633449580/dao/ssl-geospec.js
import path from "path";
The RIAEvangelist/node-ipc
module contains protestware peacenotwar.
Excerpt from RIAEvangelist/node-ipc:
as of v11.0.0 & v9.2.2 this module uses the peacenotwar module.
The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
import foo from 'foo'
instead of const foo = require('foo')
to import the package. You also need to put "type": "module"
in your package.json and more. Follow the below guide.await import(…)
from CommonJS instead of require(…)
.import json | |
import glob | |
all_bookmarks = [] | |
md_file = open("bookmarks.md", "w+") # saving in markdown file, if no file exists using '+' creates one | |
files = [file for file in glob.glob("JSONBookmarks/*")] # using glob to read all files from the folder | |
for file_name in files: | |
print(file_name) | |
with open(file_name) as bk: |