Skip to content

Instantly share code, notes, and snippets.

@src256
src256 / progress.10s.sh
Created April 27, 2018 13:23 — forked from aurorabbit/progress.10s.sh
Bitbar timely progress bar
#!/bin/sh
# add this to your bitbar directory
# don't forget to chmod +x
# width and characters for the progress bars
# feel free to configure these
width=30
fill_char="█"
empty_char="▁"
@src256
src256 / install-patched-ruby-1.8.7-p375.sh
Last active November 21, 2015 08:28 — forked from hyoshida/install-patched-ruby-1.8.7-p375.sh
path for ruby-build error
--- ext/openssl/ossl_pkey_ec.c 2010-06-21 04:18:59.000000000 -0500
+++ ext/openssl/ossl_pkey_ec.c 2013-12-10 13:30:18.919963527 -0600
@@ -757,8 +757,10 @@
method = EC_GFp_mont_method();
} else if (id == s_GFp_nist) {
method = EC_GFp_nist_method();
+ #if !defined(OPENSSL_NO_EC2M)
} else if (id == s_GF2m_simple) {
method = EC_GF2m_simple_method();
+ #endif