Skip to content

Instantly share code, notes, and snippets.

View MichaelCurrin's full-sized avatar

Michael Currin MichaelCurrin

  • The Netherlands
View GitHub Profile
@MichaelCurrin
MichaelCurrin / last_updated_repos.md
Last active December 24, 2022 23:56
GitHub GraphQL - Get active repos

GitHub GraphQL - Get active repos

Get 100 repos owned by a user or org, with the most recently pushed repo first

If you have access to see the private repos of an org or user, you'll see those too.

Steps

  1. Go to the GraphQL API explorer:
@MichaelCurrin
MichaelCurrin / test_cases.txt
Last active June 23, 2020 14:50
Extract URLs by regex
Welcome to RegExr 0.3b, an intuitive tool for learning, writing, and testing Regular Expressions. Key features include:
www.google.com
* real time results: shows results as you type
* code hinting: roll over your expression to see info on specific elements
* detailed results: roll over a match to see details & view group info below
* built in regex guide: double click entries to insert them into your expression
* online & desktop: regexr.com or download the desktop version for Mac, Windows, or Linux
* save your expressions: My Saved expressions are saved locally
* search Comm https://google.us.edi?34535/534534?dfg=g&fg unity expressions and add your own
* create Share Links to send your expressions to co-workers or link to them on Twitter or your blog [ex. http://RegExr.com?2rjl6]
@MichaelCurrin
MichaelCurrin / random-alias-of-the-day.md
Created June 20, 2020 21:45
Random alias of the day

Why?

Too many aliases to remember all at once? Teach or remind yourself of one at a time.

On opening a new terminal window, show a random alias from your aliases and git aliases.

This is your IDE's tip of the day but in your terminal.

Follow instructions in this gist to setup.

@MichaelCurrin
MichaelCurrin / self-extracting-shell-scripts.md
Last active February 8, 2025 01:24
Self-extracting shell scripts

Self-extracting shell scripts

Guide to using MakeSelf tool to create self-extracting shell scripts for easy distribution

How to package your shell scripts project as a release which can be easily downloaded, extracted, and run.

This is intended to work with one or more executable scripts that use a shell shebang. This could work with other shebangs I guss, but you're probably better off using the packaging approach for that language.

This guide is written for macOS / Linux.

@MichaelCurrin
MichaelCurrin / project-highlights.md
Last active May 9, 2021 19:12
My favorite repos and gists

My repos and gists which are the most important to me to access.

UPDATE: I'm not maintaining this anymore - see https://github.com/MichaelCurrin/coding-blog/blob/master/my-projects.md

Because I need a way to bookmark these with more detail.

I want to add these to site or my coding blog but won't want to worry about the frontend yet. Maybe a project board.

  • code-cookbook
  • Samples from docs or my projects or other projects. As commands to follow in a sequence or a script. Sometimes a snippet, sometimes a complete script or group of scripts.
@MichaelCurrin
MichaelCurrin / applications.md
Last active June 5, 2020 12:31
Reference for applications I like to install on Linux / macOS mostly for software development

Applications

Linux or macOS

  • Insomnia
  • Postman

Linux

@MichaelCurrin
MichaelCurrin / linux-os-flavors.md
Created June 5, 2020 12:11
Popular flavors of Linux
  • Debian

    Debian, also known as Debian GNU/Linux, is a Linux distribution composed of free and open-source software, developed by the community-supported Debian Project, which was established by Ian Murdock on August 16, 1993.

  • Ubuntu
    • Based on Debian.

    Ubuntu is an open source software operating system that runs from the desktop, to the cloud, to all your internet connected things

  • Linux Mint

    Linux Mint is a community-driven Linux distribution based on Ubuntu or Debian. Linux Mint comes bundled with a variety of free and open-source applications and can provide full out-of-the-box multimedia support for those who choose to include some proprietary software, such as multimedia codecs.

  • Linux Lite > Linux Lite is a Linux distribution, based on Debian and Ubuntu and created by a team led by Jerry Bezencon. The distribution offers a lightweight desktop experience with a customiz
@MichaelCurrin
MichaelCurrin / README.md
Last active February 5, 2025 10:00
GitHub GraphQL - Get Pull Requests using GH's GraphQL API

Get Pull Requests using GH's GraphQL API

How to get Pull Requests data using Github in the browser, or using the API to allow for automating reporting or building in values into a website.

Resources

@MichaelCurrin
MichaelCurrin / install_graphics_magick.md
Last active May 25, 2020 08:42
How to install GraphicsMagick
@MichaelCurrin
MichaelCurrin / bundle_install_gems.md
Last active September 17, 2020 11:04
Install gems with Bundler

Install gems with Bundler

Links:

  1. Navigate to your project root.
  2. Configure Bundler for your project (this will create .bundle/config).