Skip to content

Instantly share code, notes, and snippets.

View martinwoodward's full-sized avatar
🚀
I solemnly swear I am up to no good

Martin Woodward martinwoodward

🚀
I solemnly swear I am up to no good
View GitHub Profile
@martinwoodward
martinwoodward / create-org-montage.sh
Last active August 22, 2022 14:12
Very quick ruby script to create a bash script that will create a montage of your org.
# Set OCTOKIT_ACCESS_TOKEN to authenticate with a PAT
# Something like OCTOKIT_ACCESS_TOKEN=<<TOKEN>> bundle exec ruby create-org-montage-script.rb
require "octokit"
Octokit.auto_paginate = true
# Replace <<ORG_NAME>> with your GitHub org
members = Octokit.org_members "<<ORG_NAME>>"
@martinwoodward
martinwoodward / PInvokeSamples.cs
Created June 28, 2016 09:32
Example of PInvoke from Linux with .NET Core
using System.Runtime.InteropServices;
namespace PInvokeSamples {
public static class Program {
// Import the libc and define the method corresponding to the native function.
[DllImport("libc.so.6")]
private static extern int getpid();
public static void Main(string[] args){
@martinwoodward
martinwoodward / keybase.md
Last active August 29, 2015 14:07
Keybase verification

Keybase proof

I hereby claim:

  • I am martinwoodward on github.
  • I am martinwoodward (https://keybase.io/martinwoodward) on keybase.
  • I have a public key whose fingerprint is 8381 3ADC DA45 92A6 2D11 7EB5 07AA 6B77 975E 6D50

To claim this, I am signing this object: