Skip to content

Instantly share code, notes, and snippets.

@leoc
leoc / Xorg.0.all_displays.log
Created November 1, 2011 11:24
Errors running two UGA-2K-A´s with Archlinux
[ 3901.459]
X.Org X Server 1.11.1
Release Date: 2011-09-24
[ 3901.460] X Protocol Version 11, Revision 0
[ 3901.460] Build Operating System: Linux 3.0-ARCH x86_64
[ 3901.461] Current Operating System: Linux caffeine 3.0-ARCH #1 SMP PREEMPT Fri Oct 7 11:35:34 CEST 2011 x86_64
[ 3901.461] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/sda3 ro nomodeset reboot=pci
[ 3901.461] Build Date: 10 October 2011 08:55:30AM
[ 3901.462]
@leoc
leoc / Xorg.0.log
Created November 1, 2011 16:02
Last Xorg config
[ 775.385]
X.Org X Server 1.11.1
Release Date: 2011-09-24
[ 775.386] X Protocol Version 11, Revision 0
[ 775.387] Build Operating System: Linux 3.0-ARCH x86_64
[ 775.387] Current Operating System: Linux caffeine 3.0-ARCH #1 SMP PREEMPT Fri Oct 7 11:35:34 CEST 2011 x86_64
[ 775.387] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/sda3 ro nomodeset reboot=pci
[ 775.388] Build Date: 10 October 2011 08:55:30AM
[ 775.388]
[ 775.388] Current version of pixman: 0.22.2
<pre class="src src-sh">
git checkout master&#57344;&#57345;&#57345;
git cherry-pick sha&#57344;&#57345;&#57345;
</pre>
# ledger -f test.ledger budget
While evaluating value expression:
ansify_if(justify((get_at(display_total, 1) ? (((100% * scrub(get_at(display_total, 0))) / (- scrub(get_at(display_total, 1)))) : 0)), 5, -1, true, false), (((color & get_at(display_total, 1)) & (abs((quantity(scrub(get_at(display_total, 0))) / quantity(scrub(get_at(display_total, 1))))) >= 1)) ? (magenta : null)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
While converting -68.20EUR
50.00USD to an amount:
While calling function 'quantity -68.20EUR
50.00USD':
While calling function 'abs <#EXPR (quantity(scrub(get_at(display_total, {0}))) / quantity(scrub(get_at(display_total, {1}))))>':
$ cabal install ./hledger-lib ./hledger
Resolving dependencies...
Downloading HUnit-1.2.5.2...
Configuring HUnit-1.2.5.2...
Building HUnit-1.2.5.2...
Preprocessing library HUnit-1.2.5.2...
[1 of 5] Compiling Test.HUnit.Terminal ( Test/HUnit/Terminal.hs, dist/build/Test/HUnit/Terminal.o )
[2 of 5] Compiling Test.HUnit.Lang ( Test/HUnit/Lang.hs, dist/build/Test/HUnit/Lang.o )
[3 of 5] Compiling Test.HUnit.Base ( Test/HUnit/Base.hs, dist/build/Test/HUnit/Base.o )
@leoc
leoc / shell output
Created August 28, 2014 10:24
Error when running beaker specs for puppet-puma
$ rake acceptance
/home/arthur/.rvm/rubies/ruby-2.1.1/bin/ruby -S rspec spec/acceptance
Hypervisor for debian-7-4 is docker
Beaker::Hypervisor, found some docker boxes to create
Provisioning docker
provisioning debian-7-4
Creating image
Dockerfile is FROM debian:7.4
RUN apt-get update
RUN apt-get install -y openssh-server openssh-client curl ntpdate lsb-release

Keybase proof

I hereby claim:

  • I am leoc on github.
  • I am leocgit (https://keybase.io/leocgit) on keybase.
  • I have a public key whose fingerprint is B229 6F8B 478B 352A F774 EE9E 4D9E 58A5 F8F1 DD52

To claim this, I am signing this object:

/*! jQuery v3.3.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseXML,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-event/ajax,-effects,-effects/Tween,-effects/animatedSelector | (c) JS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,i=Object.getPrototypeOf,o=n.slice,a=n.concat,u=n.push,s=n.indexOf,l={},c=l.toString,f=l.hasOwnProperty,d=f.toString,p=d.call(Object),h={},g=function e(t){return"function"==typeof t&&"number"!=typeof t.nodeType},v=function e(t){return null!=t&&t===t.window},y={type:!0,src:!0,noModule:!0};function m(e,t,n){var i,o=(t=t||r).createElement("script");if(o.text=e,n)for(i in y)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode
require 'bundler/inline'
def binary_found?(name)
`which #{name}`
$?.success?
end
def check_binary(name)
return if binary_found?(name)
puts "Missing binary: #{name}"