Skip to content

Instantly share code, notes, and snippets.

View callumgare's full-sized avatar
🦄

Callum Gare callumgare

🦄
View GitHub Profile
@bjoern-r
bjoern-r / xmlrpc-client.sh
Last active March 5, 2023 06:16
simple shell xmlrpc client that uses bash & curl
#!/bin/bash
# author jiyin@redhat.com
TEMP=`getopt -o vt: --long target -n 'example.bash' -- "$@"`
if [ $? != 0 ] ; then echo "getopt fail, terminating..." >&2 ; exit 1 ; fi
# Note the quotes around `$TEMP': they are essential!
eval set -- "$TEMP"
Usage() {
@tgerring
tgerring / ipfs-guide-mac.md
Last active February 24, 2022 13:20
IPFS Mac Guide

IPFS Guide

Mac Installation

  1. Install Homebrew
  2. ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  3. Install prerequisites
  4. brew install git hg
  5. brew install osxfuse (see Mac issues to troubleshoot common errors)
  6. Install Go
@neil-morrison44
neil-morrison44 / FullScreenize
Created October 11, 2012 17:52
Bookmarklet for changing a website into a full screen web app for iOS
javascript:document.write('<meta%20name="apple-mobile-web-app-capable"%20content="yes"%20/>')
/*
The MIT License (MIT)
Copyright (c) 2014 Ismael Celis
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