Skip to content

Instantly share code, notes, and snippets.

View oshadura's full-sized avatar
:octocat:

Oksana Shadura oshadura

:octocat:
  • CERN
  • Geneva
View GitHub Profile
@vgvassilev
vgvassilev / cmssw_cheatsheet.md
Last active September 17, 2020 06:36
CMSSW Cheatsheet

Building ROOT in the context of CMSSW

wget https://raw.githubusercontent.com/cms-sw/cms-bot/master/config.map
eval `grep CMSSW_11_0_ROOT6_X config.map | grep -v DISABLED`
PKGTOOLS_TAG=V00-32-XX
CMSDIST_TAG=IB/CMSSW_11_0_X/gcc700
ARCH=slc7_amd64_gcc820
git clone -b $CMSDIST_TAG https://github.com/cms-sw/cmsdist
git clone -b $PKGTOOLS_TAG https://github.com/cms-sw/pkgtools
@rosghub
rosghub / dotfiles
Created May 20, 2017 01:12
Manjaro i3 Hi-DPI config
#
# Configuration files for Manjaro i3 on Lenovo Yoga 2 pro
# to scale properly on HiDPI (3200x1800)
#
#####################################################
~/.profile #
#####################################################
# UI element scaling, icons
export GDK_SCALE=2
@CMCDragonkai
CMCDragonkai / memory_layout.md
Last active June 24, 2025 19:56
Linux: Understanding the Memory Layout of Linux Executables

Understanding the Memory Layout of Linux Executables

Required tools for playing around with memory:

  • hexdump
  • objdump
  • readelf
  • xxd
  • gcore
@RichardBronosky
RichardBronosky / pep8_cheatsheet.py
Created December 27, 2015 06:25
PEP-8 cheatsheet
#! /usr/bin/env python
# -*- coding: utf-8 -*-
"""This module's docstring summary line.
This is a multi-line docstring. Paragraphs are separated with blank lines.
Lines conform to 79-column limit.
Module and packages names should be short, lower_case_with_underscores.
Notice that this in not PEP8-cheatsheet.py