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 / 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:

@martinwoodward
martinwoodward / gist:4dd45ed3e4e2473d428e61d80f0be400
Created November 19, 2020 17:52
Converting directory of mov's into mp4's
for i in *.mov; do name=`echo "$i" | cut -d'.' -f1`; echo "$name"; ffmpeg -n -i "$i" "${name}.mp4"; done
@martinwoodward
martinwoodward / Developer_Advocate.md
Last active May 11, 2021 13:26
Come work with me!

👋 Hello

We are looking for a new Developer Advocate to join our well established and expanding global Developer Relations team to come and grow with us. This is an ideal role for someone who understands development but is new to DevRel and Developer Advocacy.

Application links:

@martinwoodward
martinwoodward / TripodMonitor.stl
Last active June 28, 2021 18:28
Camera Setup
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Inception.

image

@martinwoodward
martinwoodward / rooter-booter.yaml
Created February 26, 2022 20:19
ESPHome recipie for sonoff basic
esphome:
name: router-booter
on_boot:
then:
- switch.turn_on: relay
esp8266:
board: esp8285
ota:
@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 / 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 / settings.json
Created June 30, 2023 08:30
Copilot Demo settings for VSCode
{
"editor.inlineSuggest.enabled": true,
"workbench.colorTheme": "Default Dark+",
"window.zoomLevel": 1,
"editor.minimap.enabled": false, // Disable minimap for clarity
"vsintellicode.python.completionsEnabled": false,
"editor.quickSuggestionsDelay": 1000, // Delay built in VS Code intellisense so doesn't confuse on what is Copilot
"editor.lightbulb.enabled": false, // Disable lightbulb autofixes for clarity
"chat.experimental.quickQuestion.enable": true, // Experimental feature in May 2023 release of insiders
"pylint.args": [