Skip to content

Instantly share code, notes, and snippets.

View dkowis's full-sized avatar
☢️

David Kowis dkowis

☢️
View GitHub Profile
@dkowis
dkowis / gradlew.fish
Last active June 25, 2018 16:35
gradlew search function for fish shell
function gradlew
set _dir (pwd)
set _lastdir
# need to break when we reach root, or some other known parent.
# Don't skip the first time through.
while test -z $_lastdir; or test (realpath $_dir) != (realpath $_lastdir)
set _cmd "$_dir/gradlew"
if test -e "$_cmd"
eval "$_cmd" "$argv"
@dkowis
dkowis / Fedora-15-ruby-1.8.7-p352.patch
Created July 14, 2011 19:01
Fedora 15 ruby-1.8.7 patch
--- ext/dl/depend 2007-02-12 17:01:19.000000000 -0600
+++ ext/dl/depend.fixed 2011-07-14 13:56:15.374355631 -0500
@@ -32,15 +32,15 @@
call.func: $(srcdir)/mkcall.rb ./dlconfig.rb
@echo "Generating call.func"
- @$(RUBY) $(srcdir)/mkcall.rb > $@
+ @$(RUBY) $(srcdir)/mkcall.rb | tee $@
callback.func: $(srcdir)/mkcallback.rb ./dlconfig.rb