Skip to content

Instantly share code, notes, and snippets.

@robd
robd / ssh-crypt.bash
Created November 17, 2021 11:12 — forked from wmertens/ssh-crypt.bash
ssh-crypt: bash function to encrypt using ssh-agent and openssl
#!/usr/bin/env bash
#
# ssh-crypt
#
# Bash function to encrypt/decrypt with your ssh-agent private key.
# Requires the commands gzip, ssh-add, ssh-keygen and openssl.
#
# Uses bash-specific extensions like <<<$var to securely pass data.
#
# [email protected] 2021-11-11 - MIT Licensed
@robd
robd / README.html
Last active November 10, 2020 11:43
FreeAgent quick categoriser
<a href=javascript:console.log("HELLO")>Test</a>
@robd
robd / bundle_gem_libs.rb
Last active October 27, 2017 17:20
Rubymine bundle dependencies
# This script is to work round the problem of broken RubyMine dependencies for bundle files.
# It uses an undocumented feature for RubyMine (but available in Intellij Idea) to create a
# gems library xml file and update the iml file.
#
# See Rubymine issues:
# https://youtrack.jetbrains.com/issue/RUBY-16428
# https://youtrack.jetbrains.com/issue/RUBY-15026
# https://youtrack.jetbrains.com/issue/RUBY-14542
#
# Usage:
@robd
robd / pricenoia-bookmarklet.html
Last active August 29, 2015 14:05
Bookmarklet to go to Pricenoia page for current item
<!DOCTYPE HTML>
<html>
<head>
<title>Bookmarklet to go to Pricenoia page for current item</title>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.1/normalize.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
body { margin: 2em }
</style>
@robd
robd / 0-readme.md
Last active December 15, 2015 11:59 — forked from samgranieri/0-readme.md

ruby-1.9.3-p392 cumulative performance patch for rbenv.

This installs a patched ruby 1.9.3-p392 with various performance improvements and a backported COW-friendly GC, all courtesy of funny-falcon.

Note: This version has been updated for p392 by brightbox. This is the patch used in the packaged ruby in the brightbox ng repository.

Requirements