Skip to content

Instantly share code, notes, and snippets.

View CestDiego's full-sized avatar

Berr CestDiego

  • NYC
  • 08:51 (UTC -05:00)
View GitHub Profile
@CestDiego
CestDiego / ITPCampICS.js
Last active June 9, 2023 01:36
ITP Camp Dashboard converter to ICS
// 🪄 Experimental: Use at your own risk ✨
// Paste this into the Chrome developer tools console while you are in your dashboard page in list view
// It will either open your calendar or download an ics file, it works on my computer :)
// Read the code, and suggest improvements thanks.
let sessionsLists = document.querySelectorAll('#currentSessionsList .sessionListItem')
//Does not support events that end in the morning
let getEventData = event =>{
@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>
;;; 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)
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({
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
preInstall = ''
echo $libint2
export LIBINT2_LIBRARY_DIRS="$libint2/include/libint2"
''
● 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
~|⇒ 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__'])