Skip to content

Instantly share code, notes, and snippets.

$ git diff| cat
diff --git a/module/icp/algs/sha2/sha256_impl.c b/module/icp/algs/sha2/sha256_impl.c
index 01ce5cbd8..f59df7f1a 100644
--- a/module/icp/algs/sha2/sha256_impl.c
+++ b/module/icp/algs/sha2/sha256_impl.c
@@ -129,12 +129,12 @@ static boolean_t sha256_have_armv8ce(void)
return (kfpu_allowed() && zfs_sha256_available());
}
-extern void zfs_sha256_block_armv7(uint32_t s[8], const void *, size_t);
@kaazoo
kaazoo / run_openconnect.scpt
Created January 16, 2018 16:28
run_openconnect.scpt
set myfile to (POSIX file "/Users/MY_ACCOUNT/.vpn_pin")
open for access myfile
set vpn_pin to (read myfile)
close access myfile
set vpn_pin to text 1 thru -2 of vpn_pin
set vpn_token to text returned of (display dialog "Token:" default answer "")
tell application "Terminal"
do script "echo " & vpn_pin & vpn_token & " | sudo openconnect -v --authgroup MY_PROFILE -u MY_ACCOUNT --passwd-on-stdin MY_ENDPOINT"
end tell
@kaazoo
kaazoo / rssh-2.3.4_zfs_support.patch
Last active February 10, 2022 00:53
rssh-2.3.4_zfs_support.patch
diff --git a/configure b/configure
index b28f969..d96a6a7 100755
--- a/configure
+++ b/configure
@@ -311,7 +311,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S CPP EGREP LIBOBJS scp_path sftp_path cvs_path rdist_path rsync_path static defcflags CHROOT_HELPER LTLIBOBJ