I hereby claim:
- I am dahie on github.
- I am dahie (https://keybase.io/dahie) on keybase.
- I have a public key whose fingerprint is EF71 E12F 7FAD DEF2 FE53 F8DC BF61 C829 E1B0 44DD
To claim this, I am signing this object:
| # This is a script I wrote for automatic cleanup in immich. | |
| # Due to some faulty import, I had thousands of files I needed to clean and did not fast way except coding a small API-client. | |
| # | |
| # Change the URL, api-token and your search criteria | |
| # run: $ ruby clean-immich.rb | |
| require 'net/http' | |
| require 'json' | |
| class MetadataSearcher |
| # | |
| # This script reads your Gemfile and fetches the dependent gem's descriptions from Rubygems. | |
| # This helps me to quickly 'learn' a project, but looking up gems more easy. | |
| # | |
| # Usage: | |
| # - Download & place in project folder | |
| # - `gem install wombat` | |
| # - `ruby gemwhat.rb Gemfile` | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Title</title> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | |
| <style type="text/css"> | |
| @import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz); | |
| @import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic); | |
| @import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic); |
I hereby claim:
To claim this, I am signing this object:
| // When logged in, go to "Settings > Checkout > Checkout Language", click the "View and customize this translation" link. | |
| // A page with a url like this opens: "https://yourshop.myshopify.com/admin/settings/locales/[locale_id]". | |
| // copy [locale_id]. | |
| // Go Back and choose "create a new one". | |
| // Open the Javascript console, paste this (change to your shop/locale_id first): |
| # RVM bootstrap | |
| set :rvm_ruby_string, '1.9.2@redmine' | |
| require 'rvm/capistrano' | |
| set :domain, "bugs.ctdp.net" | |
| set :application, domain | |
| set :repository, "dahie@hydra.uberspace.de:ctdp-redmine.git" | |
| set :passenger_port, 3002 |
| oMethodError (undefined method `put_raw_object' for nil:NilClass): | |
| grit (2.3.0) lib/grit/git-ruby/repository.rb:112:in `put_raw_object' | |
| grit (2.3.0) lib/grit/git.rb:23:in `put_raw_object' | |
| grit (2.3.0) lib/grit/index.rb:160:in `write_blob' | |
| grit (2.3.0) lib/grit/index.rb:135:in `block in write_tree' | |
| grit (2.3.0) lib/grit/index.rb:132:in `each' | |
| grit (2.3.0) lib/grit/index.rb:132:in `write_tree' | |
| grit (2.3.0) lib/grit/index.rb:141:in `block in write_tree' | |
| grit (2.3.0) lib/grit/index.rb:132:in `each' | |
| grit (2.3.0) lib/grit/index.rb:132:in `write_tree' |
| Process: gource [49356] | |
| Path: /opt/local/bin/gource | |
| Identifier: gource | |
| Version: ??? (???) | |
| Code Type: X86-64 (Native) | |
| Parent Process: bash [49116] | |
| Date/Time: 2010-04-29 20:01:47.771 +0200 | |
| OS Version: Mac OS X 10.6.3 (10D573) | |
| Report Version: 6 |
| #PS1 which corresponds to the usual Mac OSX Terminal bash prompt, but works with git autocompletion: http://blog.ericgoodwin.com/2008/4/10/auto-completion-with-git | |
| export PS1='\h:\w$(__git_ps1 "(%s)") \u$ ' |
| <fileset id="lib.jars" dir="${lib}"> | |
| <include name="**/*.jar"/> | |
| </fileset> | |
| <target name="jar.include" depends="compile" if="include.do"> | |
| <echo message="Extracting and including library jars in main jar, onejar.use=${onejar.use}."/> | |
| <jar jarfile="${jarfile}" basedir="${bin}" manifest="${manifest}/main-MANIFEST.MF"> | |
| <!-- Merge library jars into final jar file --> | |
| <zipgroupfileset refid="lib.jars" /> | |
| </jar> |