Skip to content

Instantly share code, notes, and snippets.

@CestDiego
CestDiego / .ideavimrc
Last active Apr 3, 2017
Vim Config for IntelliJ
View .ideavimrc
" 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>
View gh-gist.el
;;; 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)
View scrapper.js
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({
View *temp*-282659.txt
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
View *temp*-769075.txt
preInstall = ''
echo $libint2
export LIBINT2_LIBRARY_DIRS="$libint2/include/libint2"
''
View *temp*.txt
● 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
View *temp*.txt
● 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
View *temp*.txt
~|⇒ 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__'])
View *temp*.txt
services.mopidy = {
enable = true;
extensionPackages = [ pkgs.mopidy-spotify pkgs.mopidy-mopify ];
configuration = ''
[local]
enabled = true
media_dir = /home/jarvis/Music
[spotify]
enabled = true
You can’t perform that action at this time.