Skip to content

Instantly share code, notes, and snippets.

View ansantam's full-sized avatar

Andrea Santamaria Garcia ansantam

View GitHub Profile

Matplotlib

How to find matplotlibrc

import matplotlib
print(matplotlib.matplotlib_fname())

PyTimber

Java version

In order to extract data from the accelerator, first log in to your AFS account:

ssh -Y user@lxplus.cern.ch

From AFS, log into the remote machine where the data is stored:

ssh -Y cs-ccr-dev1
@ansantam
ansantam / cheatsheet.md
Last active February 5, 2020 13:07
Cheatsheet

Bash

Checkout a specific version

svn co <url> -r version

Redirect all the verbose to the /dev/null file.

The null device discards all data written to it but reports that the write operation has succeeded. Typically used for disposing of unwanted output streams of a process:

A Concise Introduction to FORTRAN

Character Set

The FORTRAN character set consists of 26 uppercase and 26 lowercase letters (alphabetic characters), the numbers 0 through 9 (digits), and special characters.

Letters

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

a b c d e f g h i j k l m n o p q r s t u v w x y z

@ansantam
ansantam / Ubuntu_at_CERN.md
Last active February 15, 2023 08:10
How to setup your Ubuntu @CERN

CERN Hacks

This Gist is a guide on how to setup your computer at CERN with Ubuntu 14.04 LTS. Last tested by myself on a brand new computer on 18/11/2014, proof tested by @Alea88.

NOTE (26-02-2015)

With the kernel upgrade from 3.13.0-45-generic to 3.13.0-46-generic AFS stops working: https://bugs.launchpad.net/ubuntu/+source/openafs/+bug/1423151

Type this to check your kernel version: