Skip to content

Instantly share code, notes, and snippets.

@gbeine
gbeine / installing-net-ssleay-with-homebrew-openssl.md
Created January 2, 2021 12:48 — forked from andyjack/installing-net-ssleay-with-homebrew-openssl.md
Installing Net::SSLeay with openssl from homebrew (OS X)

Installing Net::SSLeay with openssl from homebrew (macOS)

You don't need to do anything fancy other than running cpanm - with the most recent Net::SSLeay things should Just Work.

Updated 2020-Mar-10

I realized that since Net::SSLeay is looking in known places (including homebrew's install locations) for openssl, it means that my instructions that set up environment variables are no longer necessary! The following will install the module:

# openssl 1.0.2d

Keybase proof

I hereby claim:

  • I am gbeine on github.
  • I am gerritbeine (https://keybase.io/gerritbeine) on keybase.
  • I have a public key ASC130QE1pmsupAHFlVgIRwKRfdwp5Dv7g_RUV8qZXy85go

To claim this, I am signing this object:

@gbeine
gbeine / newsletter-wpforms.patch
Last active June 9, 2020 13:43
Individual fields support for The Newsletter Plugin's integration for WP Forms
diff -Nur newsletter-wpforms.orig/edit.php newsletter-wpforms/edit.php
--- newsletter-wpforms.orig/edit.php 2020-06-09 10:23:33.269629335 +0200
+++ newsletter-wpforms/edit.php 2020-06-09 11:47:12.719762440 +0200
@@ -117,6 +117,42 @@
</td>
</tr>
+ <tr valign="top">
+ <th>Extra profile fields</th>
+ <td>
@gbeine
gbeine / pocket_exporter.py
Created May 4, 2020 19:42 — forked from jasonrdsouza/pocket_exporter.py
Export archived article data from Pocket
'''This script can be used to export data from Pocket (getpocket.com)
Uses include migrating to a different "read it later" service, saving
specific articles to another service, backing up your reading history,
and more.
Currently it can be used to export links and metadata for archived
articles with a given tag, which are more recent than a given timestamp.
An example use case is to export all articles you have tagged as
"to-export", which are newer than 10 days old. The timestamp functionality
@gbeine
gbeine / HTML.lua
Created April 14, 2020 09:42 — forked from 0bp/HTML.lua
MoneyMoney HTML Export mit Kategorie und Kommentar
-- The MIT License (MIT)
--
-- Copyright (c) 2014 Boris Penck
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-- copies of the Software, and to permit persons to whom the Software is
-- furnished to do so, subject to the following conditions:
#
# Automatically generated file; DO NOT EDIT.
# OpenWrt Configuration
#
CONFIG_MODULES=y
CONFIG_HAVE_DOT_CONFIG=y
# CONFIG_TARGET_ppc44x is not set
# CONFIG_TARGET_realview is not set
# CONFIG_TARGET_arm64 is not set
# CONFIG_TARGET_sunxi is not set
#!/bin/bash
# Prerequisites: http://wiki.openwrt.org/doc/howto/buildroot.exigence
# Additionally JDK is needed
generate_buildenv() {
# Prepare build enviroment
mkdir openwrt_build
cd openwrt_build
git clone --depth=1 git://git.openwrt.org/15.05/openwrt.git
@gbeine
gbeine / osx-for-hackers.sh
Created October 12, 2015 17:41 — forked from matthewmueller/osx-for-hackers.sh
OSX for Hackers (Mavericks/Yosemite)
# OSX for Hackers (Mavericks/Yosemite)
#
# Source: https://gist.github.com/brandonb927/3195465
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Ask for the administrator password upfront
@gbeine
gbeine / osx-for-hackers.sh
Created October 11, 2015 10:31 — forked from brandonb927/osx-for-hackers.sh
OSX for Hackers: Yosemite Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned. Also, please don't email me about this script, my poor inbox...
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'

Keybase proof

I hereby claim:

  • I am gbeine on github.
  • I am gerritbeine (https://keybase.io/gerritbeine) on keybase.
  • I have a public key whose fingerprint is 128C 78CC D4F9 8E3A 4EDB 6EB3 1822 AA6A 4A8F 9FDB

To claim this, I am signing this object: