Installation (packaging) is the main point of this tiny package. I wanted to use a tiny project to serve as an example of how to install directly from github (a gist!) to Arch Linux. Normally a package would go through an approval process to be put into AUR, but until your package is mature enough for that this is a clean and simple way to go.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- ruby-1.8.7-p374/ext/openssl/ossl_pkey_ec.c 2010-06-21 05:18:59.000000000 -0400 | |
+++ ruby-1.8.7-p374/ext/openssl/ossl_pkey_ec.c.new 2014-02-09 19:21:24.635060547 -0500 | |
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sed -f | |
# Convert GTasks semi-automatically into a weekly or monthly status | |
# report. This happens to convert into TiddlyWiki format, but it should | |
# be no harder to do markdown, moin, or mediawiki. This script is more | |
# about the idea, and some fun showing off how to invoke ‘sed’ from | |
# shebang, and using ‘xsel’. Tweak as you see fit! | |
# | |
# Why bother? Can’t be sure how long your completed tasks will be | |
# available, so it’s nice to keep a record of your own. Maybe your boss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# A personal indentation config for C files, using ‘indent’. | |
# | |
# Every project should agree on and share one of these! | |
# | |
# Install ‘indent’: apt-get install indent | |
# See ‘indent(1)’ for the other 100 options to consider. | |
# | |
# Backups are funny. Using an explicit file here, since most careful |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Find big dirs, minimally deep. | |
# Running in near-silent mode in case want to pipe output. | |
# | |
# Author: Micah Elliott <mde MicahElliott com> | |
#dt=$(date "+%Y%m%d") | |
#log="bigdirs.$dt.log" | |
log="$PWD/bigdirs.log" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
""" Use gmaps to parse and calculate distance between two points. | |
""" | |
__author__ = 'Micah Elliott http://MicahElliott.com' | |
__version__ = '0.1' | |
### ------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
""" Lay out a linearly paged book for bound printing. | |
Described in this post: | |
http://micahelliott.com/2008/12/from-e-book-to-real-book/ | |
Additions to post: | |
* Firefox does not support the layout, so need to generate PDF. | |
* Dad laughs at my process. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Vim “Adobe” colorscheme | |
" | |
" Maintainer: Micah Elliott <mde AT MicahElliott DOT com> | |
" Version: 0.3 | |
" Info: Adobe theme, easy on eyes. | |
" | |
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Philosophy: See my blog article: | |
" http://micahelliott.com/2008/12/editor-color-scheme-philosophy | |
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
""" youtube2mp3 - Download and Convert youtube "favorite" videos to MP3. | |
Determine "favorited" vids, download them as FLVs, extract/ save its | |
MP3, meanwhile fixing up file names. | |
Assumes most (or all) of the things you "favorite" on Youtube are some | |
sort of musical recording. I've found a lot of old jazz tunes on Youtube | |
that I can't otherwise find recordings for. Down side is that the |
OlderNewer