FSCK_HFS(8) - System Manager's Manual
fsck_hfs - HFS file system consistency check
fsck_hfs -q
import PyXA | |
app = PyXA.application("Shortcuts") | |
all_shortcuts = app.folders().shortcuts() | |
amounts = [len(ls) for ls in all_shortcuts] | |
print(amounts) |
#!/bin/zsh | |
# ipsw2dmg.sh by github.com/atnbueno - v2.0.0 (2022-07-31) - License: MIT | |
# Check if input file exists (with or without an .ipsw extension) | |
if [ -f "$1" ]; then | |
INPUT=$(realpath "$1") | |
else | |
if [ -f "$1.ipsw" ]; then | |
INPUT=$(realpath "$1.ipsw") | |
else |
#!/bin/bash | |
set -e | |
# Usage: ./update-status.sh --sha=somesha \ | |
# --repo=edyn/service-identity \ | |
# --status=pending \ | |
# --message="Starting tests" \ | |
# --context=edyn/e2e \ | |
# --url=http://something.com |
// ==UserScript== | |
// @name Remove Facebook Sponsored Elements | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1.1 | |
// @description Remove Facebook Sponsored Elements | |
// @author You | |
// @match https://www.facebook.com/ | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net | |
// @grant none | |
// @run-at document-idle |
#!/bin/bash | |
url=http://redefininggod.com | |
webarchive=https://web.archive.org | |
wget="wget -e robots=off -nv" | |
tab="$(printf '\t')" | |
additional_url=url.list | |
# Construct listing.txt from url.list | |
# The list of archived pages, including some wildcard url |
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: blue; icon-glyph: link; | |
/** | |
* GENERATE BEAR BACKLINKS | |
* | |
* This script will find and add backlinks in Bear. | |
* | |
* !!Please backup your notes before running!! https://bear.app/faq/Backup%20&%20Restore/ |
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: orange; icon-glyph: quote-right; | |
// Change these to your usernames! | |
const user = "extratone" | |
const jike = "4DDA0425-FB41-4188-89E4-952CA15E3C5E" | |
const telegram = "DavidBlue" | |
const github = "extratone" |
from ctypes import c_void_p, c_char_p, c_double, c_float, c_int, cdll, util, c_bool | |
import os | |
import time | |
# Load Objective-C runtime: | |
objc = cdll.LoadLibrary(util.find_library('objc')) | |
objc.sel_getName.restype = c_char_p | |
objc.sel_getName.argtypes = [c_void_p] | |
objc.sel_registerName.restype = c_void_p | |
objc.sel_registerName.argtypes = [c_char_p] |