Skip to content

Instantly share code, notes, and snippets.

View shredthaGNAR's full-sized avatar

Me shredthaGNAR

View GitHub Profile

Spotlight Indexing switch

os x terminal command.

Turn off indexing

Turn off Spotlight Indexing

sudo mdutil -a -i off
@jwmcgettigan
jwmcgettigan / bitwarden_duplicate_cleaner.py
Last active June 30, 2024 06:17
Identifies and removes duplicate 'items' and 'folders' from your Bitwarden vault. 🎃
#!/usr/bin/env python3
# Copyright © 2023 Justin McGettigan
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software
# and associated documentation files (the “Software”), to deal in the Software without
# restriction, including without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all copies or
@CaptainJack0404
CaptainJack0404 / YoutubeSortAndFilterPlaylistsWhenSavingVideo.js
Last active June 7, 2024 22:26
Youtube script: When saving a video to a playlist, 1) add a button to sort the list alphabetically and 2) add a filter textbox to filter the list by title
// ==UserScript==
// @name Youtube Sort & Filter Playlists When Saving Video
// @version 2024.04.13.1
// @namespace https://gist.github.com/CaptainJack0404
// @description When saving a video to a playlist, 1) add a button to sort the list alphabetically and 2) add a filter textbox to filter the list by title
// @author CaptainJack0404
// @noframes
// @match https://www.youtube.com/*
// @match https://youtube.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
@shredthaGNAR
shredthaGNAR / zsh-keyboard-shortucts.md
Created September 23, 2022 23:50 — forked from mkfares/zsh-keyboard-shortucts.md
Common zsh Keyboard Shortcuts on macOS Catalina

Common zsh Keyboard Shortcuts on macOS

Navigation

CTRL + A : Move the cursor to the beginning of the line
CTRL + E : Move the cursor to the end of the line
OPTION + Left Arrow : Move the cursor one word backward
OPTION + Right arrow : Move the cursor one word forward
Left Arrow : Move the cursor one character backward
Right Arrow : Move the cursor one character forward

@GetVladimir
GetVladimir / Setup-iCloud+-Custom-Domain-Catch-All-email-with-Gmail.md
Last active June 27, 2024 13:16
How to setup iCloud+ Custom Domain Catch All email with Gmail

How to setup iCloud+ Custom Domain Catch All email with Gmail

I've recently tested on how to move the custom domain catch all email from G Suite to the new iCloud+ Catch All feature and wanted to share my experience.

The end result is having Custom Domain email and Catch All routing, that can be fully used via Gmail, including receiving and sending emails.


The steps

  • Setup your Custom Domain (or subdomain) with iCloud+
@Sangdol
Sangdol / unminimize.scpt
Created July 23, 2022 14:49
An AppleScript to un-minimize a window of the currently focused application.
# https://talk.automators.fm/t/unminimize-windows-of-the-current-application/12360/5
tell application id ("com.apple.systemevents") ¬
to tell (process 1 where it is frontmost) ¬
to tell (windows whose attribute named "AXMinimized"'s value is true) ¬
to if (it exists) then set the value of its attribute named "AXMinimized" of item 1 to false
@edleeman17
edleeman17 / tampermonkey.js
Created May 24, 2022 10:54
Forward medium.com articles to 12ft.io
// ==UserScript==
// @name 12ft.io
// @match *://medium.com/*
// @run-at document-start
// @grant none
// ==/UserScript==
(function() {
'use strict';
@taskylizard
taskylizard / fmhy.md
Last active June 30, 2024 10:24
/r/freemediaheckyeah, in one single file (view raw)