Skip to content

Instantly share code, notes, and snippets.

View orospakr's full-sized avatar

Andrew Clunis orospakr

View GitHub Profile
[~]$ sudo yaourt -Syua
:: Synchronizing package databases...
xorg112 is up to date
core is up to date
extra is up to date
community is up to date
multilib is up to date
error: failed to prepare transaction (could not satisfy dependencies)
:: Starting full system upgrade...
:: catalyst-total-hd234k: requires linux<3.9
[~]$ sudo pacman -Syuu
:: Synchronizing package databases...
xorg112 is up to date
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
warning: dependency cycle detected:
Why wouldn't:
db.my_collection.find({"shinies": {$elemMatch : { value1 : { "kases": {$exists : true } } } } } )
match the following document?
{
"_id" : ObjectId("50f4908c75c10260ce8c47e9"),
"shinies" : [
{
[~]$ sudo pacman -Syuu nvidia
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
orospakr@orthanc:~/code/others/cyanogenmod/packages/apps/Contacts$ mm
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
[~]$ sudo btrfs inspect ino 429811 /
[sudo] password for orospakr:
//var/lib/weenis
//usr/share/doc/weenis
[~/code/others/libdispatch]$ ./configure [master]
checking whether to enable maintainer-specific portions of Makefiles... no
checking for clang... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
@orospakr
orospakr / gist:5079495
Created March 4, 2013 02:30
Updated PKGBUILD for c2hs 0.16.4 that depends on the haskell-language-c-03.
# custom variables
_hkgname=c2hs
_licensefile=COPYING
# PKGBUILD options/directives
pkgname=c2hs
pkgver=0.16.4
pkgrel=22
pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
url="http://www.cse.unsw.edu.au/~chak/haskell/c2hs/"
[~]$ sudo pacman -R nouveau-dri libgl
[sudo] password for orospakr:
[~]$
[~]$
[~]$
[~]$ sudo pacman -R nouveau-dri l
[~]$ sudo pacman -S nvidia
[sudo] password for orospakr:
resolving dependencies...
looking for inter-conflicts...
[~]$ sudo pacman -Sy nvidia
[sudo] password for orospakr:
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
resolving dependencies...
looking for inter-conflicts...
:: nvidia-utils and libgl are in conflict. Remove libgl? [y/N] y