Skip to content

Instantly share code, notes, and snippets.

View CestDiego's full-sized avatar

Berr CestDiego

  • NYC
  • 01:25 (UTC -05:00)
View GitHub Profile
building Nix...
building the system configuration...
these derivations will be built:
/nix/store/glpb6y4jpk52cn4fhj2anyg332bz6019-slop-4.1.15.drv
/nix/store/3szpjm0bdxvmr17nb2ivp629lympsza1-system-path.drv
/nix/store/c785r67ydas5078dnwg7cd4vr7h27rwj-unit-polkit.service.drv
/nix/store/q12mgz7im1i0ffy1pghj5hk0mjrb5msr-system-crontab.drv
/nix/store/g2jx9ih5iw9adfkkwb4454hsyhk6aypd-unit-script.drv
/nix/store/hg1pr7g4wkl74r4vmjjd81daivjpynf1-unit-cron.service.drv
/nix/store/rddp9711gl248fdnqhkbzxjh5qfv1h5y-dbus-conf.drv
services.mopidy = {
enable = true;
extensionPackages = [ pkgs.mopidy-spotify pkgs.mopidy-mopify ];
configuration = ''
[local]
enabled = true
media_dir = /home/jarvis/Music
[spotify]
enabled = true
~|⇒ systemctl status mopidy ~
● mopidy.service - mopidy music player daemon
Loaded: loaded (/nix/store/rv3d8i55r53v634gpds6s9dpjjfjna80-unit-mopidy.service/mopidy.service)
Active: failed (Result: exit-code) since Wed 2015-07-22 13:50:55 CDT; 9min ago
Process: 777 ExecStart=/nix/store/0cahq5yxmnyans7isrzx0miq603fqmrk-mopidy-launcher/bin/mopidy --config /nix/store/mlli3n91x57n2vr9fcz27gnn4hx09v2n-mopidy.conf (code=exited, status=1/FAILURE)
Process: 770 ExecStartPre=/nix/store/s8m6kg3lk1b8mza79vafg2sgvssm3gqj-unit-script/bin/mopidy-pre-start (code=exited, status=0/SUCCESS)
Main PID: 777 (code=exited, status=1/FAILURE)
Jul 22 13:50:55 nixos mopidy[777]: File "/nix/store/ah32s672l1f4vra936cg0bd...ad
Jul 22 13:50:55 nixos mopidy[777]: ['__name__'])
● mopidy.service - mopidy music player daemon
Loaded: loaded (/nix/store/rv3d8i55r53v634gpds6s9dpjjfjna80-unit-mopidy.service/mopidy.service)
Active: failed (Result: exit-code) since Wed 2015-07-22 13:50:55 CDT; 10min ago
Process: 777 ExecStart=/nix/store/0cahq5yxmnyans7isrzx0miq603fqmrk-mopidy-launcher/bin/mopidy --config /nix/store/mlli3n91x57n2vr9fcz27gnn4hx09v2n-mopidy.conf (code=exited, status=1/FAILURE)
Process: 770 ExecStartPre=/nix/store/s8m6kg3lk1b8mza79vafg2sgvssm3gqj-unit-script/bin/mopidy-pre-start (code=exited, status=0/SUCCESS)
Main PID: 777 (code=exited, status=1/FAILURE)
Jul 22 13:50:55 nixos mopidy[777]: File "/nix/store/ah32s672l1f4vra936cg0bdhcw73frrp-python2.7-setuptools-7.0/lib/python2.7/site-packages/setuptools-7.0-py2.7.egg/pkg_resources.py", line 2184, in load
Jul 22 13:50:55 nixos mopidy[777]: ['__name__'])
Jul 22 13:50:55 nixos mopidy[777]: File "/nix/store/cw9ykpx0kfqbfkml2mzgrpxq15kl5fcb-python2.7-mopidy-mopify-1.5.4/lib/python2.7/site-packages/mopidy_mopify/__init__.py
● mopidy.service - mopidy music player daemon
Loaded: loaded (/nix/store/rv3d8i55r53v634gpds6s9dpjjfjna80-unit-mopidy.service/mopidy.service)
Active: failed (Result: exit-code) since Wed 2015-07-22 13:50:55 CDT; 10min ago
Process: 777 ExecStart=/nix/store/0cahq5yxmnyans7isrzx0miq603fqmrk-mopidy-launcher/bin/mopidy --config /nix/store/mlli3n91x57n2vr9fcz27gnn4hx09v2n-mopidy.conf (code=exited, status=1/FAILURE)
Process: 770 ExecStartPre=/nix/store/s8m6kg3lk1b8mza79vafg2sgvssm3gqj-unit-script/bin/mopidy-pre-start (code=exited, status=0/SUCCESS)
Main PID: 777 (code=exited, status=1/FAILURE)
Jul 22 13:50:55 nixos mopidy[777]: File "/nix/store/ah32s672l1f4vra936cg0bdhcw73frrp-python2.7-setuptools-7.0/lib/python2.7/site-packages/setuptools-7.0-py2.7.egg/pkg_resources.py", line 2184, in load
Jul 22 13:50:55 nixos mopidy[777]: ['__name__'])
Jul 22 13:50:55 nixos mopidy[777]: File "/nix/store/cw9ykpx0kfqbfkml2mzgrpxq15kl5fcb-python2.7-mopidy-mopify-1.5.4/lib/python2.7/site-packages/mopidy_mopify/__init__.py
preInstall = ''
echo $libint2
export LIBINT2_LIBRARY_DIRS="$libint2/include/libint2"
''
g++ -pthread -shared -lgcc_s build/temp.linux-x86_64-2.7/horton/gbasis/gbasis.o build
/temp.linux-x86_64-2.7/horton/gbasis/fns.o build/temp.linux-x86_64-2.7/horton/gbasis/
cartpure.o build/temp.linux-x86_64-2.7/horton/gbasis/iter_pow.o build/temp.linux-x86_
64-2.7/horton/gbasis/ints.o build/temp.linux-x86_64-2.7/horton/gbasis/common.o build/
temp.linux-x86_64-2.7/horton/gbasis/iter_gb.o build/temp.linux-x86_64-2.7/horton/gbas
is/cholesky.o build/temp.linux-x86_64-2.7/horton/gbasis/boys.o build/temp.linux-x86_6
4-2.7/horton/gbasis/gbw.o build/temp.linux-x86_64-2.7/horton/gbasis/calc.o build/temp
.linux-x86_64-2.7/horton/gbasis/cext.o build/temp.linux-x86_64-2.7/horton/moments.o -
L/nix/store/sx5n50a5bkc4dlfpjl0k7dn3zxiw2zl0-libint-2-0.3-stable/lib -L/nix/store/ss1
aq46xwhnqikq5bjs02sb9xrim2bb3-python-2.7.10/lib -llibint2 -latlas -lpython2.7 -o buil
const Promise = require('bluebird');
const request = require('request-promise');
const writeFile = Promise.promisify(require("fs").writeFile);
const ACCESS_TOKEN = "EAACEdEose0cBALbEdSecEYjBs0nEcqW2gKJLvpMOqRKWRLreYh1ROUSjHg8M6893BBljot9DmNRm3Vnue2lP7c0BjdRvFY0XRY0UzDc9gsw8RUpHngJBuRJTgZBohYRZAhvvTH3nxxIwyoZC6NWIDaqxkma7nuHx4BytwsOBAZDZD";
const BASE_URL = `https://graph.facebook.com/v2.8/me/feed?access_token=${ACCESS_TOKEN}&limit=300&until=1453664307`;
function getNextPromise(url) {
return request({
;;; gh-gist.el --- gist module for gh.el
;; Copyright (C) 2011 Yann Hodique
;; Author: Yann Hodique <yann.hodique@gmail.com>
;; Keywords:
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
@CestDiego
CestDiego / .ideavimrc
Last active October 8, 2021 20:35
Vim Config for IntelliJ
" Integrate with system clipboard
set clipboard=unnamedplus,unnamed
set surround
set showmode
set history=1000
inoremap jk <Esc>`^
inoremap <C-g> <Esc>`^
set timeout timeoutlen=1000 ttimeoutlen=100
nnoremap <leader><leader> :action GotoAction<cr>