Skip to content

Instantly share code, notes, and snippets.

View rdbisme's full-sized avatar

Ruben Di Battista rdbisme

View GitHub Profile
@rdbisme
rdbisme / YcmdDebugInfo
Created May 19, 2020 17:15
YCMD Troubleshooting
Printing YouCompleteMe debug information...
-- Completion API: 1
-- Client logfile: /tmp/ycm_79_uiyv_.log
-- Server Python interpreter: /opt/software/spack/linux-ubuntu18.04-skylake_avx512/gcc-7.3.0/python-3.6.8-pqc2t2er2z4hu4ps7ohwxptkozhwiy55/bin/python
-- Server Python version: 3.6.8
-- Server has Clang support compiled in: False
-- Clang version: None
-- No extra configuration file found
-- Python completer debug information:
-- Python interpreter: /opt/software/spack/linux-ubuntu18.04-skylake_avx512/gcc-7.3.0/python-3.6.8-pqc2t2er2z4hu4ps7ohwxptkozhwiy55/bin/python
@rdbisme
rdbisme / easybuild_test_report_easyconfigs_pr5902_20183526-UTC-14-35-46.md
Created February 26, 2018 14:35
EasyBuild test report for easyconfigs PR #5902

Test report for easybuilders/easybuild-easyconfigs#5902

Test result

Build succeeded for 0 out of 0 (1 easyconfigs in this PR)

Overview of tested easyconfigs (in order)

Time info

  • start: Mon, 26 Feb 2018 14:35:42 +0000 (UTC)
  • end: Mon, 26 Feb 2018 14:35:46 +0000 (UTC)
@rdbisme
rdbisme / easybuild_test_report_easyconfigs_pr5902_20183226-UTC-14-32-41.md
Created February 26, 2018 14:32
EasyBuild test report for easyconfigs PR #5902

Test report for easybuilders/easybuild-easyconfigs#5902

Test result

Build succeeded for 0 out of 0 (1 easyconfigs in this PR)

Overview of tested easyconfigs (in order)

Time info

  • start: Mon, 26 Feb 2018 14:32:37 +0000 (UTC)
  • end: Mon, 26 Feb 2018 14:32:41 +0000 (UTC)
@rdbisme
rdbisme / easybuild_test_report_easyconfigs_pr5902_20183026-UTC-14-30-01.md
Created February 26, 2018 14:30
EasyBuild test report for easyconfigs PR #5902

Test report for easybuilders/easybuild-easyconfigs#5902

Test result

Build succeeded for 0 out of 0 (1 easyconfigs in this PR)

Overview of tested easyconfigs (in order)

Time info

  • start: Mon, 26 Feb 2018 14:29:57 +0000 (UTC)
  • end: Mon, 26 Feb 2018 14:30:01 +0000 (UTC)

Test result

Build succeeded for 0 out of 0 (1 easyconfigs in this PR)

Overview of tested easyconfigs (in order)

Time info

  • start: Mon, 26 Feb 2018 12:58:32 +0000 (UTC)
  • end: Mon, 26 Feb 2018 12:58:34 +0000 (UTC)

EasyBuild info

@rdbisme
rdbisme / easybuild_test_report_easyconfigs_pr5902_20182023-UTC-13-20-53.md
Created February 23, 2018 13:20
EasyBuild test report for easyconfigs PR #5902

Test report for easybuilders/easybuild-easyconfigs#5902

Test result

Build succeeded for 1 out of 1 (1 easyconfigs in this PR)

Overview of tested easyconfigs (in order)

  • SUCCESS Doxygen-1.8.14-GCC-7.2.0-2.29.eb

Time info

  • start: Fri, 23 Feb 2018 13:19:32 +0000 (UTC)
@rdbisme
rdbisme / install_bmcage_odes.sh
Last active September 6, 2019 10:57
Install python wrapper for SUNDIALS on Ubuntu
# This script compiles SUNDIALS and install the python wrapper bmcage.odes
# You can also run it directly from the Internet doing
# curl -s https://gist.githubusercontent.com/rubendibattista/468979a4ef509394c70c8286bf9d8e4e/raw/install_bmcage_odes.sh | sudo bash
apt-get update
apt-get upgrade
apt-get install --assume-yes wget python python-dev cmake liblapack-* python-virtualenv virtualenvwrapper
wget https://computation.llnl.gov/projects/sundials/download/sundials-2.7.0.tar.gz
@rdbisme
rdbisme / main.py
Last active December 14, 2017 15:04
R2A Landing Velocity Estimation
"""
`pip install numpy scipy matplotlib`
`pip install -e git+https://github.com/AeroPython/scikit-aero#egg=scikit-aero`
Author: @rubendibattista
"""
# import matplotlib
# matplotlib.use('QT5Agg') # Needed for OSX with virtualenv
import matplotlib.pyplot as plt
@rdbisme
rdbisme / compute_shadow.py
Last active January 3, 2020 20:54
A script that demonstrate how to compute the shadow of a 3D object
#!/usr/bin/env python
"""
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2017 Ruben Di Battista <rubendibattista@gmail.com>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
@rdbisme
rdbisme / install_pacaur.sh
Last active October 1, 2016 15:48
A simple shell script to quickly / easily install "pacaur" on archlinux (enhanced)
#!/bin/sh
# If you are new to arch, I encourage you to at least read and understand what
# this script does befor blindley running it.
# That's why I didn't make a one-liner out of it so you have an easier time
# reading and understanding it :)
#
# This scripts purpose is purly to save you a few seconds on your new installation.
#
# Enjoy your time on an awesome system. Arch FTW!