Skip to content

Instantly share code, notes, and snippets.

View musinsky's full-sized avatar

Jan Musinsky musinsky

  • SAS Kosice
  • Slovakia
View GitHub Profile
@musinsky
musinsky / bin-cue-rename.ps1
Last active February 6, 2024 23:09
PowerShell bin cue rename
# 2022-05-31
<#
PS> Get-ExecutionPolicy # PowerShell 5.1 (default in Win10)
Restricted
PS> Set-ExecutionPolicy Unrestricted -Force # as admin
PS> Get-ExecutionPolicy # PowerShell 7.2.3 (installed in Win10)
RemoteSigned
#>
@musinsky
musinsky / GHCND_data.tar.xz
Last active November 4, 2015 13:30
weather GHCND
@musinsky
musinsky / README.md
Last active November 21, 2016 04:19
ROOT Tips Tricks

ROOT Tips Tricks

@musinsky
musinsky / TH1_AddBinContent.cxx
Last active December 20, 2015 18:09
Simplified basic functions of ROOT TH1 class
void TH1D::AddBinContent(Int_t bin) {
// AbstractMethod, overridden by TH1D (TH1.h)
++fArray[bin];
}
@musinsky
musinsky / TH1_PrintWiki.cxx
Last active December 20, 2015 17:19
PrintWiki function for ROOT TH1 class
void TH1::PrintWiki(Option_t * /*option*/) const
{
if (fDimension > 1) {
Info("PrintWiki", "only for 1D histo");
return;
}
Int_t binx;
Int_t firstx = 0, lastx = fXaxis.GetNbins()+1;
Double_t x, bc, be, bsw2;
@musinsky
musinsky / gnome-shell.css
Last active May 7, 2024 10:09
GNOME 3 files
@import url("/usr/share/gnome-shell/theme/gnome-shell.css");
/* customizing GNOME Shell for desktop interface
with fonts size 9pt (instead default 11pt size) */
/* Text Styles */
/* default text style */
stage {
font-size: 9pt; /* 11pt */
}