Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am blue-dog-archolite on github.
  • I am thiefofalways (https://keybase.io/thiefofalways) on keybase.
  • I have a public key ASAJ923fSwy6RpZNu95JRtpBXl6MfcEUMQ9FqhonFWRvdQo

To claim this, I am signing this object:

@Blue-Dog-Archolite
Blue-Dog-Archolite / upgrade.sh
Created April 27, 2016 22:39
Upgrade PG 9.5
#/usr/bin bash
sources =
[
{
value: "text"
name: "Text"
},
{
value: "date_range"
name: "Date"
},
@Blue-Dog-Archolite
Blue-Dog-Archolite / sudo fail.sh
Created December 20, 2012 15:34
And I have failed...
thief:~/tools/growl-for-linux ruby-1.9.3-p194::(fix_gmodule) $ su
Password:
bash: /root/.rvm/bin/rvm-prompt: No such file or directory
bash: parse_git_branch: command not found...
bash: parse_svn_branch: command not found...
./autthief:/home/thief/tools/growl-for-linux :: $ ./auto
autogen.sh autom4te.cache/
thief:/home/thief/tools/growl-for-linux :: $ ./autogen.sh
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./config.guess'
@Blue-Dog-Archolite
Blue-Dog-Archolite / Round 2.sh
Created December 19, 2012 15:29
Attempt with fix gmodule branch
thief:~/tools/growl-for-linux ruby-1.9.3-p194::(fix_gmodule) $ ./autogen.sh
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./config.guess'
libtoolize: copying file `./config.sub'
libtoolize: copying file `./install-sh'
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
@Blue-Dog-Archolite
Blue-Dog-Archolite / failedbuild.sh
Created December 18, 2012 16:52
Failed Build of growl-for-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
module ActiveResource::Base
def self.scoped(args)
return self
end
def self.where(args)
return self.all
end
end
@Blue-Dog-Archolite
Blue-Dog-Archolite / nil_setting.rb
Created October 12, 2011 19:49
Not smart enough to understand
def rapid_reply(opts = {})
require_per_hour = opts[:require_per_hour] ||= true
force_reconstruction = opts[:force_reconstruction] ||= false
opts[:commit] ||= true #always sets the value of opts[:commit] to true regardless if passed in.
opts[:commit] = true if opts[:commit].nil? #this line works as expected
end
#when calling
rapid_reply(:commit => false)