Skip to content

Instantly share code, notes, and snippets.

View arbitrarily's full-sized avatar

Marko Bajlovic arbitrarily

View GitHub Profile
@sickerin
sickerin / Resume claude.md
Last active June 13, 2026 01:07
Resume claude

Resume claude after running out of usage limit. For Macos, it uses the automation scripts to resume usage.

For instance if your usage resets at 3pm

./resume_claude.sh "15:00"
@leophys
leophys / godoc.zsh
Last active August 28, 2023 05:16
Optionally colored and fuzzy findable godoc
### colored and fuzzy go doc
if which bat > /dev/null; then
function _godoc() {
if echo $1|grep -q -E "^([a-zA-Z0-9/]+)$"; then
go doc ${@} | bat -p -l md
elif echo $1|grep -q -E "^[a-zA-Z0-9/]+\.[a-zA-Z0-9.]+$"; then
go doc ${@} | bat -p -l go
elif echo $1|grep -q -E "^([a-zA-Z0-9/._-]+)/.*\.[a-zA-Z0-9.]+$"; then
go doc ${@} | bat -p -l go
else
@GetVladimir
GetVladimir / Setup-iCloud+-Custom-Domain-Catch-All-email-with-Gmail.md
Last active June 9, 2026 14:46
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+
@jerome-rdlv
jerome-rdlv / feed-thumbnail.php
Last active December 6, 2022 19:36
WordPress RSS feed post thumbnail for MailChimp
<?php
/**
* This file can be dropped in wp-content/mu-plugins/ to be activated.
* It will add post thumbnails to the RSS feed.
* The image can then be used in MailChimp templates with the *|RSSITEM:IMAGE|* merge tag.
* This implementation is based on useful indications by [vick](https://stackoverflow.com/a/48549541)
*/
// add xml namespace for media element
import requests
import base64
import random
import urllib.request
def download_image(url):
name = random.randrange(10000000, 100000000)
fullname = str(name) + ".jpg"
urllib.request.urlretrieve(url, fullname)
@aelk00
aelk00 / remove-likes.md
Last active March 1, 2024 00:58
Remove all your facebook likes
@ChristopherA
ChristopherA / brew-bundle-brewfile-tips.md
Last active June 15, 2026 17:08
Brew Bundle Brewfile Tips

Brew Bundle Brewfile Tips

Copyright & License

Unless otherwise noted (either in this file or in a file's copyright section) the contents of this gist are Copyright ©️2020 by Christopher Allen, and are shared under spdx:Creative Commons Attribution Share Alike 4.0 International (CC-BY-SA-4.) open-source license.

Sponsor

If you more tips and advice like these, you can become a monthly patron on my GitHub Sponsor Page for as little as $5 a month; and your contributions will be multipled, as GitHub is matching the first $5,000! This gist is all about Homebrew, so if you like it you can support it by donating to them or becoming one of their Github Sponsors.

@prasidhda
prasidhda / common spam words 2020
Last active December 14, 2025 04:31
List of common spam words
0%
0% risk
777
99%
99.9%
100%
100% more
#1
$$$
100% free
@armand1m
armand1m / .skhdrc
Last active June 4, 2026 20:01
⚙️ My yabai and skhd configuration files.
# open terminal
cmd - return : open -n -a "Terminal"
# open chrome
cmd + shift - return : open -n -a "Google Chrome"
# moves focus between windows in the current focused display
alt - h : yabai -m window --focus west
alt - j : yabai -m window --focus south
alt - k : yabai -m window --focus north
@openroomxyz
openroomxyz / WordpressAPI_UploadImage.py
Last active December 23, 2024 21:37
Python WordPress API : How to upload image to wordpress?
import base64, requests, json
def header(user, password):
credentials = user + ':' + password
token = base64.b64encode(credentials.encode())
header_json = {'Authorization': 'Basic ' + token.decode('utf-8')}
return header_json
def upload_image_to_wordpress(file_path, url, header_json):
media = {'file': open(file_path,"rb"),'caption': 'My great demo picture'}