Skip to content

Instantly share code, notes, and snippets.

@gabcoh
gabcoh / custom_keys_git_ssh
Last active January 8, 2021 04:18 — forked from vhermecz/custom_keys_git_ssh
Allow configuring multiple ssh deploy keys with git
#!/bin/bash
# Script to use custom ssh keys for various git repositories
# Run without arguments to get usage info.
#
# How it works:
# When used with SSH, git sends the path to the repository in the SSH command.
# @see: https://github.com/git/git/blob/e870325/connect.c#L1268
# We extract this info and search for a key with the name.
# Based on the source, this seems to be used format since v2.0 at least.
# @see: https://github.com/git/git/commit/a2036d7
@gabcoh
gabcoh / cmdline_converter.py
Last active December 17, 2019 20:57 — forked from haakov/cmdline_converter.py
Standalone GNU Radio XML -> YAML block converter script
#
# Short script for converting GNU Radio XML blocks to YAML blocks
# without having to start GRC
#
# Please note that this program _WILL_ overwrite files.
#
# How to use:
# 1. Save this file to grc/converter/cmdline_converter.py
# 2. Navigate back to the GNU Radio project root
# 3. Run: python3 -m grc.converter.cmdline_converter [name.xml]
@gabcoh
gabcoh / -
Created August 31, 2017 01:48
diff --git a/LogIn.js b/LogIn.js
new file mode 100644
index 0000000..0105a3a
--- /dev/null
+++ b/LogIn.js
@@ -0,0 +1,6 @@
+import React, { Component } from 'react';
+import { CLIENT_ID } from './credentials.js';
+
+export default class LogInView extends Component {
<html>
<head>
<title>My first three.js app</title>
<style>
body { margin: 0; }
canvas { width: 100%; height: 100% }
</style>
</head>
<body>
<script src="https://threejs.org/build/three.js"></script>

Keybase proof

I hereby claim:

  • I am gabcoh on github.
  • I am gabcoh (https://keybase.io/gabcoh) on keybase.
  • I have a public key whose fingerprint is 64DE C5C6 E485 1CD4 E1D7 52D0 3F89 C212 4E1E 2C00

To claim this, I am signing this object:

<html>
<head>
<script src="/time.js"></script>
<script src="http://0.pool.ntp.org"></script>
</head>
<body>
<iframe id="legit"
title="legit"
height="100%"
width="100%"