Skip to content

Instantly share code, notes, and snippets.

@robd
robd / ssh-crypt.bash
Created Nov 17, 2021 — forked from wmertens/ssh-crypt.bash
ssh-crypt: bash function to encrypt using ssh-agent and openssl
View ssh-crypt.bash
#!/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.
#
# Wout.Mertens@gmail.com 2021-11-11 - MIT Licensed
@robd
robd / README.html
Last active Nov 10, 2020
FreeAgent quick categoriser
View README.html
<a href=javascript:console.log("HELLO")>Test</a>
@robd
robd / bundle_gem_libs.rb
Last active Oct 27, 2017
Rubymine bundle dependencies
View bundle_gem_libs.rb
# 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 Aug 29, 2015
Bookmarklet to go to Pricenoia page for current item
View pricenoia-bookmarklet.html
<!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>
View 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